User:Fomafix/global.css
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* Hide user name on personal toolbar */
#pt-userpage:not(:hover) a {
visibility: hidden;
}
/* Hide user name on watch list */
.mw-special-Watchlist #contentSub:not(:hover) {
visibility: hidden;
}
.mw-watchlist-toollinks {
visibility: visible;
}
/* Highlight redirects on hover */
body .mw-redirect:hover,
.mw-redirect:hover * {
background-color: #fda;
}
/* Highlight links to redirect pages */
a[href*="&redirect=no"] {
background-color: #fda;
}
/* Highlight links to disambiguation pages */
.mw-disambig {
background-color: #ff9191;
}
.mw-disambig:after {
background-color: #ff9191;
content: "BKL";
font-size: x-small;
line-height: 0;
vertical-align: super;
}
/* Show item number of unnumbered lists on hover */
ul > li:hover {
list-style: decimal;
}
.skin-vector .mw-body {
/* Create a own stacking context to prevent overlap with the menu */
position: relative;
z-index: 0;
}
/* Test of [[phab:T88220]], [[gerrit:187963]] */
h1,
h2,
h3,
h4,
h5,
h6 {
overflow: visible;
border-bottom: none;
}
h1:after,
h2:after {
border-bottom: 1px solid #aaa;
content: "";
display: block;
overflow: hidden;
}
#toc h2:after,
.toc h2:after {
display: none;
}
/* Remove line under the heading [[gerrit:189209]] */
h2.wb-section-heading:after {
display: none;
}
/* align edit section buttons to end margin */
span.mw-editsection {
display: block;
line-height: inherit;
margin-top: -1.5em;
overflow: hidden;
text-align: right;
}
/* @noflip */
.mw-content-ltr .mw-editsection,
.mw-content-rtl .mw-content-ltr .mw-editsection {
text-align: right;
}
/* @noflip */
.mw-content-rtl .mw-editsection,
.mw-content-ltr .mw-content-rtl .mw-editsection {
text-align: left;
}
/* Unterstrichelung für Abkürzungen */
abbr[title]:not(:hover),
.explain[title]:not(:hover) {
border-bottom-color: rgba(50%, 50%, 50%, .5);
text-decoration-color: rgba(50%, 50%, 50%, .5);
}
/* Highlight headlines where the fallback anchor is targeted. [[gerrit:369591]] */
h1 > span:empty:target + span.mw-headline,
h2 > span:empty:target + span.mw-headline,
h3 > span:empty:target + span.mw-headline,
h4 > span:empty:target + span.mw-headline,
h5 > span:empty:target + span.mw-headline,
h6 > span:empty:target + span.mw-headline {
background-color: red;
}