Don't hide the copyright notice or whatever's at the bottom if you use bottom header.
This commit is contained in:
parent
c9f1a4b6d9
commit
c99fe351e6
@ -93,11 +93,12 @@ a[href="javascript:;"] {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Header */
|
/* Header */
|
||||||
.fourchan-x body {
|
:root.top-header body {
|
||||||
-moz-box-sizing: border-box;
|
|
||||||
box-sizing: border-box;
|
|
||||||
margin-top: 2em;
|
margin-top: 2em;
|
||||||
}
|
}
|
||||||
|
:root.bottom-header body {
|
||||||
|
margin-bottom: 2em;
|
||||||
|
}
|
||||||
.fourchan-x #boardNavDesktop,
|
.fourchan-x #boardNavDesktop,
|
||||||
.fourchan-x #navtopright,
|
.fourchan-x #navtopright,
|
||||||
.fourchan-x #boardNavDesktopFoot {
|
.fourchan-x #boardNavDesktopFoot {
|
||||||
@ -256,6 +257,10 @@ a[href="javascript:;"] {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Settings */
|
/* Settings */
|
||||||
|
:root.fourchan-x body {
|
||||||
|
-moz-box-sizing: border-box;
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
#overlay {
|
#overlay {
|
||||||
background-color: rgba(0, 0, 0, .5);
|
background-color: rgba(0, 0, 0, .5);
|
||||||
display: -webkit-flex;
|
display: -webkit-flex;
|
||||||
|
|||||||
@ -146,6 +146,12 @@ Header =
|
|||||||
|
|
||||||
setBarPosition: (bottom) ->
|
setBarPosition: (bottom) ->
|
||||||
$.event 'CloseMenu'
|
$.event 'CloseMenu'
|
||||||
|
if bottom
|
||||||
|
$.addClass doc, 'bottom-header'
|
||||||
|
$.rmClass doc, 'top-header'
|
||||||
|
else
|
||||||
|
$.addClass doc, 'top-header'
|
||||||
|
$.rmClass doc, 'bottom-header'
|
||||||
Header.positionToggler.firstElementChild.checked = bottom
|
Header.positionToggler.firstElementChild.checked = bottom
|
||||||
Header.bar.parentNode.className = if bottom
|
Header.bar.parentNode.className = if bottom
|
||||||
'bottom'
|
'bottom'
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user