-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
116 lines (105 loc) · 1.79 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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
@import url("https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,600;1,600;1,800&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Abril+Fatface&display=swap");
canvas {
position: fixed;
top: 0;
left: 0;
}
:root {
--dark-bg: linear-gradient(to right, #0f0c29, #302b63, #24243e);
--spacing: 350px;
font-family: "EB Garamond", serif;
font-weight: 400;
font-style: normal;
}
main {
width: 100vw;
color: white;
z-index: 99;
position: absolute;
width: 100%;
margin: 0px ;
display: grid;
grid-template-columns: repeat(12, 1fr);
}
h1,
h2,
h3,
blockquote {
font-family: "Abril Fatface", cursive;
font-weight: 700;
font-style: normal;
}
canvas {
position: fixed;
top: 0;
left: 0;
}
header {
background: var(--dark-bg);
grid-column: 2 / span 10;
font-size: 2.5rem;
padding: 2rem;
margin-top: 90px;
margin-bottom: var(--spacing);
text-align: center;
}
section {
grid-column: 2 / span 4;
padding: 1rem;
background: var(--dark-bg);
font-size: 1.25rem;
line-height: 1.5;
margin-bottom: var(--spacing);
margin-left: 0px;
box-sizing: border-box;
}
.light {
grid-column: 7 / span 4;
}
blockquote {
margin: 0;
padding: 0;
grid-column: 2 / span 9;
margin-bottom: var(--spacing);
}
blockquote p {
color: black;
background-color: rgba(248, 248, 248, 0.548);
font-size: 2rem;
display: inline;
line-height: 1.35;
}
.left {
grid-column: 6 / 12;
}
.right {
grid-column: 2 / 8;
}
.center {
grid-column: 4 / 10;
}
@media (max-width: 880px) {
section,
p {
font-size: 14px;
}
h1,
h2,
h3,
blockquote p {
font-size: 24px;
}
.left,
.right,
.center {
font-size: 14px;
}
}
.white {
background: white;
color: black;
grid-column: 1 / span 12;
font-size: 32px;
padding: 2rem;
}