|
1 | 1 | @import "variables.less";
|
2 | 2 |
|
3 | 3 | .documentationContent {
|
4 |
| - margin-top:3px; |
| 4 | + margin-top: 3px; |
5 | 5 | margin-bottom: 8em;
|
6 | 6 | display: flex;
|
7 | 7 | width: 100%;
|
|
13 | 13 | }
|
14 | 14 | }
|
15 | 15 |
|
16 |
| -.headerline{ |
| 16 | +.headerline { |
17 | 17 | display: flex;
|
18 | 18 | // padding-right: 5px;
|
19 | 19 | // justify-content: center;
|
20 | 20 | }
|
21 | 21 |
|
22 | 22 | .main-block-blog {
|
23 |
| - /* background-color: #f0ece2; */ |
24 |
| - background-color: #fff; |
25 |
| - padding: 10px; |
26 |
| - margin: 10px; |
27 |
| - margin-bottom: 100px; |
28 |
| - justify-content: center; |
29 |
| - position: relative; |
30 |
| - flex-flow: row; |
31 |
| - text-align: center; |
| 23 | + /* background-color: #f0ece2; */ |
| 24 | + background-color: #fff; |
| 25 | + padding: 10px; |
| 26 | + margin: 10px; |
| 27 | + margin-bottom: 100px; |
| 28 | + justify-content: center; |
| 29 | + position: relative; |
| 30 | + flex-flow: row; |
| 31 | + text-align: center; |
32 | 32 | }
|
33 | 33 |
|
34 |
| -.column{ |
| 34 | +.column { |
35 | 35 | // padding: 0 10px;
|
36 | 36 | box-sizing: border-box;
|
37 | 37 | border: 3px rgb(44, 38, 38);
|
38 | 38 | justify-content: space-around;
|
39 |
| - margin-right: 15px; |
40 |
| - // width: 800px; |
41 |
| - // height: 250px; |
| 39 | + margin-right: 15px; |
| 40 | + // width: 800px; |
| 41 | + // height: 250px; |
42 | 42 | }
|
43 | 43 |
|
44 | 44 | .container-bl {
|
45 | 45 | display: flex;
|
46 | 46 | justify-content: center;
|
47 |
| - /* align-items: center; */ |
48 |
| - // padding: 10px; |
49 |
| - flex-direction: row; |
50 |
| - // max-width: 1000px; |
51 |
| - margin-right: 10px; |
52 |
| - justify-content: space-around; |
| 47 | + /* align-items: center; */ |
| 48 | + // padding: 10px; |
| 49 | + flex-direction: row; |
| 50 | + // max-width: 1000px; |
| 51 | + margin-right: 10px; |
| 52 | + justify-content: space-around; |
53 | 53 | }
|
54 | 54 |
|
55 | 55 | .container-bl1 {
|
56 | 56 | display: flex;
|
57 | 57 | justify-content: center;
|
58 |
| - /* align-items: center; */ |
59 |
| - // padding: 10px; |
60 |
| - flex-direction: row; |
61 |
| - // max-width: 1000px; |
62 |
| - margin-right: 10px; |
63 |
| - justify-content: space-around; |
| 58 | + /* align-items: center; */ |
| 59 | + // padding: 10px; |
| 60 | + flex-direction: row; |
| 61 | + // max-width: 1000px; |
| 62 | + margin-right: 10px; |
| 63 | + justify-content: space-around; |
64 | 64 | }
|
65 | 65 |
|
66 |
| -.codetitle{ |
67 |
| - font-family: 'Rubik', 'Helvetica Neue', Helvetica, Arial, sans-serif; |
| 66 | +.codetitle { |
| 67 | + font-family: "Rubik", "Helvetica Neue", Helvetica, Arial, sans-serif; |
68 | 68 | font-weight: 300;
|
69 | 69 | color: #202020;
|
70 | 70 | font-size: 22px;
|
71 | 71 | line-height: 30.8px;
|
72 | 72 | }
|
73 | 73 |
|
74 | 74 | .article {
|
75 |
| - background: white; |
76 |
| - /* background-image: url(../imgs/corona-virus.jpg) ; */ |
77 |
| - /* filter: blur(8px); */ |
78 |
| - // margin: 0 0 20px; |
79 |
| - padding: 5px; |
80 |
| - // border-radius: 1.5px; |
81 |
| - // border: 0.7px solid black; |
82 |
| - // box-shadow: 0 2px 4px #010101; |
83 |
| - cursor: pointer; |
| 75 | + background: white; |
| 76 | + /* background-image: url(../imgs/corona-virus.jpg) ; */ |
| 77 | + /* filter: blur(8px); */ |
| 78 | + // margin: 0 0 20px; |
| 79 | + padding: 5px; |
| 80 | + // border-radius: 1.5px; |
| 81 | + // border: 0.7px solid black; |
| 82 | + // box-shadow: 0 2px 4px #010101; |
| 83 | + cursor: pointer; |
84 | 84 | transition: 0.3s ease;
|
85 | 85 | width: 140px;
|
86 | 86 | height: 160px;
|
87 | 87 | }
|
88 | 88 |
|
89 | 89 | .article:active {
|
90 |
| - box-shadow: none; |
91 |
| - transform-origin: center; |
92 |
| - transform: scale(0.98); |
| 90 | + box-shadow: none; |
| 91 | + transform-origin: center; |
| 92 | + transform: scale(0.98); |
93 | 93 | }
|
94 | 94 |
|
95 | 95 | .article_category {
|
96 |
| - display: inline-block; |
97 |
| - // background: rgb(235, 150, 206); |
98 |
| - /* 47bbc5 */ |
99 |
| - padding: 5px 8px; |
100 |
| - border: black; |
101 |
| - // border-radius: 10px; |
102 |
| - margin: 0 0 10px; |
103 |
| - color: white; |
104 |
| - font-size: 0.75rem; |
105 |
| - font-weight: 600; |
106 |
| - letter-spacing: 0.075rem; |
| 96 | + display: inline-block; |
| 97 | + // background: rgb(235, 150, 206); |
| 98 | + /* 47bbc5 */ |
| 99 | + padding: 5px 8px; |
| 100 | + border: black; |
| 101 | + // border-radius: 10px; |
| 102 | + margin: 0 0 10px; |
| 103 | + color: white; |
| 104 | + font-size: 0.75rem; |
| 105 | + font-weight: 600; |
| 106 | + letter-spacing: 0.075rem; |
107 | 107 | text-transform: uppercase;
|
108 | 108 | width: 100px;
|
109 | 109 | height: 100px;
|
110 | 110 | }
|
111 | 111 |
|
112 | 112 | .article_excerpt {
|
113 |
| - color: black; |
114 |
| - line-height: 1.5rem; |
115 |
| - font-size: 0.875rem; |
| 113 | + color: black; |
| 114 | + line-height: 1.5rem; |
| 115 | + font-size: 0.875rem; |
116 | 116 | }
|
117 | 117 |
|
118 | 118 | .article_title {
|
119 |
| - margin: 0 0 10px; |
120 |
| - color: #E10098; |
121 |
| - font-family: "Josefin Sans"; |
122 |
| - font-size: 1.25rem; |
123 |
| - // font-weight: 600; |
124 |
| - line-height: 1.75rem; |
| 119 | + margin: 0 0 10px; |
| 120 | + color: #e10098; |
| 121 | + font-family: "Josefin Sans"; |
| 122 | + font-size: 1.25rem; |
| 123 | + // font-weight: 600; |
| 124 | + line-height: 1.75rem; |
125 | 125 | }
|
126 | 126 |
|
127 |
| - |
128 | 127 | @media only screen and (min-width: 320px) and (max-width: 650px) {
|
129 |
| - .container-bl1 { |
130 |
| - flex-direction: column; |
131 |
| - width: 100%; |
132 |
| - } |
| 128 | + .container-bl1 { |
| 129 | + flex-direction: column; |
| 130 | + width: 100%; |
| 131 | + } |
133 | 132 | }
|
134 | 133 |
|
135 | 134 | .inner-content {
|
|
168 | 167 |
|
169 | 168 | .prism {
|
170 | 169 | position: relative;
|
171 |
| - box-shadow: |
172 |
| - inset 0 1px 0 rgba(0,0,0,0.08), |
173 |
| - inset 0 -1px 0 rgba(0,0,0,0.08), |
174 |
| - inset -1px 0 0 rgba(0,0,0,0.08), |
175 |
| - inset 4px 0 0 rgba(0,0,0,0.08); |
| 170 | + box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.08), |
| 171 | + inset 0 -1px 0 rgba(0, 0, 0, 0.08), inset -1px 0 0 rgba(0, 0, 0, 0.08), |
| 172 | + inset 4px 0 0 rgba(0, 0, 0, 0.08); |
176 | 173 | border-radius: 3px;
|
177 | 174 |
|
178 | 175 | .line-highlight {
|
|
198 | 195 | .not(code) > pre.prism {
|
199 | 196 | text-shadow: 0 1px white;
|
200 | 197 |
|
201 |
| - &::-moz-selection, &::selection { |
| 198 | + &::-moz-selection, |
| 199 | + &::selection { |
202 | 200 | text-shadow: none;
|
203 | 201 | }
|
204 | 202 | }
|
|
220 | 218 | }
|
221 | 219 |
|
222 | 220 | border-radius: 3px;
|
223 |
| - box-shadow: inset 0 0 0 1px rgba(0,0,0,0.1); |
| 221 | + box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1); |
224 | 222 | padding: 0.7em 1.5em 0.5em 1em;
|
225 | 223 |
|
226 |
| - &:hover, &:focus, &:active { |
| 224 | + &:hover, |
| 225 | + &:focus, |
| 226 | + &:active { |
227 | 227 | background: @rhodamine-color;
|
228 | 228 | text-decoration: none;
|
229 | 229 |
|
230 |
| - .read-next-continue, .read-next-title { |
| 230 | + .read-next-continue, |
| 231 | + .read-next-title { |
231 | 232 | color: white;
|
232 | 233 | }
|
233 | 234 | }
|
|
282 | 283 | color: #666;
|
283 | 284 | display: block;
|
284 | 285 |
|
285 |
| - &:hover, &:focus, &.active { |
| 286 | + &:hover, |
| 287 | + &:focus, |
| 288 | + &.active { |
286 | 289 | text-decoration: none;
|
287 | 290 | color: @rhodamine-color;
|
288 | 291 | }
|
|
292 | 295 | .blog-sidebar {
|
293 | 296 | .recent-posts {
|
294 | 297 | li {
|
295 |
| - border-bottom: 1px solid #DDD; |
| 298 | + border-bottom: 1px solid #ddd; |
296 | 299 | line-height: 18px;
|
297 | 300 | padding: 10px 0;
|
298 | 301 | font-weight: bold;
|
|
304 | 307 | }
|
305 | 308 | }
|
306 | 309 | }
|
| 310 | + |
| 311 | +.blog-sidebar { |
| 312 | + .categories { |
| 313 | + li { |
| 314 | + font-weight: bold; |
| 315 | + color: @rhodamine-color; |
| 316 | + } |
| 317 | + } |
| 318 | +} |
0 commit comments