-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
52 lines (46 loc) · 813 Bytes
/
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
:root {
--yangColor: #d8c21e;
--yinColor: #111111;
}
html {
box-sizing: border-box;
width: 100%;
height: 100%;
}
*,
*::before,
*::after {
box-sizing: inherit;
margin: 0;
padding: 0;
}
.canvas {
position: relative;
background-color: var(--yinColor);
min-height: 100vh;
}
.resolution-detector {
font-family: 'Stick No Bills', sans-serif;
font-size: 50px;
text-align: center;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 25vw;
color: var(--yangColor);
border: 3px solid var(--yangColor);
border-radius: 10px;
min-height: 100px;
line-height: 100px;
}
@media screen and (max-width: 1100px) {
.resolution-detector {
width: 55vw;
}
}
@media screen and (max-width: 480px) {
.resolution-detector {
width: 75vw;
}
}