MediaWiki:Common.css

From OSE SRD
Revision as of 20:51, 26 January 2020 by AdminGnome (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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 */

a {
 color: black !important;
}

#p-personal a {
 color: white !important;
}

h2 {
 background-color: #dbe8d4;
 padding: 5px;
 border: none;
  margin-top: 30px !important;
}

.flex-fill.container>.row:first-of-type{
 background-image: url('/srd/images/bg.png');
 background-size: 1600px;
 background-position-y: 750px;
}

/*.p-navbar {
 background-color: #85b06c;
}
*/

.dropdown-menu > .active > a {
  background-color: #dbe8d4;
  background-image: none;
  color: black;
}

.dropdown-menu > .active > a:hover {
  background-color: black;
  background-image: none;
  color: white;
}

#mw-content-text p a:link {
    color: #85b06c !important;
    font-weight: bold;
}

#mw-content-text p a:visited {
    color: #85b06c !important;
    font-weight: bold;
}

#mw-content-text li a:link {
    color: #85b06c !important;
    font-weight: bold;
}

#mw-content-text li a:visited {
    color: #85b06c !important;
    font-weight: bold;
}

#toc li a:link  {
    color: black !important;
    font-weight: normal;
}

#toc li a:visited {
    color: black !important;
    font-weight: normal;
}

td a:link  {
    color: #85b06c !important;
    font-weight: bold;
}

td a:visited {
    color: #85b06c !important;
    font-weight: bold;
}


.tocnumber { visibility: hidden; }




/* Content from mediawiki.org */
/* [[Template:Note]] */
.tip,
.note {
	padding: 0.5em;
	margin: 0.5em 0;
	overflow: hidden;
	background-color: #F9F9F9;
	background-position: 4px 2px;
	background-repeat: no-repeat;
	border: 1px solid #DDD;
}
.tip-info,
.note-info {
	background-color: #F0F0E7;
	background-image: url(//upload.wikimedia.org/wikipedia/commons/thumb/f/f8/Appunti_architetto_franc_01.svg/22px-Appunti_architetto_franc_01.svg.png);
	border-color: #cc9933;
	/* @noflip */ padding-left: 30px;
	min-height: 28px;
}
.tip-reminder,
.note-reminder {
	background-color: #F6FDEA;
	background-image: url(//upload.wikimedia.org/wikipedia/commons/thumb/6/60/Bulbgraph.png/23px-Bulbgraph.png);
	border-color: #D6E434;
	padding-left: 31px;
	min-height: 28px;
}
.tip-error,
.note-error {
	background-color: #F0E7E7;
	background-image: url(//upload.wikimedia.org/wikipedia/commons/thumb/5/51/Attention_niels_epting.svg/24px-Attention_niels_epting.svg.png);
	border-color: #cc3333;
	padding-left: 32px;
	min-height: 25px;
}

/* [[Template:Notice]] */
.block-note {
	background-image: url(//upload.wikimedia.org/wikipedia/commons/thumb/6/60/Bulbgraph.png/18px-Bulbgraph.png);
	background-position: top left;
	background-repeat: no-repeat;
}
/*
 * Using block-contents in the hope that it can apply to all block-level warning templates,
 * with different images applied as backgrounds to the wrapping DIV.
 */
.block-contents {
	display: block;
	padding-left: 20px;
}