-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
109 lines (95 loc) · 1.87 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
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
@import url('https://fonts.googleapis.com/css2?family=Orbitron&display=swap');
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Orbitron', sans-serif;
background: #060a1f;
line-height: 1.2;
}
.fullscreen-video-wrap {
position: absolute;
top: 0;
left: 0;
width: 100%;
max-width: 100%;
height: 100vh;
overflow: hidden;
}
.fullscreen-video-wrap video {
min-width: 100%;
min-height: 100%;
}
.container {
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
}
#clock {
font-size: 1.5rem;
color: #fff;
z-index: 10;
}
#clock h1 {
position: relative;
display: block;
text-transform: uppercase;
text-align: center;
letter-spacing: 0.4rem;
font-size: 1rem;
margin: 0 10px 25px 10px;
}
#clock #time {
border-bottom: 1px solid rgb(199, 167, 167);
display: flex;
padding-bottom: 5px;
padding-left: 100px;
padding-right: 100px;
}
#clock #time div {
position: relative;
margin: 0 5px;
-webkit-box-reflect: below 11px linear-gradient(transparent, rgb(0, 0, 0));
cursor: pointer;
}
#clock #time div span {
position: relative;
display: block;
width: 120px;
height: 90px;
background: cornflowerblue;
display: flex;
justify-content: center;
align-items: center;
margin-right: 5px;
box-shadow: 0 0 1px 2px rgba(0, 0, 0, 0.5);
font-size: 3rem;
}
#clock #time div span:nth-child(2) {
height: 3rem;
font-size: 0.8rem;
text-transform: uppercase;
letter-spacing: 0.2rem;
background: #127fd6;
box-shadow: none;
}
#clock #time div:last-child span {
background: #ff006a;
}
#clock #time div:last-child span:nth-child(2) {
background: #f82e82;
}
#clock #time div:first-child span {
background: #0059ff;
}
#clock #time div:first-child span:nth-child(2) {
background: #2e31f8;
}
@media only screen and (max-width: 600px) {
body {
overflow: hidden;
}
}