plaintro 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,472 @@
1
+
2
+ /**
3
+ * For syntax highlight part, using the same setting
4
+ * of Jekyll minima theme with classic skin
5
+ *
6
+ * Reference:
7
+ * https://github.com/jekyll/minima/blob/master/_sass/minima/_base.scss
8
+ */
9
+ pre, code {
10
+ font-size: 15px;
11
+ border: 1px solid #e8e8e8;
12
+ border-radius: 3px;
13
+ background-color: #eef;
14
+ }
15
+
16
+ code {
17
+ padding: 1px 5px;
18
+ }
19
+
20
+ pre {
21
+ padding: 8px 12px;
22
+ overflow-x: auto;
23
+ }
24
+
25
+ pre > code {
26
+ border: 0;
27
+ padding-right: 0;
28
+ padding-left: 0;
29
+ }
30
+
31
+ /**
32
+ * extend highlight part to content width
33
+ */
34
+ .highlight, .highlighter-rouge {
35
+ width: 100%;
36
+ margin: 0;
37
+ }
38
+
39
+
40
+
41
+ /*----------------------------------------------
42
+ Main plaintro CSS
43
+ ------------------------------------------------*/
44
+
45
+ body {
46
+ width: 100%;
47
+ height: 100%;
48
+ max-height: 100%;
49
+ font-size: 100%;
50
+ margin: 0px;
51
+ background-color: #eeeeee;
52
+ color: #3C3C3C;
53
+ font-family: sans-serif;
54
+ }
55
+
56
+ img {
57
+ width: 100%;
58
+ object-fit: contain;
59
+ }
60
+
61
+ ul, ol {
62
+ padding-left: 20px;
63
+ }
64
+
65
+ h1, h2, h3, h4, h5, h6,
66
+ p, div,
67
+ header, nav, footer {
68
+ margin-left: auto;
69
+ margin-right: auto;
70
+ }
71
+
72
+ h1, h2 {
73
+ font-family: 'GeosansLight', sans-serif;
74
+ }
75
+
76
+ h1 {
77
+ padding-top: 1%;
78
+ }
79
+
80
+ a, a:link, a:visited {
81
+ text-decoration: none;
82
+ color: #4169E1;
83
+ }
84
+
85
+ a:hover {
86
+ color: #B0C4DE;
87
+ }
88
+
89
+ .site-wrapper {
90
+ min-height: 100vh;
91
+ display: flex;
92
+ flex-direction: column;
93
+ }
94
+
95
+ .site-header a,
96
+ .site-header a:link,
97
+ .site-header a:visited,
98
+ .site-topnav a,
99
+ .site-topnav a:link,
100
+ .site-topnav a:visited {
101
+ text-decoration: none;
102
+ color: white;
103
+ }
104
+
105
+ .site-header a:hover,
106
+ .site-topnav a:hover {
107
+ color: #4169E1;
108
+ }
109
+
110
+ .site-header,
111
+ .site-topnav,
112
+ .site-footer {
113
+ width: 100%;
114
+ text-align: center;
115
+ }
116
+
117
+ .site-header,
118
+ .site-topnav {
119
+ background-color: #5B5B5B;
120
+ color: white;
121
+ overflow: auto;
122
+ }
123
+
124
+ .site-topnav {
125
+ position: sticky;
126
+ display: block;
127
+ top: 0;
128
+ }
129
+
130
+ .site-menu,
131
+ .site-social {
132
+ padding-top: 1%;
133
+ padding-bottom: 1%;
134
+ }
135
+
136
+ .site-menu {
137
+ float: left;
138
+ margin-top: 0.5%;
139
+ font-size: 1.3rem;
140
+ }
141
+
142
+ .site-social {
143
+ float: right;
144
+ letter-spacing: 0.5rem;
145
+ font-size: 1.8rem;
146
+ }
147
+
148
+ .site-footer {
149
+ padding-top: 1.0%;
150
+ padding-bottom: 0.5%;
151
+
152
+ margin-top: auto;
153
+ }
154
+
155
+ .site-footer-content {
156
+ padding-top: 1%;
157
+ font-size: 0.9rem;
158
+ line-height: 1.2rem;
159
+ }
160
+
161
+ .site-header-content,
162
+ .site-topnav-content,
163
+ .site-footer-content,
164
+ .site-content {
165
+ /* roughly 55% width of Resolution 1600 x 900;*/
166
+ width: 880px;
167
+ }
168
+
169
+ .site-header-content {
170
+ text-align: left;
171
+ padding-top: 0.5%;
172
+ padding-bottom: 0.5%;
173
+ font-size: 3rem;
174
+ font-family: 'GeosansLight', sans-serif;
175
+ }
176
+
177
+ .site-content {
178
+ line-height: 1.5rem;
179
+ padding-top: 0.5%;
180
+ }
181
+
182
+
183
+
184
+ /*----------------------------------------------
185
+ Blog related CSS
186
+ ------------------------------------------------*/
187
+
188
+ .site-blog-title-left {
189
+ float: left;
190
+ }
191
+
192
+ .site-blog-title-right {
193
+ text-align: right;
194
+ font-size: 70%;
195
+ padding-right: 0.5rem;
196
+ }
197
+
198
+ .site-blog-post-title,
199
+ .site-post-title {
200
+ margin-bottom: 0;
201
+ line-height: normal;
202
+ font-size: 1.8em;
203
+ }
204
+
205
+ .site-blog-post-title {
206
+ padding-top: 5%;
207
+ }
208
+
209
+ .site-post-metadata {
210
+ line-height: normal;
211
+ margin-bottom: 0;
212
+ font-size: 95%;
213
+ }
214
+
215
+ .site-blog-archive {
216
+ margin: auto;
217
+ }
218
+
219
+ .site-blog-pagination {
220
+ width: 540px;
221
+ text-align: center;
222
+ margin-bottom: 2.5em;
223
+ padding-top: 5%;
224
+ }
225
+
226
+ .site-blog-previous {
227
+ float: left;
228
+ }
229
+
230
+ .site-blog-next {
231
+ float: right;
232
+ }
233
+
234
+ .site-blog-page-number {
235
+ display: block;
236
+ }
237
+
238
+
239
+
240
+ /*----------------------------------------------
241
+ Portfolio related CSS
242
+ ------------------------------------------------*/
243
+
244
+ .site-portfolio-section {
245
+ margin-bottom: 0.5em;
246
+ display: flex;
247
+ }
248
+
249
+ .site-portfolio-section .site-portfolio-thumbnail {
250
+ margin-left: 0;
251
+ width: 43%;
252
+ }
253
+
254
+ .site-portfolio-thumbnail img {
255
+ margin-top: 1.0em;
256
+ }
257
+
258
+ .site-portfolio-section .site-portfolio-content {
259
+ margin-top: 0;
260
+ margin-right: 0;
261
+ width: 51%;
262
+ }
263
+
264
+ .site-portfolio-content h1 {
265
+ margin-top: 0.5em;
266
+ font-size: 1.8em;
267
+ line-height: 1.25em;
268
+ }
269
+
270
+
271
+
272
+ /*----------------------------------------------
273
+ Resume related CSS
274
+ ------------------------------------------------*/
275
+
276
+ div.site-resume h1 {
277
+ line-height: normal;
278
+ margin-bottom: 0.5em;
279
+ padding-top: 5%;
280
+ font-size: 1.8em;
281
+ }
282
+
283
+ /* Simulating adding <hr> after paragraph titles in resume */
284
+ div.site-resume h1::after {
285
+ content: '';
286
+ border: 1px inset;
287
+ box-sizing: border-box;
288
+ color: gray;
289
+ display: block;
290
+ height: 2px;
291
+ margin: 0.5em auto;
292
+ }
293
+
294
+ .site-paragraph-title {
295
+ line-height: normal;
296
+ margin-bottom: 0.5em;
297
+ padding-top: 5%;
298
+ font-size: 1.8em;
299
+ }
300
+
301
+ .site-paragraph-title,
302
+ .site-paragraph-subtitle {
303
+ font-family: 'GeosansLight', sans-serif;
304
+ }
305
+
306
+
307
+
308
+ /*----------------------------------------------
309
+ For responsive web content
310
+ ------------------------------------------------*/
311
+
312
+ @media only screen and (max-width: 1100px) {
313
+ .site-header-content,
314
+ .site-topnav-content,
315
+ .site-footer-content,
316
+ .site-content {
317
+ width: 80%;
318
+ }
319
+
320
+ .site-portfolio-section .site-portfolio-thumbnail {
321
+ width: 378.4px;
322
+ }
323
+ }
324
+
325
+ @media only screen and (max-width: 1020px) {
326
+ .site-portfolio-section .site-portfolio-thumbnail {
327
+ flex: 0 0 340px;
328
+ }
329
+
330
+ .site-portfolio-content {
331
+ font-size: 98%;
332
+ }
333
+
334
+ .site-portfolio-content h1 {
335
+ font-size: 1.7em;
336
+ }
337
+ }
338
+
339
+ @media only screen and (max-width: 940px) {
340
+ .site-portfolio-section .site-portfolio-thumbnail {
341
+ margin-right: 1.5em;
342
+ }
343
+ }
344
+
345
+ @media only screen and (max-width: 900px) {
346
+ .site-blog-pagination {
347
+ width: auto;
348
+ }
349
+
350
+ .site-blog-previous {
351
+ padding-left: 12.5%;
352
+ }
353
+
354
+ .site-blog-next {
355
+ padding-right: 12.5%;
356
+ }
357
+ }
358
+
359
+ @media only screen and (max-width: 820px) {
360
+ .site-portfolio-section {
361
+ flex-direction: column;
362
+ }
363
+
364
+ .site-portfolio-section {
365
+ width: 480px;
366
+ }
367
+
368
+ .site-portfolio-section .site-portfolio-thumbnail {
369
+ flex: auto;
370
+ margin-bottom: 0;
371
+ margin-right: 0;
372
+ width: 100%;
373
+ }
374
+
375
+ .site-portfolio-section .site-portfolio-content {
376
+ margin-top: 0;
377
+ width: 100%;
378
+ }
379
+
380
+ .site-portfolio-content h1 {
381
+ margin: 0;
382
+ }
383
+ }
384
+
385
+ @media only screen and (max-width: 720px) {
386
+ .site-header-content {
387
+ font-size: 2.5rem;
388
+ }
389
+
390
+ .site-menu {
391
+ font-size: 1.1rem;
392
+ }
393
+
394
+ .site-social {
395
+ font-size: 1.5rem;
396
+ }
397
+ }
398
+
399
+ @media only screen and (max-width: 600px) {
400
+ .site-content {
401
+ font-size: 90%;
402
+ }
403
+
404
+ p:not(.site-footer-p, .site-post-metadata, .site-blog-archive) {
405
+ font-size: 16px;
406
+ }
407
+
408
+ .site-header-content,
409
+ .site-topnav-content,
410
+ .site-footer-content,
411
+ .site-content {
412
+ width: 90%;
413
+ }
414
+
415
+ .site-footer-content {
416
+ font-size: 0.8rem;
417
+ }
418
+
419
+ .site-menu,
420
+ .site-social {
421
+ width: 100%;
422
+ }
423
+
424
+ .site-header-content {
425
+ text-align: center;
426
+ font-size: 2.0rem;
427
+ }
428
+
429
+ .site-menu {
430
+ font-size: 1.1rem;
431
+ }
432
+
433
+ .site-social {
434
+ font-size: 1.5rem;
435
+ }
436
+
437
+ .site-blog-title-right {
438
+ padding-right: 0;
439
+ }
440
+
441
+ .site-blog-previous {
442
+ padding-left: 0;
443
+ }
444
+
445
+ .site-blog-next {
446
+ padding-right: 0;
447
+ }
448
+
449
+ .site-blog-pagination {
450
+ width: 360px;
451
+ }
452
+
453
+ .site-blog-previous {
454
+ padding-left: 0;
455
+ }
456
+
457
+ .site-blog-next {
458
+ padding-right: 0;
459
+ }
460
+ }
461
+
462
+ @media only screen and (max-width: 561px) {
463
+ .site-portfolio-section {
464
+ width: 95%;
465
+ }
466
+ }
467
+
468
+ @media only screen and (max-width: 400px) {
469
+ .site-blog-pagination {
470
+ width: auto;
471
+ }
472
+ }