File tree 2 files changed +21
-24
lines changed
2 files changed +21
-24
lines changed Original file line number Diff line number Diff line change 21
21
@animation_fadein_300 : fadeIn 0.3s ;
22
22
23
23
/* * documentation list **/
24
- .blog ,
25
24
.doc ,
25
+ .blog ,
26
26
.meetup ,
27
27
.recruit ,
28
28
.weekly {
43
43
.sidebar ,
44
44
.sidebar-page {
45
45
min-height : calc (~ ' 100vh - @{footer_height_pc} ' );
46
+ }
46
47
47
- & .sidebar {
48
+ & .doc {
49
+ .sidebar {
48
50
flex : 0 0 @sidebar_width ;
49
51
}
50
52
}
75
77
flex : 1 ;
76
78
padding : 20px ;
77
79
min-height : 500px ;
80
+ max-width : calc (~ ' 100% - 24.5rem' );
78
81
padding : calc (~ ' @{header_height} + 20px' ) 1.2rem 1.5rem 1rem ;
79
- overflow-x : auto ;
80
82
81
83
h1 ,
82
84
h2 ,
106
108
107
109
.archive {
108
110
.content {
111
+ overflow-x : auto ;
109
112
ol ,
110
113
p ,
111
114
table ,
247
250
.meetup ,
248
251
.recruit ,
249
252
.weekly {
250
- .nav-tags {
253
+ .sidebar {
251
254
flex : 0 0 15rem ;
252
255
max-width : 15rem ;
256
+ }
257
+
258
+ .nav-tags {
253
259
padding : 20px 0 ;
254
260
position : relative ;
255
261
top : @header_height ;
256
262
}
257
263
258
264
.archive ,
259
265
.list {
266
+ max-width : calc (~ ' 100% - 15rem' );
260
267
padding-left : 3rem ;
261
268
}
262
269
}
277
284
278
285
.archive ,
279
286
.list {
280
- flex-basis : 100% ;
287
+ max-width : 100% ;
281
288
margin : 30px 0 ;
282
- padding-left : 5px ;
283
- padding-right : 5px ;
289
+ padding : 30px 5px ;
284
290
}
285
291
286
292
.sidebar {
287
- flex : 100% ;
288
293
padding-top : 100px ;
294
+ max-height : 100vh ;
295
+ max-width : 100% ;
289
296
overflow : auto ;
290
297
}
291
298
292
299
.sidebar .tag-list {
293
300
margin-left : -5px ;
294
301
}
295
302
296
- & .doc {
297
- .sidebar-page {
298
- min-height : calc ( ~ ' 100vh - 280px ' );
299
- overflow : auto ;
303
+ & .blog ,
304
+ & .recruit {
305
+ .sidebar {
306
+ min-height : 50 vh ;
300
307
}
301
308
}
302
309
}
305
312
.recruit ,
306
313
.meetup {
307
314
.nav-tags {
308
- padding-top : 50 px ;
315
+ padding-top : 45 px ;
309
316
}
310
317
}
311
318
}
312
-
313
- @media (max-width : 480px ) {
314
- .blog .sidebar ,
315
- .doc .sidebar ,
316
- .meetup .sidebar ,
317
- .recruit .sidebar ,
318
- .weekly .sidebar {
319
- min-height : 100% ;
320
- }
321
- }
Original file line number Diff line number Diff line change 69
69
.tag-list {
70
70
display : flex ;
71
71
flex-flow : row wrap ;
72
- margin : 12px 0 0 -8 px ;
72
+ margin : 12px 0 0 -6 px ;
73
73
padding : 0 ;
74
74
75
75
a .tag {
You can’t perform that action at this time.
0 commit comments