hugo-site/static/css/blog.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
.bcontainer{ margin-top: 40px; display: flex; flex-flow: row; width: 100%; justify-content: center; } .blog-menu{ /* background-color: pink; */ border-right: 1px solid #BCBCBC; margin-left: 30px; min-width: 170px; max-width: 220px; } .blog-menu ul{ list-style: none; } .blog-menu > ul > li{ font-weight: 700; line-height: 2.5; } .blog-menu > ul > ul > li{ text-indent: 1.5rem; line-height: 1.4; font-weight: 200; } .bcontent{ /* background-color: lightgreen; */ width: 60%; } .bcontent h1{ font-size: 2.3rem; } .bcontent > .post-date{ margin-bottom: 0.5rem; } .post-labels{ display:flex; flex-wrap: wrap; max-width: 50%; margin-left: -0.4rem; } .post-label{ background-color: #ddd; border-radius: 0.4rem; padding: 0.2rem 1rem; font-size: 0.8rem; margin: 0.2rem 0.4rem; } .posts{ list-style: none; margin-top: 10px; font-size: 18px; line-height: 35px; min-width: 500px; } .posts > div:nth-child(odd){ background-color: #E5E5E5; } .post-item{ display: flex; justify-content: space-between; } .post-item > .post-date{ padding: 0 1rem; font-size: 1rem; } .post-text{ font-family: Roboto, Sans-serif; font-size: 1.2rem; } .post-text p{ line-height: 1.4; } .post-text h1{ font-size:1.7rem; font-weight: 500; } .post-text h2{ font-size:1.5rem; font-weight: 500; margin: 0.5rem 0; } .post-text h3{ font-size:1.3rem; font-weight: 500; } .post-text ul{ list-style-position: outside; padding: 0 1.2rem; } .post-text > pre { max-width: 100%; background: #ddd; padding: 1rem; margin: 1rem 0; font-size: 0.9rem; overflow: auto; } .post-text img{ max-width: 90%; }