-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
94 lines (76 loc) · 1.62 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
@import url("https://use.typekit.net/jmk3xov.css");
:root {
--dark-bg: rgba(15, 15, 15, 0.95);
--spacing: 150px;
font-family: brandon-grotesque, sans-serif;
font-weight: 400;
font-style: normal;
}
main {
width: 100vw;
color: white;
z-index: 99;
position: absolute;
width: 100%;
margin: 0px auto;
padding: 120px 0px;
display: grid;
grid-template-columns: repeat(12, 1fr);
}
h1, h2, h3, blockquote {
font-family: elevon, sans-serif;
font-weight: 700;
font-style: normal;
}
canvas {
position: fixed;
top: 0;
left: 0;
}
header {
background: var(--dark-bg);
grid-column: 2 / span 6;
font-size: 2.5rem;
padding: 2rem;
margin-bottom: var(--spacing);
}
section {
grid-column: 2 / 8;
padding: 1rem;
background: var(--dark-bg);
font-size: 1.25rem;
line-height: 1.5;
margin-bottom: var(--spacing);
}
.left {
grid-column: 6 / 12;
}
/* This rule will apply when the screen width is 600px or less */
@media (max-width: 600px) {
header {
font-size: 1.5rem; /* Adjust this value to your liking */
padding: 1rem; /* Adjust this value to your liking */
grid-column: 2 / span 10;
}
section {
font-size: 1rem; /* Adjust this value to your liking */
padding: 1rem; /* Adjust this value to your liking */
grid-column: 2 / span 10;
}
.left {
grid-column: 3 / 12;
}
}
blockquote {
margin: 0;
padding: 0;
grid-column: 2 / span 9;
margin-bottom: var(--spacing);
}
blockquote p {
color: black;
background-color: white;
font-size: 4rem;
display: inline;
line-height: 1;
}