aboutsummaryrefslogtreecommitdiff
path: root/assets/css/posts.css
blob: e15baaf1594cd0ba9ddf19310c1026fdb0fc8574 (plain)
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
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
/* bootstrap overrides */

html {
  min-height: 100%;
  position: relative;
  overflow-y: scroll;
}

body {
  background-color: #2c2c2c !important;
  background-image: url("/images/overlay.png"), linear-gradient(0deg, rgb(44, 44, 44), rgba(44, 44, 44));
  color: #fff !important;
  font-family: system-ui, sans-serif !important;
}

a, a:hover { color: #46afff; }

a.active { color: #f00 !important; }

.paragraph__serif {
  font-family: Georgia, Times, "Times New Roman", serif;
  font-size: 20px;
  line-height: 1.8;
}

.paragraph__quote {
  color: #aaa;
  font-style: oblique;
  padding: 1em;
}

hr {
    border-top: 1px solid rgb(40, 40, 40) !important;
    border-top: 1px solid rgba(0, 0, 0, 0) !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

h2 { font-size: 1.6rem; }

.container { min-height: calc(100vh - 166px); }

.blog-post { font-size: 0.95rem; }

.blog-post-tags { display: none; }

.blog-post-categories { display: none; }

.text-secondary {
  color: #ccc !important;
  margin-bottom: 1em;
}

/* buttons */

.badge-primary {
  background-color: #d63d3d;
}

.badge-primary[href]:focus, .badge-primary[href]:hover {
  background-color: #D50000;
}

/* paginator */

.page-item.active .page-link {
  color: #000 !important;
  border-color: #aaa !important;
  background-color: #aaa !important;
}

.page-link {
  color: #000 !important;
  background-color: #fff;
}

/* image sizes */

.blog-post img {
  max-width: 100%;
}

.blog-header, .blog-post, .blog-pagination {
  margin-bottom: 2rem;
}

@media screen and (max-width: 768px) {
  .blog-header, .blog-post, .blog-pagination {
    max-width: 90vw;
  }
}

/* sidebar navigation */

#main {
  transition: margin-left .25s;
}

.sidenav {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 1;
  top: 0;
  right: 0;
  background-color: #222;
  overflow-x: hidden;
  transition: 0.25s;
}

.sidenav a {
  padding: 12px 8px 12px 32px;
  text-decoration: none;
  text-align: left;
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
  display: block;
  color: #fff;
}

.sidenav__container { margin-top: 4.2em; }

.sidenav a.active { background-color: #333; }

@media screen and (max-height: 450px) {
  .sidenav {padding-top: 15px;}
  .sidenav a {font-size: 18px;}
}

/* navigation bar */

nav {
  background-color: #232323;
  margin-bottom: 2em;
}

.navicon {
  border-radius: 0;
  border: none;
  background-color: transparent;
  position: absolute;
  cursor: pointer;
  top: 10px;
  right: 10px;
  font-size: 19px !important;
  padding: 14px 20px !important;
  line-height: 1;
  -webkit-backface-visibility: hidden;
  -moz-transform: translateZ(0) scale(1.0, 1.0);
  -ms-transform: translateZ(0) scale(1.0, 1.0);
  -webkit-transform: translateZ(0) scale(1.0, 1.0);
  transform: translateZ(0) scale(1.0, 1.0);
}

.topnav {
  margin: 0 auto;
  max-width: 1344px;
  overflow: hidden;
}

.topnav-left a {
  color: #ffffff;
  display: block;
  float: left;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.4;
  padding: 22px 16px;
  text-align: center;
  text-decoration: none;
}

.topnav-left a:nth-child(1) {
  display: none;
}

.topnav-right a {
  float: right;
}

@media screen and (max-width: 768px) {
  .fa { font-size: 1em; padding: 0.6em 0 1.6em 1em; background-color: #333; border-radius: 3px; width: 3em; height: 0.9em; }
  .topnav a.active { background-color: transparent; color: #fff !important; }
  .topnav a { font-size: 20px; padding: 24px 16px; }
  .topnav a:not(:first-child) { display: none; }
  .topnav-left a:nth-child(1) { display: block; line-height: 1; }
  .topnav-right a { display: none; }
  .topnav .navicon { display: block; }
}

/* footer */

.footer-container {
  color: #aaa;
  margin: 0 auto;
  max-width: 1392px;
  padding: 2em 2em;
}

.footer {
  background-color: #232323;
  background-color: rgba(34, 34, 34, 0.85);
  font-size: 12px;
  line-height: 1.5;
  text-align: left;
}

.footer a {
  color: #aaa;
}

.footer a:hover {
  color: #f00;
}

@media screen and (max-width: 768px) {
  .footer { background-color: #2c2c2c; background-color: rgba(0, 0, 0, 0); padding-left: unset; text-align: center; }
  nav { background-color: #2c2c2c; background-color: rgba(0, 0, 0, 0); }
}

/* system-font.css v2.0.2 | CC0-1.0 License | github.com/jonathantneal/system-font-css */

@font-face {
  font-family: system-ui;
  font-style: normal;
  font-weight: 300;
  src: local(".SFNSText-Light"), local(".HelveticaNeueDeskInterface-Light"), local(".LucidaGrandeUI"), local("Segoe UI Light"), local("Ubuntu Light"), local("Roboto-Light"), local("DroidSans"), local("Tahoma");
}

@font-face {
  font-family: system-ui;
  font-style: italic;
  font-weight: 300;
  src: local(".SFNSText-LightItalic"), local(".HelveticaNeueDeskInterface-Italic"), local(".LucidaGrandeUI"), local("Segoe UI Light Italic"), local("Ubuntu Light Italic"), local("Roboto-LightItalic"), local("DroidSans"), local("Tahoma");
}

@font-face {
  font-family: system-ui;
  font-style: normal;
  font-weight: 400;
  src: local(".SFNSText-Regular"), local(".HelveticaNeueDeskInterface-Regular"), local(".LucidaGrandeUI"), local("Segoe UI"), local("Ubuntu"), local("Roboto-Regular"), local("DroidSans"), local("Tahoma");
}

@font-face {
  font-family: system-ui;
  font-style: italic;
  font-weight: 400;
  src: local(".SFNSText-Italic"), local(".HelveticaNeueDeskInterface-Italic"), local(".LucidaGrandeUI"), local("Segoe UI Italic"), local("Ubuntu Italic"), local("Roboto-Italic"), local("DroidSans"), local("Tahoma");
}

@font-face {
  font-family: system-ui;
  font-style: normal;
  font-weight: 500;
  src: local(".SFNSText-Medium"), local(".HelveticaNeueDeskInterface-MediumP4"), local(".LucidaGrandeUI"), local("Segoe UI Semibold"), local("Ubuntu Medium"), local("Roboto-Medium"), local("DroidSans-Bold"), local("Tahoma Bold");
}

@font-face {
  font-family: system-ui;
  font-style: italic;
  font-weight: 500;
  src: local(".SFNSText-MediumItalic"), local(".HelveticaNeueDeskInterface-MediumItalicP4"), local(".LucidaGrandeUI"), local("Segoe UI Semibold Italic"), local("Ubuntu Medium Italic"), local("Roboto-MediumItalic"), local("DroidSans-Bold"), local("Tahoma Bold");
}

@font-face {
  font-family: system-ui;
  font-style: normal;
  font-weight: 700;
  src: local(".SFNSText-Bold"), local(".HelveticaNeueDeskInterface-Bold"), local(".LucidaGrandeUI"), local("Segoe UI Bold"), local("Ubuntu Bold"), local("Roboto-Bold"), local("DroidSans-Bold"), local("Tahoma Bold");
}

@font-face {
  font-family: system-ui;
  font-style: italic;
  font-weight: 700;
  src: local(".SFNSText-BoldItalic"), local(".HelveticaNeueDeskInterface-BoldItalic"), local(".LucidaGrandeUI"), local("Segoe UI Bold Italic"), local("Ubuntu Bold Italic"), local("Roboto-BoldItalic"), local("DroidSans-Bold"), local("Tahoma Bold");
}