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
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
.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: 55%; } .bcontent h1{ font-size: 2.3rem; line-height: 1.2; } .bcontent > .post-date{ margin: 0.8rem 0; font-family: Sans-Serif; } .post-labels{ display:flex; flex-wrap: wrap; margin-left: -0.4rem; margin-bottom: 2rem; } .post-label{ background-color: rgba(0, 0, 0, 0.15); border-radius: 0.4rem; padding: 0.2rem 1rem; font-size: 0.8rem; margin: 0.2rem 0.4rem; } .posts{ list-style: none; margin-top: 1.5rem; } .posts > div:nth-child(odd){ background-color: #E5E5E5; } .post-item{ display: flex; justify-content: space-between; padding: 0.8rem 0.5rem; } .post-item > a { line-height: 1.4; max-width: 70%; margin-right: 1rem; } .post-item > .post-date{ font-size: 1rem; line-height: 1.4; min-width: 30%; text-align: right; } .post-text{ /* font-family: Roboto, Sans-serif; */ font-family: "Noto Serif"; font-size: 1.2rem; color: rgba(0, 0, 0, 0.7); } .post-text figure h4{ color: rgba(0, 0, 0, 0.6); text-align: center; font-size: 1rem; font-weight: 400; margin-top: 0.5rem; } .post-text figure{ display: flex; flex-direction: column; margin-bottom: 1rem; } .post-text figure img{ margin: 0 auto; } .post-text p{ line-height: 1.5; margin: 1rem 0; } .post-text h1{ font-size:1.7rem; font-weight: 700; margin-top: 1rem; } .post-text h2{ font-size:1.5rem; font-weight: 700; margin-top: 1rem; } .post-text h3{ font-size:1.3rem; font-weight: 700; margin-top: 1rem; } .post-text ul{ list-style-position: outside; padding: 0 1.2rem; } .post-text pre { max-width: 100%; background: #ddd; padding: 1rem; margin: 0.5rem 0; font-size: 0.9rem; overflow-y: hidden; overflow-x: scroll; } .post-text > p > code{ font-family: 'Roboto Mono'; font-size: 90%; background: rgba(0, 0, 0, 0.15); padding: 0 0.4rem; border-radius: 0.2rem; } @media only screen and (max-width: 767px){ .bcontent { width: 95%; } }