-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
90 lines (78 loc) · 1.58 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
* {
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif, 'Noto Serif';
--base: #f8fafc;
--base-content: #020617;
--base-content-light: #94a3b8;
--primary: #f59e0b;
--primary-content: #451a03;
}
body {
margin: 0px;
background-color: var(--base);
color: var(--base-content);
width: min(100vw, 1000px);
margin: 0px auto;
text-align: center;
padding-top: 50px;
}
header[lang=en] {
display: none;
}
header[lang=zh] .emphasis {
position: relative;
display: inline-block;
z-index: 1;
color: var(--base);
font-weight: 800;
margin: 0px 5px;
}
.logo {
margin: 0px;
margin-bottom: 12px;
font-weight: 700;
}
.headline {
margin: 0px;
margin-bottom: 20px;
font-size: 36px;
font-weight: 900;
letter-spacing: -0.4px;
line-height: 1;
}
.emphasis {
position: relative;
display: inline-block;
z-index: 1;
color: var(--base);
font-weight: 800;
}
.emphasis::before {
content: "";
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: var(--primary);
transform: rotate(-2deg) scale(1.1);
z-index: -1;
}
#map {
height: 300px;
width: min(100vw, 600px);
margin: 0px auto;
border: 0.1px solid black;
}
footer[lang=en] {
display: none;
}
.copyright {
color: var(--base-content-light);
margin: 0px;
margin-top: 16px;
}
@media (max-width: 800px) {
#map {
height: calc(max(100vh - 300px, 300px));
}
}