-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.css
136 lines (115 loc) · 2.58 KB
/
main.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
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
/*
These styles should be applied to every page on the website
Fonts:
Lato font (sans serif), use font-family: 'Lato', sans-serif;
Playfair Display (serif), use font-family: 'Playfair Display', serif;
*/
@import url("https://fonts.googleapis.com/css2?family=Lato&family=Playfair+Display&display=swap");
:root {
--bg-grad-1: #505056;
--bg-grad-2: #303538;
--main-text-color: #ecf0f5;
--main-link-color: #007acc;
}
body {
padding: 0%;
margin: 0%;
font-family: "Lato", sans-serif;
background-color: #3e3e42;
background-image: linear-gradient(180deg, var(--bg-grad-1), var(--bg-grad-2));
background-size: cover;
background-attachment: fixed;
color: var(--main-text-color);
}
h1, h2 {
text-align: center;
}
a, a:visited {
color: var(--main-link-color);
}
a h3, a:visited h3 {
text-decoration: none;
color: var(--main-text-color);
}
#header {
width: 100%;
background-color: var(--main-link-color);
font-family: "Playfair Display", serif;
display: flex;
justify-content: stretch;
color: var(--main-text-color);
}
#header * a, #header * a:visited {
color: var(--main-text-color);
}
#main-text {
font-size: 1.25em;
margin: 0 10%;
text-align: justify;
}
#main-text div {
text-align: center;
padding-top: 7px;
padding-bottom: 7px;
}
#main-text h2 {
font-family: "Playfair Display", serif;
margin: 0;
border: 0;
padding: 15px;
}
#cfc-text {
color: var(--main-text-color);
padding: 10px;
font-size: 35px;
text-decoration: none;
}
@media screen and (min-width: 757px) {
.link {
display: flex;
justify-content: center;
align-items: center;
text-decoration: none;
color: #1e3c5a;
}
.link:hover {
background-color: #bebebe;
}
#links {
width: 100%;
display: flex;
flex-direction: row;
justify-content: right;
}
#wide {
display: grid;
grid-template-columns: 55px 100px 122px 118px 90px;
}
#links-narrow {
display: none;
}
}
@media screen and (max-width: 756px) {
.link {
text-decoration: none;
color: #1e3c5a;
}
#links {
width: 100%;
display: flex;
justify-content: right;
align-items: center;
}
#narrow {
width: 45px;
height: 45px;
cursor: pointer;
}
#links-narrow {
font-size: 20px;
text-align: center;
display: grid;
background-color: rgba(255, 255, 255, 0.1);
grid-template-rows: repeat(5, 30px);
}
}