MediaWiki:Common.css

From World Naked Bike Ride
Revision as of 14:12, 13 June 2023 by Erik Baas (talk | contribs) (hide TOC on printer)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Note: After saving, 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)
  • Internet Explorer: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
/* CSS placed here will be applied to all skins */

#mw-imagepage-content::after {
 content: "© All rights reserved."
}

/* for [[Special:Upload]] */
tr.mw-htmlform-field-Licenses,
tr.mw-htmlform-field-Licenses td,
p.mw-upload-editlicenses {
 visibility: hidden;
 display: none!important; /* no license required */
} 4
table#mw-htmlform-description td {
 vertical-align: top;
}

.wikitable, .wikitable table {
 border: 1px solid #aaa;
 border-collapse: collapse;
 font-size: 95%;
 margin: 1em 0;
 background-color: #f9f9f9;
}

.wikitable table {
 margin: 0;
}

.wikitable td, table.wikitable th {
 border: 1px solid #aaa;
 padding: 4px;
}

.wikitable th {
 background-color: #ddd;
}

table.vatop td {
 vertical-align: top;
}

input#searchInput {
 border: none;
}

div.mw-category-group {  /* keep heading (A, B, etc.) and content on category pages together */
 break-inside: avoid;
}

div.mw-category-group h3:first-child {  /* first group on category pages */
 margin-top: 0;
}

a.new:link,
a.new:visited {  /* link to non-existing page or template */
 color: #c00000!important;
}

/* hide parts of output to printer */
@media print {
 #toc, 
 .noprint {
  display: none !important;
 }
}