Index

joshstock.in / a831024

Source for serving and static templating/compiling of https://joshstock.in.

Latest Commit

{#}TimeHashSubjectAuthor#(+)(-)GPG?
1716 Nov 2019 13:001a3844fStatic image hosting; new blog articleJosh Stockin130N

Blob @ joshstock.in / resources / templates / blog.css

text/css1187 bytesdownload raw
1@import url('https://fonts.googleapis.com/css?family=Fira+Sans:400,400i,500&display=swap');
2@import url('https://fonts.googleapis.com/css?family=Fira+Mono&display=swap');
3body {
4 font-family: 'Fira Sans', sans-serif;
5 color: #252525;
6 padding: 0;
7 margin: 0;
8 box-sizing: border-box;
9}
10p {
11 line-height: 1.35em;
12}
13a {
14 color: #0077a4;
15}
16code {
17 font-family: 'Fira Mono', monospace;
18}
19.code {
20 width: 100%;
21 padding: 15px;
22 margin-bottom: 20px;
23 background-color: #eeeeee;
24 display: inline-block;
25 box-sizing: border-box;
26 white-space: pre-wrap;
27 overflow: scroll;
28}
29#copyright {
30 padding: 20px 0;
31}
32
33
34.blog-center {
35 max-width: 800px;
36 padding: 20px;
37 margin: 20px auto;
38}
39.blog-banner {
40 width:100%;
41 height: 250px;
42 background-size: cover;
43 background-position: center;
44 margin: 0;
45}
46.blog-img-right {
47 max-height: 400px;
48 max-width: 50%;
49 margin: 10px 0 10px 20px;
50 float: right;
51}
52.blog-img-left {
53 max-height: 400px;
54 max-width: 50%;
55 margin: 10px 20px 10px 0;
56 float: left;
57}
58.blog-listing {
59 padding-bottom: 60px;
60}
61.blog-listing:last-of-type {
62 padding-bottom: 20px;
63}
64.blog-listing code {
65 margin-right: 10px;
66}
67
68@media (max-width: 800px) {
69 .blog-banner {
70 height: 30vw;
71 }
72}
73