-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
98 lines (79 loc) · 1.08 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
:root {
--primary: #d8d2cb;
--secondary: #1a1e21;
--tertiary: #60646a;
}
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
html {
background: var(--secondary);
font-size: 1vmin;
}
body {
color: var(--primary);
font-family: "Playfair Display", serif;
padding: 2rem;
}
.container {
max-width: 120rem;
}
h1 {
font-size: 15rem;
font-weight: 900;
line-height: 1.25;
margin-top: 1rem;
}
h2 {
font-size: 10rem;
font-weight: 900rem;
margin-bottom: 2rem;
}
p,
address {
font-size: 6rem;
}
a {
color: var(--tertiary);
text-decoration: none;
transition: color 0.25s ease;
}
a:hover {
color: var(--primary);
}
nav {
text-align: right;
}
.strikethrough {
text-decoration: line-through;
}
.translation-link {
font-size: 4rem;
}
.ampersand {
font-size: 6rem;
}
main {
margin-top: 20rem;
}
section {
margin-top: 20rem;
}
svg {
height: 20rem;
transition: transform 0.25s ease;
width: 20rem;
}
svg:hover {
transform: translateY(-1rem);
}
.block-text {
display: block;
}
@media (min-width: 768px) {
html {
font-size: 10px;
}
}