File tree Expand file tree Collapse file tree 3 files changed +40
-35
lines changed Expand file tree Collapse file tree 3 files changed +40
-35
lines changed Original file line number Diff line number Diff line change @@ -118,12 +118,10 @@ body ::-webkit-scrollbar-thumb {
118
118
background-color : var (--scrollbar-thumb-color );
119
119
}
120
120
121
- @media screen and (min-width : 1024px ) {
122
- .container {
123
- display : flex;
124
- position : relative;
125
- width : 100% ;
126
- max-width : 1280px ;
127
- margin : 0 auto;
128
- }
121
+ .container {
122
+ display : flex;
123
+ position : relative;
124
+ width : 100% ;
125
+ max-width : 1280px ;
126
+ margin : 0 auto;
129
127
}
Original file line number Diff line number Diff line change 1
- @media screen and (min-width : 768px ) {
2
- .boxes {
3
- display : flex;
4
- flex-wrap : wrap;
5
- justify-content : space-between;
6
- }
1
+ .boxes {
2
+ display : flex;
3
+ flex-wrap : wrap;
4
+ justify-content : space-between;
5
+ }
7
6
8
- .box {
9
- flex : 0 30% ;
10
- min-height : 200px ;
11
- margin-bottom : 2% ; /* (200-32*3)/2 */
12
- }
7
+ .box {
8
+ flex : 0 30% ;
9
+ min-height : 200px ;
10
+ margin-bottom : 2% ; /* (200-32*3)/2 */
11
+ }
13
12
14
- .boxes .two-column .box {
15
- flex : 0 48% ;
16
- }
13
+ .boxes .two-column .box {
14
+ flex : 0 48% ;
15
+ }
17
16
18
- .box h3 {
19
- display : inline-block;
20
- }
17
+ .box h3 {
18
+ display : inline-block;
19
+ }
21
20
22
- .box div {
23
- display : inline-block;
24
- }
21
+ .box div {
22
+ display : inline-block;
23
+ }
25
24
26
- .box p {
27
- display : inline-block;
28
- }
25
+ .box p {
26
+ display : inline-block;
27
+ }
29
28
30
- .box .admonitionblock {
31
- margin-top : 2.8rem ;
32
- }
29
+ .box .admonitionblock {
30
+ margin-top : 2.8rem ;
33
31
}
34
32
35
33
@media screen and (max-width : 1023.5px ) {
36
34
.box {
37
35
flex : 0 47% !important ;
38
36
}
39
37
}
38
+
39
+ @media screen and (max-width : 768px ) {
40
+ .box {
41
+ flex : 0 100% !important ;
42
+ }
43
+ }
Original file line number Diff line number Diff line change
1
+ main {
2
+ min-width : 0 ; /* min-width: 0 required for flexbox to constrain overflowing elements */
3
+ }
4
+
1
5
@media screen and (max-width : 1023.5px ) {
2
6
aside .toc .sidebar {
3
7
display : none;
11
15
@media screen and (min-width : 1024px ) {
12
16
main {
13
17
flex : auto;
14
- min-width : 0 ; /* min-width: 0 required for flexbox to constrain overflowing elements */
15
18
}
16
19
17
20
main > .content {
You can’t perform that action at this time.
0 commit comments