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 | p { |
11 | line-height: 1.35em; |
12 | } |
13 | a { |
14 | color: #0077a4; |
15 | } |
16 | code { |
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 | } |
28 | #copyright { |
29 | padding: 20px 0; |
30 | } |
31 |
|
32 |
|
33 | .blog-center { |
34 | max-width: 800px; |
35 | padding: 20px; |
36 | margin: 20px auto; |
37 | } |
38 | .blog-banner { |
39 | width:100%; |
40 | height: 250px; |
41 | background-size: cover; |
42 | background-position: center; |
43 | margin: 0; |
44 | } |
45 | .blog-img-right { |
46 | max-height: 400px; |
47 | max-width: 50%; |
48 | margin: 10px 0 10px 20px; |
49 | float: right; |
50 | } |
51 | .blog-img-left { |
52 | max-height: 400px; |
53 | max-width: 50%; |
54 | margin: 10px 20px 10px 0; |
55 | float: left; |
56 | } |
57 | .blog-listing { |
58 | padding-bottom: 60px; |
59 | } |
60 | .blog-listing code { |
61 | margin-right: 10px; |
62 | } |
63 |
|
64 | @media (max-width: 800px) { |
65 | .blog-banner { |
66 | height: 30vw; |
67 | } |
68 | } |
69 |
|