MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
Created page with "→CSS placed here will be applied to all skins: →added by dmac to increase space between paragraphs: .mw-parser-output > p { margin-top: 26px; } .mw-category-jumpbar { margin: .5em 0; font-size: 90%; }" |
No edit summary |
||
| Line 7: | Line 7: | ||
.mw-category-jumpbar { margin: .5em 0; font-size: 90%; } | .mw-category-jumpbar { margin: .5em 0; font-size: 90%; } | ||
#firstHeading{ | |||
position: sticky; | |||
top: 0; /* where it sticks */ | |||
z-index: 10; /* keep it above content */ | |||
background: white; /* prevent text underneath showing through */ | |||
margin: 0; | |||
padding: 12px 16px; | |||
border-bottom: 1px solid #ddd; | |||
} | |||
Revision as of 11:25, 1 March 2026
/* CSS placed here will be applied to all skins */
/* added by dmac to increase space between paragraphs */
.mw-parser-output > p {
margin-top: 26px;
}
.mw-category-jumpbar { margin: .5em 0; font-size: 90%; }
#firstHeading{
position: sticky;
top: 0; /* where it sticks */
z-index: 10; /* keep it above content */
background: white; /* prevent text underneath showing through */
margin: 0;
padding: 12px 16px;
border-bottom: 1px solid #ddd;
}