MediaWiki:Common.css: Difference between revisions
From He is Coming Official Wiki
HolyMormor (talk | contribs) mNo edit summary |
HolyMormor (talk | contribs) mNo edit summary |
||
| Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
/* Remove default underline */ | |||
h2, h3, h4 { | |||
border-bottom: none !important; | |||
position: relative; | |||
padding-bottom: 8px; /* optional, adjust spacing */ | |||
} | } | ||
/* Add pixel border line using sprites */ | |||
h2::after, h3::after, h4::after { | |||
content: ""; | |||
display: block; | display: block; | ||
height: 5px; | height: 5px; | ||
width: 100%; | |||
margin-top: 4px; | |||
background: | |||
no-repeat left center / auto 5px url(/images/mbhh_hisc/0/0c/Border_line_left.png?20250801175416), | |||
repeat-x center center / auto 5px url(/images/mbhh_hisc/2/2b/Border_line_middle.png?20250801175434), | |||
background- | no-repeat right center / auto 5px url(/images/mbhh_hisc/b/b3/Border_line_right.png?20250801175454); | ||
} | } | ||
Revision as of 18:51, 1 August 2025
/* CSS placed here will be applied to all skins */
/* Remove default underline */
h2, h3, h4 {
border-bottom: none !important;
position: relative;
padding-bottom: 8px; /* optional, adjust spacing */
}
/* Add pixel border line using sprites */
h2::after, h3::after, h4::after {
content: "";
display: block;
height: 5px;
width: 100%;
margin-top: 4px;
background:
no-repeat left center / auto 5px url(/images/mbhh_hisc/0/0c/Border_line_left.png?20250801175416),
repeat-x center center / auto 5px url(/images/mbhh_hisc/2/2b/Border_line_middle.png?20250801175434),
no-repeat right center / auto 5px url(/images/mbhh_hisc/b/b3/Border_line_right.png?20250801175454);
}


