This repository has been archived by the owner on May 26, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 28
/
teamsilverblue-style.css
247 lines (218 loc) · 4.76 KB
/
teamsilverblue-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
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
@import url("https://fonts.googleapis.com/css?family=Overpass|Source+Code+Pro|Source+Sans+Pro");
body {
font-family: "Source Sans Pro", Sans-Serif;
font-size: 12pt;
line-height: 1.5em;
max-width: 62em;
margin: auto;
display: flex;
min-height: 100vh;
flex-direction: column; }
img {
max-width: 100%;
height: auto;
width: auto\9;
}
h1, h2, h3, h4, h5 {
font-family: Overpass, Interstate, Sans-Serif;
font-weight: 200; }
h1 {
font-size: 160%;}
h2 {
font-size: 140%; color: #436795;}
a {
color: #436795;
transition: all 400ms ease-in-out; }
a:visited {
color: #436795; }
a:hover, a:focus {
color: #000; }
a.button {
display: inline-block;
margin: 6px;
padding: 1em;
text-align: center;
background-color: #436795;
color: #fff;
width: 100%;
box-sizing: border-box;
border-radius: 4px; }
a.button:hover, a.button:focus {
background-color: #5780b4; }
a.button:hover svg, a.button:focus svg {
fill: #fff; }
a.button svg {
fill: #fff; }
a.button:active {
background-color: #334f72; }
a.button:active svg {
fill: #fff; }
.wrapper {
display: flex;
flex: 1; }
header {
flex: 1;
margin: 0;
padding: 1em;
margin: 0.5em; }
header .logo img {
width: 128px;
height: 128px;
transition: transform 300ms ease-out; }
header .logo img:hover, header .logo img:focus {
transform: scale(1.05); }
header nav {
margin: 3em 1em 1em;
display: flex;
flex-direction: column; }
header nav a {
flex: 1;
display: block;
padding: 0;
white-space: nowrap;
margin: .5em 0;
text-transform: uppercase;
letter-spacing: 0.2em;
font-size: 80%;
text-decoration: none;
border-bottom: 2px solid transparent; }
header nav a:hover, header nav a:active, header nav a:focus {
border-bottom: 2px solid #436795; }
header nav hr {
border-width: 0;
margin: 1em; }
main {
flex: 4;
padding: 1em; }
article {
box-sizing: border-box; }
article section.boxes {
display: inline-grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
grid-gap: 2.5em;
padding: 0.5em; }
article section.boxes section {
padding: 1em; }
.conditions {
cursor: pointer;
margin: 1em; }
.conditions p {
box-sizing: border-box;
line-spacing: 3em;
font-size: 90%;
margin: 2em; }
#copyright {
margin: 3em 0 0 0;
font-size: 80%;
letter-spacing: 0.2em;
color: rgba(0, 0, 0, 0.3); }
img.blog-image {
display: block;
margin: auto;
padding: 10px; }
ul li {
list-style-type: none;
padding: 0 0 0 20px;
vertical-align: middle;
margin: .5em 0;
background: url(/public/bullet.svg) no-repeat left 4px; }
footer {
text-align: center;
padding: 2em;
margin: 0; }
footer p {
padding: 2% 0% 0% 0%; }
footer nav a {
text-alias: center;
padding: 1em; }
.icon {
/* Really dislike these - I understand but what's another solution that doesn't impact performance too much? */
width: 16px;
height: 16px;
vertical-align: middle;
margin: 0 10px 0 0;
fill: #729fcf;
transition: all 400ms ease-in-out; }
a:hover .icon {
fill: black; }
pre {
font-family: "Source Code Pro", monospace;
font-size: 70%;
background-color: #eee;
padding: 2em;
overflow-x: auto;
max-width: 60em;
margin: 3em auto;
border-radius: 6px; }
.author {font-size: 80%;}
blockquote {
display: block;
text-align: center;
border-width: 1px 0;
border-style: solid;
border-color: #436795;
padding: 2em 0 0.5em 0;
margin: 1.5em 0;
position: relative;
}
blockquote:before {
content: '\201C';
position: absolute;
top: 0em;
left: 50%;
transform: translate(-50%, -50%);
background: #fff;
width: 3rem;
height: 2rem;
font: 6em/1em Overpass, sans-serif;
color: #436795;
text-align: center;
}
blockquote:after {
content: "\2013 \2003" attr(cite);
display: block;
text-align: right;
font-size: 0.875em;
color: #e74c3c;
}
/* Mobile Layout */
@media all and (max-width: 1024px) {
.wrapper {
flex-direction: column; }
header {
min-height: 120px; }
header nav {
flex-direction: row;
flex-wrap: wrap;
justify-content: flex-end;
align-content: center;
margin: 6px 6px 6px 140px; }
header nav a {
padding: .5em 1em;
text-align: center; }
header nav hr {
display: none; }
header a.logo img {
position: absolute;
top: 0;
left: 0;
order: 6;
width: 96px;
height: auto;
margin: 16px; } }
@media (prefers-color-scheme: dark) {
body {
background-color: #444;
color: #e4e4e4;
}
a {
color: #e39777;
}
img {
filter: grayscale(30%);
}
#copyright {
color: #e4e4e4;
}
}
/*# sourceMappingURL=teamsilverblue-style.css.map */