-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.css
93 lines (90 loc) · 2.14 KB
/
index.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
@import url('https://fonts.googleapis.com/css2?family=PT+Sans+Narrow');
.button {
color: grey;
width:80%;
max-width:450px;
min-height:20vh;
min-width: 130px;
margin-bottom: 5vh;
font-size: 36px;
font-family:serif;
text-align:center;
border-radius: 50px;
border: 10px outset black;
cursor: pointer;
}
.button:hover {color: yellow;}
.button:active {
border-style: inset;
}
body {
background: black;
color: grey;
text-align: center;
}
#calendar {
display: flex;
justify-content: center;
margin:auto;
font-family: 'PT Sans Narrow',sans-serif;
width: 100%;
overflow: scroll-y;
}
#calendar>span {border: 1px solid; min-width:60px;}
#calendar .diff {font-size: 200%;}
.good {background-color: green;color:black;}
.ok {background-color: goldenrod;color:black;}
.bad {background-color: red;color:black}
#buttons:empty::before {content: "Requires javascript";}
.buttonframe#sleep>.button {background: #004; font-weight: bold;}
.buttonframe#wake>.button {background: #400; font-weight: bold;}
.time {font-weight: normal;}
.time.yesterday:not(:empty)::before {
content: "↜";
}
.buttonframe{
display: flex;
align-content: center;
justify-content: center;
}
.side {
display:flex;
flex-direction:row;
padding-top:20px;
position:relative;
}
.side input {
position:absolute;
bottom:0px;
}
.sidebtn {
width:60px;
height: 60px;
border: 5px black solid;
}
.sidebtn:hover {border-style:outset;border-color:grey;}
.sidebtn:active {border-style:inset;border-color:grey;}
#calendar .sleep, #calendar .wake {
height: 21px;
cursor: pointer;
}
#calendar .sleep:empty::before,
#calendar .wake:empty::before {content:"--:--";}
#refresh {background-color: black;
color: grey;
font-size:80%;
border: 3px grey outset;
padding: 0px 15px;
margin: 5px 10px;
cursor: pointer;
border-radius: 10px;
}
#refresh:hover {
border: #ddd;
}
#refresh:active {
color: black;
background-color: grey;
}
h1 {color: black;
background: linear-gradient(to right,black,#888,black);}