Difference between revisions of "MediaWiki:Common.css"
Jump to navigation
Jump to search
(Add .ul-list-style-none.) |
(Add icon for Google Maps links.) |
||
| Line 38: | Line 38: | ||
content: "↗️ "; | content: "↗️ "; | ||
} | } | ||
| + | |||
| + | /* Google Maps links */ | ||
| + | .mw-parser-output a[href^="https://goo.gl/maps/"]::before, | ||
| + | .mw-parser-output a[href^="https://g.page/"]::before, | ||
| + | .mw-parser-output a[href^="https://www.google.com/maps/"]::before { | ||
| + | content: ""; | ||
| + | background: no-repeat url(/resources.custom/assets/icons/google-maps.svg); | ||
| + | width: 13px; | ||
| + | height: 1em; | ||
| + | display: inline-block; | ||
| + | } | ||
| + | |||
/* Internal links */ | /* Internal links */ | ||
Revision as of 23:11, 3 July 2022
/* CSS placed here will be applied to all skins */
/* Hide Discussion tab. */
li#ca-talk { display: none; }
/* Hide Edit section links. */
.mw-editsection { display:none; }
/* Template:CTA. */
span.cta a {
display:inline-block;
padding: 0.5em 1em;
background: none #36c !important;
border:#36c;
color:#fff !important;
font-weight:bold;
}
/* Link Arrows */
/* Replace external link icon with Unicode and move it left. */
.mw-parser-output .external {
background: none;
padding-right: 0;
}
/* Buttonize slightly. */
.mw-parser-output .external.redirect {
padding-right: 0;
background: #F4F4F4;
padding: 0.2em;
margin-right: 0.2em;
border-radius: 0.2em;
}
/* External links */
.mw-parser-output .external::before {
content: "↗️ ";
}
/* Google Maps links */
.mw-parser-output a[href^="https://goo.gl/maps/"]::before,
.mw-parser-output a[href^="https://g.page/"]::before,
.mw-parser-output a[href^="https://www.google.com/maps/"]::before {
content: "";
background: no-repeat url(/resources.custom/assets/icons/google-maps.svg);
width: 13px;
height: 1em;
display: inline-block;
}
/* Internal links */
.mw-parser-output a[href^="/"]::before {
content: "→ ";
}
.mw-parser-output .mw-editsection a[href^="/"]::before {
content: "";
}
/* Anchors */
.mw-parser-output a[href^="#"]::before {
content: "↕ ";
}
.mw-parser-output .toc a[href^="#"]::before,
.mw-parser-output .reference a[href^="#"]::before,
.mw-parser-output .mw-cite-backlink a[href^="#"]::before {
content: "";
}
/* Trustpilot */
img.trustpilot-stars {
height: 1em;
}
.ul-list-style-none ul {
list-style: none;
}