We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0eb09b1 commit 2bdc68eCopy full SHA for 2bdc68e
lib/default-theme/styles/mobile.styl
@@ -21,9 +21,13 @@ $mobileSidebarWidth = $sidebarWidth * 0.82
21
transition transform .2s ease
22
.page
23
padding-left 0
24
- .theme-container.sidebar-open
25
- .sidebar
26
- transform translateX(0)
+ .theme-container
+ &.sidebar-open
+ .sidebar
27
+ transform translateX(0)
28
+ &.no-navbar
29
30
+ padding-top: 0
31
32
// narrow mobile
33
@media (max-width: $MQMobileNarrow)
lib/default-theme/styles/theme.styl
@@ -167,10 +167,14 @@ th, td
167
.sidebar-mask
168
display: block
169
&.no-navbar
170
- .content:not(.custom)
+ .content:not(.custom) >
171
h1, h2, h3, h4, h5, h6
172
margin-top 1.5rem
173
padding-top 0
174
175
+ top 0
176
+ .custom-layout
177
+ padding-top 0
178
179
180
@media (min-width: ($MQMobile + 1px))
0 commit comments