Difference between revisions of "MediaWiki:Vector.css"
From SimCity Wiki
Line 31: | Line 31: | ||
#stickyunit { | #stickyunit { | ||
position: -webkit-sticky; // required for Safari | position: -webkit-sticky; // required for Safari | ||
− | + | position: sticky; | |
− | + | top: 0; // required as well. | |
} | } | ||
/* background colors and whatnot */ | /* background colors and whatnot */ |
Revision as of 09:17, 1 March 2017
/* CSS placed here will affect users of the Vector skin */ /* widen the sidebar */ div#mw-panel { width: 12em; } div#footer, #mw-head-base, div#content { margin-left: 12em; } #left-navigation { left: 12em; } div#mw-panel div.portal { padding-bottom: 5px; } div#p-namespaces { margin-left: 1em; } div#mw-panel div.portal { margin: 0 0.6em 0 0; } div#mw-panel div.portal div.body ul li { margin-left: 1em; } #stickyunit { position: -webkit-sticky; // required for Safari position: sticky; top: 0; // required as well. } /* background colors and whatnot */