|
|
(34 intermediate revisions by the same user not shown) |
Line 4: |
Line 4: |
| */ | | */ |
|
| |
|
| | | #column-content, #column-one { |
| /* Force lining numbers in headers (for fonts like Georgia) */
| | background-color: #00FF00; |
| h1,
| |
| h2,
| |
| .firstHeading {
| |
| font-variant-numeric: lining-nums;
| |
| background-color: var( --background-color-error-subtle, #00ffff );
| |
| }
| |
| | |
| /* Consistent size for sub/sup */
| |
| .mw-body sub,
| |
| .mw-body sup {
| |
| font-size: 80%;
| |
| background-color: var( --background-color-error-subtle, #ff0000 ); | |
| }
| |
| | |
| /* Public Domain background in the Help namespace */
| |
| .action-view.ns-12 #bodyContent {
| |
| background-image: url(//upload.wikimedia.org/wikipedia/commons/6/67/PD-icon-faded.png);
| |
| background-repeat: no-repeat;
| |
| /* @noflip */
| |
| background-position: right 5em;
| |
| }
| |
| | |
| /*
| |
| * Hide elements on the main page.
| |
| */
| |
| .page-MediaWiki #lastmod,
| |
| .page-MediaWiki #siteSub,
| |
| .page-MediaWiki #contentSub,
| |
| .page-MediaWiki .subtitle,
| |
| .page-MediaWiki #jump-to-nav,
| |
| /* can be removed when Template:Main_page translations are updated. */
| |
| .page-MediaWiki #firstHeading,
| |
| [lang="en"] .page-MediaWiki .mw-parser-output h2 {
| |
| display: none;
| |
| } | | } |
|
| |
|
| [lang="en"] .page-MediaWiki #firstHeading {
| | h1 { |
| font-size: 1.5em;
| | background-color: #ABCA4B; |
| display: block;
| |
| } | | } |
| | | h2 { |
| /* Give a bit of space to the TOC */
| | background-color: #ABCA4B; |
| #toc {
| |
| margin: 1em 0;
| |
| }
| |
| | |
| /* Fonts for Persian language for consistency with other Wikimedia wikis */
| |
| :lang(fa) {
| |
| font-family: '.Arabic UI Text', Tahoma, 'Iranian Sans', 'Noto Sans Arabic', 'DejaVu Sans', sans-serif;
| |
| } | | } |
|
| |
|
| /* Div based "warning" style fmbox messages. */
| | :link.new { |
| div.mw-warning-with-logexcerpt,
| | color: #FF1111; |
| div.mw-lag-warn-high,
| |
| div.mw-cascadeprotectedwarning,
| |
| div#mw-protect-cascadeon,
| |
| div.titleblacklist-warning {
| |
| clear: both;
| |
| margin: 0.2em 0;
| |
| border: 1px solid var( --border-color-error, #9f3526 );
| |
| background-color: var( --background-color-error-subtle, #ffdbdb );
| |
| color: var( --color-base, #202122 );
| |
| padding: 0.25em 0.9em;
| |
| box-sizing: border-box;
| |
| } | | } |
|
| |
|
| /* Hide confusing "Discussion" tab on [[Project:Support_desk]].
| | mw-panel a:visited, |
| * For sanity, only do this if [[Project_talk:Support_desk]] is a
| | p-personal a:visited, |
| * redirect (which goes back to [[Project:Support_desk]]).
| | p-search a:visited { |
| * If that is changed for some reason, it automatically comes back.
| | background-color: #00FF00; |
| */
| |
| .page-Project_Support_desk #ca-talk a.mw-redirect {
| |
| display: none;
| |
| } | | } |