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'); |
3 | body { |
4 | font-family: 'Fira Sans', sans-serif; |
5 | color: #252525; |
6 | padding: 0; |
7 | margin: 0; |
8 | box-sizing: border-box; |
9 | } |
10 | a { |
11 | color: #0077a4; |
12 | } |
13 | code { |
14 | font-family: 'Fira Mono', monospace; |
15 | } |
16 | .gist .gist-file { |
17 | overflow: auto; |
18 | margin: 0; |
19 | } |
20 | .gist table { |
21 | table-layout: fixed; |
22 | } |
23 | #copyright { |
24 | padding: 20px 0; |
25 | } |
26 |
|
27 | hr { |
28 | border-color: #eee; |
29 | } |
30 |
|
31 | .blog-center { |
32 | max-width: 800px; |
33 | padding: 2em 40px; |
34 | margin: 0 auto; |
35 | min-height: 100vh; |
36 | box-sizing: border-box; |
37 | font-size: 1.15em; |
38 | line-height: 1.5; |
39 | } |
40 | .blog-center h1 { |
41 | margin-top:0; |
42 | } |
43 | .blog-top-1 { |
44 | margin-bottom:0; |
45 | } |
46 | .blog-top-2 { |
47 | margin-top:0; |
48 | } |
49 | .blog-banner { |
50 | width:100%; |
51 | height: 250px; |
52 | background-size: cover; |
53 | background-position: center; |
54 | margin: 0; |
55 | user-select: none; |
56 | } |
57 | .blog-img-full { |
58 | max-width: 100%; |
59 | display: inline-block; |
60 | margin: 10px 0 10px 0; |
61 | } |
62 | .blog-img-right { |
63 | max-height: 500px; |
64 | max-width: 50%; |
65 | margin: 0 0 10px 20px; |
66 | float: right; |
67 | } |
68 | .blog-img-left { |
69 | max-height: 500px; |
70 | max-width: 50%; |
71 | margin: 0 20px 10px 0; |
72 | float: left; |
73 | } |
74 | .blog-listing { |
75 | padding-bottom: 60px; |
76 | } |
77 | .blog-listing:last-of-type { |
78 | padding-bottom: 20px; |
79 | } |
80 | .blog-listing code { |
81 | margin-right: 10px; |
82 | } |
83 |
|
84 | @media (max-width: 840px) { |
85 | .blog-banner { |
86 | height: 30vw; |
87 | } |
88 | .blog-img-right, .blog-img-left { |
89 | max-width: 50%; |
90 | } |
91 | } |
92 | @media (max-width: 500px) { |
93 | .blog-banner { |
94 | height: 40vw; |
95 | } |
96 | } |
97 |
|