-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.css
114 lines (106 loc) · 1.86 KB
/
main.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
110
111
112
113
114
:root {
--blue: #22edfc;
--yellow: #fbeb04;
--black: #050a0e;
}
* {
padding: 0;
margin: 0;
}
html {
height: 100%;
}
body {
color: var(--yellow);
background: url(https://cdn-l-cyberpunk.cdprojektred.com/gallery/1080p/screen-high-speed-high-stakes-en.jpg);
background-size: cover;
background-repeat: no-repeat;
font-family: "Roboto", sans-serif;
overflow: hidden;
}
body {
height: 100%;
display: flex;
flex-direction: column;
justify-content: flex-start;
align-items: center;
text-shadow: 2px 4px #22edfc;
}
h1 {
font-size: 8rem;
}
footer {
display: flex;
position: absolute;
height: 20%;
width: 60%;
bottom: -20px;
border-radius: 20px;
color: white;
text-align: center;
justify-content: center;
align-items: center;
text-shadow: 1px 1px #22edfc;
}
footer > a {
color: var(--yellow);
text-decoration: none;
}
#logo {
background: url("./cyberpunk_2077_logo_by_crepet9000_dcmxfyu-pre.png");
height: 30%;
width: 30%;
background-size: contain;
background-repeat: no-repeat;
}
#time {
position: relative;
}
#d,
#h,
#m,
#s {
display: inline;
}
#d::after {
content: "days";
font-size: 2rem;
text-shadow: 1px 1px #22edfc;
}
#h::after {
content: "hours";
font-size: 2rem;
text-shadow: 1px 1px #22edfc;
}
#m::after {
content: "minutes";
font-size: 2rem;
text-shadow: 1px 1px #22edfc;
}
#s::after {
content: "seconds";
font-size: 2rem;
text-shadow: 1px 1px #22edfc;
}
@media (max-width: 700px) {
h1 {
font-size: 1.5rem;
text-shadow: 1px 1px #22edfc;
}
#d::after {
content: "d";
font-size: 1rem;
}
#h::after {
content: "h";
font-size: 1rem;
}
#m::after {
content: "m";
font-size: 1rem;
}
#s::after {
content: "s";
font-size: 1rem;
}
}