forked from fac21/byteSizedIT-timer
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
124 lines (106 loc) · 1.7 KB
/
style.css
File metadata and controls
124 lines (106 loc) · 1.7 KB
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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
* {
margin: 0;
padding: 0;
}
html {
font-size: 3.5vmin;
}
body {
text-align: center;
}
#verticalCentre {
height: 90vh;
vertical-align: centre;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
header {
margin-top: 3rem;
margin-bottom: 3rem;
}
#title {
font-size: 3rem;
}
.pom {
position: relative;
top: 1.2rem;
width: 3rem;
}
@media (orientation:landscape) {
.slider{
width: 50vw;
}
}
@media (orientation:portrait) {
.slider{
width: 75vw;
}
}
.slider {
-webkit-appearance: none;
height: 1rem;
margin-top: 1rem;
background: #d3d3d3;
outline: none;
opacity: 0.7;
-webkit-transition: .2s;
transition: opacity .2s;
}
.slider:hover {
opacity: 1;
}
.slider::-webkit-slider-thumb {
-webkit-appearance: none;
appearance: none;
width: 1.25rem;
height: 1.25rem;
background: #4CAF50;
cursor: pointer;
}
.slider::-moz-range-thumb {
width: 1.25rem;
height: 1.25rem;
background: #4CAF50;
cursor: pointer;
}
.clock {
position: relative;
top: 1.75vh;
width: 5vh;
animation: ringing 0.5s infinite;
animation-direction: alternate-reverse;
}
@keyframes ringing {
0% { transform: rotate(0);}
33% { transform: rotate(30);}
66% { transform: rotate(0);}
100% { transform: rotate(-30);}
}
#countdown {
font-size: 6vmin;
margin-top: 2rem;
margin-bottom: 2rem;
}
button {
font-size: 0.6rem;
font-weight: bold;
height: 1.25rem;
width: 2.5rem;
background-color: #d3d3d3;
border: none;
border-radius: 5px;
cursor: pointer;
outline: none;
}
#credits {
font-size: 0.5rem;
position: fixed;
position: -webkit- fixed;
right: 5px;
bottom: 5px;
}
cite {
font-style: normal;
}