css
This commit is contained in:
parent
c84fd83d73
commit
05b8ce254b
|
@ -29,9 +29,6 @@ function layoutDiv() {
|
||||||
el += ' mobile-only';
|
el += ' mobile-only';
|
||||||
}
|
}
|
||||||
el += '">';
|
el += '">';
|
||||||
if (where == 'main') {
|
|
||||||
el += '<button type="button" class="sidebar-toggle" onclick="sidebar.toggle()"><svg class="icon" style="width:1em;height:1em;vertical-align:middle;fill:currentColor;overflow:hidden" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="15301"><path d="M566.407 808.3c26.9-0.1 49.3-20.8 51.6-47.6-1.9-27.7-23.9-49.7-51.6-51.6h-412.6c-28.2-1.4-52.6 19.5-55.5 47.6 2.3 26.8 24.6 47.5 51.6 47.6h416.5v4z m309.3-249.9c26.9-0.1 49.3-20.8 51.6-47.6-2.2-26.8-24.6-47.5-51.6-47.6h-721.9c-27.7-2.8-52.5 17.4-55.3 45.1-0.1 0.8-0.1 1.7-0.2 2.5 0.9 27.2 23.6 48.5 50.7 47.6H875.707z m-103.1-245.9c26.9-0.1 49.3-20.8 51.6-47.6-0.4-28.3-23.2-51.1-51.5-51.6h-618.9c-29.5-1.1-54.3 21.9-55.5 51.4v0.2c1.4 27.8 25.2 49.2 53 47.8 0.8 0 1.7-0.1 2.5-0.2h618.8z" p-id="15302"></path><path d="M566.407 808.3c26.9-0.1 49.3-20.8 51.6-47.6-1.9-27.7-23.9-49.7-51.6-51.6h-412.6c-28.2-1.4-52.6 19.5-55.5 47.6 1.9 27.7 23.9 49.7 51.6 51.6h416.5z m309.3-249.9c26.9-0.1 49.3-20.8 51.6-47.6-2.2-26.8-24.6-47.5-51.6-47.6h-721.9c-27.7-2.8-52.5 17.4-55.3 45.1-0.1 0.8-0.1 1.7-0.2 2.5 0.9 27.2 23.6 48.5 50.7 47.6H875.707z m-103.1-245.9c26.9-0.1 49.3-20.8 51.6-47.6-0.4-28.3-23.2-51.1-51.5-51.6h-618.9c-29.5-1.1-54.3 21.9-55.5 51.4v0.2c1.4 27.8 25.2 49.2 53 47.8 0.8 0 1.7-0.1 2.5-0.2h618.8z" p-id="15303"></path></svg></button>';
|
|
||||||
}
|
|
||||||
el += partial('logo');
|
el += partial('logo');
|
||||||
if (where != 'main') {
|
if (where != 'main') {
|
||||||
if (page.layout === 'wiki' && page.wiki) {
|
if (page.layout === 'wiki' && page.wiki) {
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
// iPad 竖屏
|
// iPad 竖屏
|
||||||
@media screen and (max-width: $device-tablet)
|
@media screen and (max-width: $device-tablet)
|
||||||
.mobile-only
|
.mobile-only
|
||||||
display: flex !important
|
display: block !important
|
||||||
.l_body
|
.l_body
|
||||||
padding: 0
|
padding: 0
|
||||||
.l_left
|
.l_left
|
||||||
|
|
|
@ -8,10 +8,5 @@
|
||||||
padding-top: "calc(2 * %s)" % var(--gap-l)
|
padding-top: "calc(2 * %s)" % var(--gap-l)
|
||||||
header
|
header
|
||||||
margin: 3rem 1rem 2rem
|
margin: 3rem 1rem 2rem
|
||||||
.sidebar-toggle
|
|
||||||
margin-right: .5rem
|
|
||||||
font-size: 1.25rem
|
|
||||||
background: none
|
|
||||||
color: var(--text-p1)
|
|
||||||
.logo-wrap
|
.logo-wrap
|
||||||
margin: 0
|
margin: 0
|
||||||
|
|
Loading…
Reference in New Issue