-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.css
90 lines (67 loc) · 1.3 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
:root {
--clock-color: #cab5ff;
--clock-shadow-color: #252143;
--clock-font: "Playball";
}
@font-face {
font-family: "Borel";
src: url("./fonts/Borel-Regular.ttf");
}
@font-face {
font-family: "Merienda";
src: url("./fonts/Merienda-VariableFont_wght.ttf");
}
@font-face {
font-family: "Niconne";
src: url("./fonts/Niconne-Regular.ttf");
}
@font-face {
font-family: "Playball";
src: url("./fonts/Playball-Regular.ttf");
}
body {
/* background-image: url("./venti.jpg"); */
/* background-size: cover; */
margin: 0;
display: flex;
overflow: hidden;
}
#bgVideo {
position: absolute;
height: 100%;
margin-left: -6%;
z-index: 1;
}
#clock {
margin-left: auto;
margin-right: auto;
margin-top: 10vh;
font-family: var(--clock-font);
font-size: 14vh;
line-height: 14vh;
text-shadow: 3px 3px var(--clock-shadow-color);
color: var(--clock-color);
z-index: 100;
}
#clock .topline {
display: flex;
justify-content: center;
width: 25vw;
}
#clock .bottomline {
display: flex;
}
hh, mm {
font-size: 14vh;
}
session {
position: absolute;
font-size: 5vh;
margin-left: 30vw;
}
day {
margin-left: auto;
margin-right: auto;
line-height: 10vh;
font-size: 8vh;
}