-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
67 lines (57 loc) · 1.07 KB
/
style.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
/* Google Fonts - Pixelify Sans */
@import url("https://fonts.googleapis.com/css2?family=Nova+Mono&display=swap");
* {
box-sizing: border-box;
padding: 0;
margin: 0;
}
body {
color: #32fbe2;
background-image: linear-gradient(
#17082e 0%,
#1a0933 7%,
#1a0933 80%,
#0c1f4c 100%
);
background-size: 100% 100%;
background-attachment: fixed;
overflow: hidden;
}
#clockUI {
font-family: "Nova Mono", monospace;
text-align: center;
line-height: 1;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
z-index: 1;
}
#hourDisp {
font-size: calc(5vw + 10vh);
}
#meridiemDisp {
font-size: calc(1.25vw + 2.5vh);
}
#minAndSecDisp {
font-size: calc(2.5vw + 5vh);
}
#msDisp {
font-size: calc(1.25vw + 2.5vh);
}
#sunAndMoonDisp {
width: calc(10vw + 20vh);
height: calc(10vw + 20vh);
border-radius: 100%;
position: absolute;
left: 50%;
transform: translateX(-50%);
}
.sun {
background-color: #ff0;
box-shadow: 0 0 100px 50px #ff0;
}
.moon {
background-color: #909090;
box-shadow: 0 0 100px 50px #909090;
}