MediaWiki:Common.css: Difference between revisions
EnWikiAdmin (talk | contribs) No edit summary |
EnWikiAdmin (talk | contribs) No edit summary |
||
(9 intermediate revisions by the same user not shown) | |||
Line 32: | Line 32: | ||
} | } | ||
/* Custom styling for each type of reference */ | |||
span[rel="mw:referencedBy"] > a::before { | |||
font-size: 80%; | |||
font-weight: bold; | |||
font-style: italic; | |||
content: counter(mw-ref-linkback, lower-alpha); | |||
content: | |||
} | } | ||
a[rel="mw:referencedBy"]::before { | a[rel="mw:referencedBy"]::before { | ||
Line 132: | Line 115: | ||
vertical-align: top; | vertical-align: top; | ||
} | } | ||
.infobox-label, | .infobox-label, | ||
Line 202: | Line 187: | ||
.mw-reflist li::before { | .mw-reflist li::before { | ||
counter-increment: footnote-counter !important; | counter-increment: footnote-counter !important; | ||
content: "[" counter(footnote-counter, lower-alpha) "] " !important; | |||
} | } | ||
Line 333: | Line 318: | ||
} | } | ||
} | |||
/* Hide ShortDescription on desktop */ | |||
body.skin-vector #siteSub { | |||
display: none; | |||
} | |||
/* Show ShortDescription on mobile */ | |||
@media (max-width: 768px) { | |||
body.skin-vector #siteSub { | |||
display: block; | |||
} | |||
} | } |