Index

joshstock.in / 9385d2d

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

Latest Commit

{#}TimeHashSubjectAuthor#(+)(-)GPG?
2016 Nov 2019 20:339385d2dStatic files, style changes, new blog articleJosh Stockin12214N

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

text/css1275 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.gist .gist-file {
20 overflow: auto;
21 margin: 0;
22}
23#copyright {
24 padding: 20px 0;
25}
26
27
28.blog-center {
29 max-width: 800px;
30 padding: 20px;
31 margin: 20px auto;
32}
33.blog-banner {
34 width:100%;
35 height: 250px;
36 background-size: cover;
37 background-position: center;
38 margin: 0;
39 user-select: none;
40}
41.blog-img-full {
42 max-width: 100%;
43 display: inline-block;
44 margin: 10px 0 10px 0;
45}
46.blog-img-right {
47 max-height: 500px;
48 max-width: 50%;
49 margin: 0 0 10px 20px;
50 float: right;
51}
52.blog-img-left {
53 max-height: 500px;
54 max-width: 50%;
55 margin: 0 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: 840px) {
69 .blog-banner {
70 height: 30vw;
71 }
72 .blog-img-right, .blog-img-left {
73 max-width: 50%;
74 }
75}
76@media (max-width: 500px) {
77 .blog-banner {
78 height: 40vw;
79 }
80}
81