MediaWiki:Minerva.css: Difference between revisions
Created page with "→All CSS here will be loaded for users of the MinervaNeue skin. This is the skin used by MobileFrontend.: →<nowiki>: .tunk, .tneg, .tpos { vertical-align: 20%; font-size: 80%; } .use-with-mention, .ib-content { font-style: italic; } .senseid:target { background: var(--wikt-palette-lightblue, #DEF); } →hide redundant second interProject links: .interProject { display: none; clear: both; border-top: 2px dotted var(--border-color-base, #AA..." |
Replaced content with "→All CSS here will be loaded for users of the MinervaNeue skin. This is the skin used by MobileFrontend.: →<nowiki>: .tunk, .tneg, .tpos { vertical-align: 20%; font-size: 80%; } .use-with-mention, .ib-content { font-style: italic; } .senseid:target { background: var(--wikt-palette-lightblue); } →hide redundant second interProject links: .interProject { display: none; clear: both; border-top: 2px dotted var(--border-color-base, #AAAAAA); margin..." Tag: Replaced |
||
| (One intermediate revision by the same user not shown) | |||
| Line 3: | Line 3: | ||
.tunk, .tneg, .tpos { | .tunk, .tneg, .tpos { | ||
vertical-align: 20%; | |||
font-size: 80%; | |||
} | } | ||
.use-with-mention, .ib-content { | .use-with-mention, .ib-content { | ||
font-style: italic; | |||
} | } | ||
.senseid:target { | .senseid:target { | ||
background: var(--wikt-palette-lightblue); | |||
} | } | ||
| Line 28: | Line 28: | ||
.ul-column-count > dl, | .ul-column-count > dl, | ||
.term-list .CategoryTreeChildren { | .term-list .CategoryTreeChildren { | ||
column-count: 1 !important; | |||
} | } | ||
/* Default background color for multi-column lists. */ | |||
.columns-bg { | .columns-bg { | ||
background: var(--wikt-palette-lavender); | |||
background: var(--wikt-palette-lavender | |||
} | } | ||
| Line 53: | Line 52: | ||
.wikt-hierokludge { | .wikt-hierokludge { | ||
display: inline-block; | display: inline-block; | ||
} | } | ||
| Line 84: | Line 63: | ||
/* Don't float sister project boxes and the like. Note, table.floatright is already dealt with by | /* Don't float sister project boxes and the like. Note, table.floatright is already dealt with by | ||
built-in MediaWiki mobile site style overrides, but only when the width is < 720 px, | |||
so match that behavior */ | |||
@media screen and (max-width: 719px) { | @media screen and (max-width: 719px) { | ||
.content .floatright { | |||
float: none; | |||
margin-left: 0; | |||
margin-right: 0; | |||
} | |||
} | } | ||
/* stuff visible when previewing an edit only */ | /* stuff visible when previewing an edit only */ | ||
.previewonly { | |||
display: none; | |||
} | |||
#wikiPreview .previewonly { | |||
display: inline; | |||
#wikiPreview .previewonly { display: inline; | } | ||
/* Shorten margins in nested definitions and discussions on narrow screens */ | /* Shorten margins in nested definitions and discussions on narrow screens */ | ||
| Line 142: | Line 119: | ||
} | } | ||
/* [[phab:T316670]] */ | |||
.mw-heading * { | .mw-heading * { | ||
word-break: normal; | word-break: normal; | ||
} | } | ||
/* aesthetic tweak */ | |||
#content .mw-heading3 { | #content .mw-heading3 { | ||
margin-top: 0; | |||
} | } | ||
/* aesthetic tweak */ | |||
.mw-parser-output ul { | .mw-parser-output ul { | ||
margin-bottom: 0.5em; | |||
} | } | ||
| Line 161: | Line 141: | ||
max-width: fit-content; | max-width: fit-content; | ||
margin-top: 0.6em; | margin-top: 0.6em; | ||
} | } | ||
/* undo https://phabricator.wikimedia.org/T367240, where Wikimedia devs again assumed they know better than everyone else */ | /* undo https://phabricator.wikimedia.org/T367240, where Wikimedia devs again assumed they know better than everyone else */ | ||
.client-js .mw-parser-output > section > .mw-heading:not(.mf-collapsible-heading) { | .client-js .mw-parser-output > section > .mw-heading:not(.mf-collapsible-heading) { | ||
padding-left: 0; | |||
border: none; | |||
} | } | ||
/* [[Wiktionary:Beer_parlour# | /* [[Wiktionary:Beer_parlour/2024/September#Heading_level_4_appearance]]: | ||
* h3 is 120% 1.2em, and h5 is 100%. make h4 110% = 1.1em. | * h3 is 120% 1.2em, and h5 is 100%. make h4 110% = 1.1em. | ||
* increase h3 to 125% to compensate, since otherwise h3 and h4 are too similar. | * increase h3 to 125% to compensate, since otherwise h3 and h4 are too similar. | ||
| Line 219: | Line 178: | ||
} | } | ||
/*</nowiki>*/ | /* </nowiki> */ | ||