MediaWiki:Vector.css: Difference between revisions
Fix for sidebar gap at narrower widths |
Move edit tabs under red line |
||
| Line 13: | Line 13: | ||
--head-personal-height:3em; | --head-personal-height:3em; | ||
--head-background-image:url("https://wiki.geministation.com/images/0/0f/Wiki_background.jpg"); /* [[File:Wiki_background.jpg]] */ | --head-background-image:url("https://wiki.geministation.com/images/0/0f/Wiki_background.jpg"); /* [[File:Wiki_background.jpg]] */ | ||
--head-height:calc( | --head-height:calc(5.5em + var(--head-personal-height) + var(--search-height) + var(--logo-height)); | ||
| Line 154: | Line 154: | ||
width:var(--logo-width); | width:var(--logo-width); | ||
height:var(--logo-height); | height:var(--logo-height); | ||
} | |||
@media screen and (max-width: 982px) { | |||
#p-logo { | |||
top:calc((var(--head-height) + var(--head-border-height) + 2.5em) * -1); | |||
} | |||
} | } | ||
| Line 215: | Line 221: | ||
#left-navigation, | #left-navigation, | ||
#right-navigation { | #right-navigation { | ||
margin-top: | margin-top:var(--head-height)); | ||
} | } | ||
| Line 309: | Line 315: | ||
top:calc(var(--head-height) + var(--head-border-height) - 1px); | top:calc(var(--head-height) + var(--head-border-height) - 1px); | ||
width:var(--sidebar-width); | width:var(--sidebar-width); | ||
} | |||
@media screen and (max-width: 982px) { | |||
#mw-panel { | |||
top:calc(var(--head-height) + var(--head-border-height) + 2.5em - 1px) | |||
} | |||
} | } | ||