Difference between revisions of "MediaWiki:Common.css"
From Apocrypals Apocrypha
Jump to navigationJump to search
Jemaleddin (talk | contribs) |
Jemaleddin (talk | contribs) |
||
| (24 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
.portlet h3 { text-transform: capitalize; } | |||
html { | |||
scroll-behavior: smooth; | |||
} | |||
@view-transition { navigation: auto; } | |||
.portlet h3 { text-transform: capitalize !important; } | |||
body { background-image: none; font-size: 75%; } | |||
@media screen and (max-width: 551px) { | |||
body { font-size: medium } | |||
.portlet { padding-left: 1em; } | |||
} | |||
.mw-body-content p, .mw-body-content h2, .mw-body-content h3, .mw-body-content h4, .mw-body-content h5, .mw-body-content h6, .mw-body-content blockquote, .mw-body-content dl, .mw-body-content ul, .mw-body-content ol { max-width: 50rem; } | |||
.portlet a { line-height: 1.3; border-bottom: 1px solid white; text-decoration: none; padding-bottom: 0px; } | |||
.portlet a:hover { line-height: 1.3; border-bottom: 1px solid currentColor; text-decoration: none; padding-bottom: 0px; } | |||
Latest revision as of 11:11, 7 March 2025
/* CSS placed here will be applied to all skins */
html {
scroll-behavior: smooth;
}
@view-transition { navigation: auto; }
.portlet h3 { text-transform: capitalize !important; }
body { background-image: none; font-size: 75%; }
@media screen and (max-width: 551px) {
body { font-size: medium }
.portlet { padding-left: 1em; }
}
.mw-body-content p, .mw-body-content h2, .mw-body-content h3, .mw-body-content h4, .mw-body-content h5, .mw-body-content h6, .mw-body-content blockquote, .mw-body-content dl, .mw-body-content ul, .mw-body-content ol { max-width: 50rem; }
.portlet a { line-height: 1.3; border-bottom: 1px solid white; text-decoration: none; padding-bottom: 0px; }
.portlet a:hover { line-height: 1.3; border-bottom: 1px solid currentColor; text-decoration: none; padding-bottom: 0px; }