-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
101 lines (91 loc) · 1.71 KB
/
style.css
File metadata and controls
101 lines (91 loc) · 1.71 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
body {
padding-top: 30px;
background-color: #111;
color: #fff;
font-family: -apple-system, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell,
Fira Sans, Droid Sans, Helvetica Neue, sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
button {
background-color: #4d4d4d;
border: none;
color: white;
padding: 0.5rem 1rem;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 12px;
}
.wrapper {
text-align: center;
}
.wapper > p {
line-height: 10px;
}
.box {
display: flex;
margin: 2rem auto;
border: 5px solid #2d2d2d;
border-radius: 10px;
width: fit-content;
-ms-user-select: none;
-moz-user-select: -moz-none;
-khtml-user-select: none;
-webkit-user-select: none;
user-select: none;
}
.column-wrapper {
display: flex;
}
.column {
padding: 15px;
}
.column > led {
margin: 25px 0 25px 0;
}
.column > led:first-child {
margin: 0 0 25px 0;
}
.column > led:last-child {
margin: 25px 0 0 0;
}
led {
display: block;
background-color: #fff;
height: 5rem;
width: 5rem;
border-radius: 15%;
margin: auto;
}
led > span {
font-weight: 600;
font-size: 1.5em;
line-height: 5rem;
color: red;
}
led.off > span {
display: none;
}
led.low-beam {
box-shadow: 0 0 5px #fff, 0 0 10px red, 0 0 15px red, 0 0 20px red,
0 0 35px red, 0 0 40px red;
animation: neon 0.78s ease;
}
led.off {
background-color: grey;
box-shadow: none;
}
@keyframes neon {
from {
box-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #fff, 0 0 40px red,
0 0 70px red, 0 0 80px red, 0 0 100px red, 0 0 150px red, 0 0 200px red;
}
to {
background-color: #fff;
}
}
#clock-time {
font-weight: 600;
font-size: 3em;
}