|
30 | 30 | background: white; |
31 | 31 | margin-top: 3px; |
32 | 32 |
|
33 | | - &:first-child { |
34 | | - margin-top: 0; |
35 | | - } |
| 33 | + &:first-child { margin-top: 0; } |
36 | 34 | } |
37 | 35 |
|
38 | 36 | .sidebar { |
|
78 | 76 |
|
79 | 77 | .site-author-name { |
80 | 78 | margin: 5px 0 0; |
81 | | - color: $whitesmoke; |
| 79 | + color: $site-author-name-color; |
82 | 80 | } |
83 | 81 |
|
84 | 82 | .site-description { |
85 | 83 | margin-top: 5px; |
86 | 84 | font-size: 14px; |
87 | | - color: $black-light; |
| 85 | + color: $site-description-color; |
88 | 86 | } |
89 | 87 |
|
90 | 88 | .site-state { |
|
97 | 95 | padding: 0 15px; |
98 | 96 | border-left: 1px solid #333; |
99 | 97 |
|
100 | | - &:first-child { |
101 | | - border-left: none; |
102 | | - } |
| 98 | + &:first-child { border-left: none; } |
103 | 99 |
|
104 | | - a { |
105 | | - border-bottom: none; |
106 | | - } |
| 100 | + a { border-bottom: none; } |
107 | 101 | } |
108 | 102 | .site-state-item-count { |
109 | 103 | display: block; |
110 | 104 | text-align: center; |
111 | 105 | font-size: 18px; |
112 | 106 | } |
113 | 107 |
|
114 | | -.site-state-item-name { |
115 | | - font-size: 13px; |
116 | | -} |
| 108 | +.site-state-item-name { font-size: 13px; } |
117 | 109 |
|
118 | 110 | .feed-link { |
119 | 111 | margin-top: 20px; |
|
134 | 126 | color:white; |
135 | 127 | background: rgb(252, 100, 35); |
136 | 128 |
|
137 | | - i { |
138 | | - color: white; |
139 | | - } |
| 129 | + i { color: white; } |
140 | 130 | } |
141 | 131 | } |
142 | 132 | } |
143 | 133 |
|
144 | | -.links-of-author { |
145 | | - margin-top: 20px; |
146 | | -} |
| 134 | +.links-of-author { margin-top: 20px; } |
147 | 135 |
|
148 | 136 | .links-of-author a { |
149 | 137 | display: inline-block; |
|
177 | 165 | border-bottom: 1px solid transparent; |
178 | 166 | font-size: 15px; |
179 | 167 |
|
180 | | - &:hover { |
181 | | - color: $whitesmoke; |
182 | | - } |
183 | | -} |
184 | | -.page-post-detail .sidebar-nav-toc { |
185 | | - padding: 0 5px; |
| 168 | + &:hover { color: $whitesmoke; } |
186 | 169 | } |
| 170 | +.page-post-detail .sidebar-nav-toc { padding: 0 5px; } |
187 | 171 |
|
188 | | -.page-post-detail .sidebar-nav-overview { |
189 | | - margin-left: 10px; |
190 | | -} |
| 172 | +.page-post-detail .sidebar-nav-overview { margin-left: 10px; } |
191 | 173 |
|
192 | 174 | .sidebar-nav .sidebar-nav-active { |
193 | 175 | color: $sidebar-highlight; |
194 | 176 | border-bottom-color: $sidebar-highlight; |
195 | 177 |
|
196 | | - &:hover { |
197 | | - color: $sidebar-highlight; |
198 | | - } |
| 178 | + &:hover { color: $sidebar-highlight; } |
199 | 179 | } |
200 | 180 |
|
201 | 181 | .sidebar-panel { display: none; } |
|
228 | 208 | } |
229 | 209 | } |
230 | 210 |
|
231 | | -.post-toc .nav .nav-child { |
232 | | - display: none; |
233 | | -} |
| 211 | +.post-toc .nav .nav-child { display: none; } |
234 | 212 |
|
235 | | -.post-toc .nav .active .nav-child { |
236 | | - display: block; |
237 | | -} |
| 213 | +.post-toc .nav .active .nav-child { display: block; } |
238 | 214 |
|
239 | | -.post-toc .nav .active > a { |
240 | | - color: $grey-light; |
241 | | -} |
| 215 | +.post-toc .nav .active > a { color: $grey-light; } |
242 | 216 |
|
243 | 217 | .post-toc .nav .active-current > a { |
244 | 218 | color: $sidebar-highlight; |
|
0 commit comments