Skip to content

Commit 525a55e

Browse files
committed
Adjust responsive to main
1 parent 29d2354 commit 525a55e

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

docs/.vuepress/theme/styles/responsive.styl

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
display none
2020

2121
&.has-sidebar
22-
div.page
22+
main.page
2323
max-width "calc(100vw - %s - 15em)" % $sidebarWidth
2424

2525
footer.footer
@@ -37,7 +37,7 @@
3737
border-bottom 1px dotted $accentColorDark
3838

3939
#wrapper:not(.has-sidebar)
40-
div.page, footer.footer
40+
main.page, footer.footer
4141
margin-left auto
4242
margin-right auto
4343
max-width 85vw
@@ -47,7 +47,7 @@
4747
padding-right 0
4848

4949
#wrapper.has-sidebar
50-
div.page
50+
main.page
5151
margin-left 2.75em
5252
max-width "calc(100vw - %s - 8em)" % $sidebarWidth
5353

@@ -67,7 +67,7 @@
6767
display none !important
6868

6969
#wrapper.has-sidebar
70-
div.page, footer.footer
70+
main.page, footer.footer
7171
margin-left auto
7272
margin-right auto
7373
max-width 85vw
@@ -91,6 +91,9 @@
9191
right 2em
9292
width calc(100vw - 4em)
9393

94+
div.intro-blocks
95+
background red
96+
9497
@media screen and (max-width $breakXXS)
9598
body
9699
font-size 16px

0 commit comments

Comments
 (0)