-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
85 lines (85 loc) · 1.51 KB
/
styles.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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
:root {
--themecolor: black;
--themeinvert: white;
--coloncolor: red;
--neon: rgb(255, 0, 0, 0.75);
}
@keyframes blink {
0% {
filter: opacity(1);
}
100% {
filter: opacity(0);
}
}
body {
background-color: var(--themecolor);
width: 100%;
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
}
.container {
width: 100vw;
height: 65vh;
display: flex;
align-items: center;
justify-content: center;
}
.main-time {
display: flex;
width: 90%;
}
.main-time svg {
height: 35vw;
margin: 5px;
filter: drop-shadow(0 0 1vw var(--neon));
}
.colon {
font-family: Georgia;
font-size: 27.5vw;
vertical-align: middle;
color: var(--coloncolor);
text-shadow: 0 0 2vw var(--neon);
animation: blink 1s both infinite ease-in;
}
.main-time svg g polygon {
stroke: var(--coloncolor);
stroke-width: 0.1px;
}
@media (min-width: 1200px) {
.container {
width: 100vw;
height: 65vh;
display: flex;
align-items: center;
justify-content: center;
}
.main-time {
display: flex;
width: 57.5%;
}
.main-time svg {
height: 20vw;
margin: 5px;
filter: drop-shadow(0 0 0.5vw var(--neon));
}
.colon {
font-family: Georgia;
font-size: 17vw;
vertical-align: middle;
color: var(--coloncolor);
text-shadow: 0 0 8px var(--neon);
animation: blink 1s both infinite ease-in;
}
.main-time svg g polygon {
stroke: var(--coloncolor);
stroke-width: 0.1px;
}
}