MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(2 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 */ | ||
/* Verbatim text */ | |||
.mw-body code { | |||
color: inherit; | |||
background: none; | |||
border: none; | |||
border-radius: 0; | |||
padding: 0; | |||
} | |||
.mw-body pre { | |||
padding: 0; | |||
margin: 0.5em 0 0.5em 2em; | |||
border: none; | |||
background: none; | |||
} | |||
/* Context boxes */ | /* Context boxes */ | ||
Line 27: | Line 44: | ||
div.thumb { | div.thumb { | ||
margin-bottom: 1em; | margin-bottom: 1em; | ||
} | |||
/* Screenshots are shown bare, unscaled, with shaped drop shadow. | |||
Browser support for this may be variable! */ | |||
img.screenshot { | |||
filter: drop-shadow(5px 5px 5px #aaa); | |||
margin-bottom: 1em; | |||
} | } | ||
Latest revision as of 21:31, 29 February 2024
/* CSS placed here will be applied to all skins */ /* Verbatim text */ .mw-body code { color: inherit; background: none; border: none; border-radius: 0; padding: 0; } .mw-body pre { padding: 0; margin: 0.5em 0 0.5em 2em; border: none; background: none; } /* Context boxes */ div.context-box { font-style: italic; background-color: #dde; padding: 6px; border-radius: 6px; border: 2px solid #aab; } p.context-heading { font-family: 'Roboto Slab', sans-serif; font-weight: normal; font-size: 116%; margin-bottom: .3em; margin-top: 0pt; padding-bottom: .17em; } /* Drop shadows on displayed images */ div.thumbinner { box-shadow: 5px 5px 5px #aaa; } div.thumb { margin-bottom: 1em; } /* Screenshots are shown bare, unscaled, with shaped drop shadow. Browser support for this may be variable! */ img.screenshot { filter: drop-shadow(5px 5px 5px #aaa); margin-bottom: 1em; } /* Show document icon for internal PDF links */ #bodyContent a.internal[href$=".pdf"], #bodyContent a.extiw[href$=".pdf"] { background: url("resources/local/document.png") center right no-repeat; padding-right: 12px; }