MediaWiki:Common.css: Difference between revisions

From PirateCraft
No edit summary
No edit summary
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
body {
html {
  // background: #20394F;
  background: #f6f6f6;
  background-image: linear-gradient(-90deg, #070a0e, #20394F);
 
}
}


body, body #mw-page-base {
body, body #mw-page-base {
   background: url('/images/piratecraft_wiki-background-o.jpg');
   background: url('/images/piratecraft_wiki-background_Light-o.jpg');
   background-repeat: no-repeat;
   background-repeat: no-repeat;
}
}


#bodyContent {
background-color: #FFF;
}
div#mw-panel div.portal h3 {
color: #fff;
}
div#mw-panel div.portal div.body ul li a, #p-personal a, #p-persona a:visited, div.vectorMenu h3 span {
color: #AD9479;
}


div#mw-panel div.portal div.body ul li a:visited {
/* Infobox template style */
color: #DBBA95;
.infobox {
border: 1px solid #a2a9b1;
border-spacing: 3px;
background-color: #f8f9fa;
color: black;
/* @noflip */
margin: 0.5em 0 0.5em 1em;
padding: 0.2em;
/* @noflip */
float: right;
/* @noflip */
clear: right;
font-size: 88%;
line-height: 1.5em;
width: 22em;
}
}


#footer a {
.infobox-header,
color: #AD9479;
.infobox-label,
.infobox-above,
.infobox-full-data,
.infobox-data,
.infobox-below,
.infobox-subheader,
.infobox-image,
.infobox-navbar,
/* Remove element selector when every .infobox thing is using the standard module/templates  */
.infobox th,
.infobox td {
vertical-align: top;
}
}


.collapse span.mw-collapsible-toggle {
.infobox-label,
  float: left; !important
.infobox-data,
/* Remove element selector when every .infobox thing is using the standard module/templates  */
.infobox th,
.infobox td {
/* @noflip */
text-align: left;
}
}


.vectorTabs li.selected a, .vectorTabs li.selected a:visited {
/* Remove .infobox when element selectors above are removed */
    color: #fff;
.infobox .infobox-above,
    text-decoration: none;
.infobox .infobox-title,
/* Remove element selector when every .infobox thing is using the standard module/templates  */
.infobox caption {
font-size: 125%;
font-weight: bold;
text-align: center;
}
}


.vectorTabs li a {
.infobox-title,
    display: block;
/* Remove element selector when every .infobox thing is using the standard module/templates  */
    height: 1.9em;
.infobox caption {
    padding-left: 0.615em;
padding: 0.2em;
    padding-right: 0.615em;
    color: #fff;
    cursor: pointer;
    font-size: 0.8125em;
}
}


a:visited {
/* Remove .infobox when element selectors above are removed */
    color: #551A8B;
.infobox .infobox-header,
.infobox .infobox-subheader,
.infobox .infobox-image,
.infobox .infobox-full-data,
.infobox .infobox-below {
text-align: center;
}
}


.vectorTabs li.new a, .vectorTabs li.new a:visited {
/* Remove .infobox when element selectors above are removed */
    color: #fff;
.infobox .infobox-navbar {
/* @noflip */
text-align: right;
}
}

Latest revision as of 15:37, 2 March 2023

html {
 background: #f6f6f6;
}

body, body #mw-page-base {
  background: url('/images/piratecraft_wiki-background_Light-o.jpg');
  background-repeat: no-repeat;
}


/* Infobox template style */
.infobox {
	border: 1px solid #a2a9b1;
	border-spacing: 3px;
	background-color: #f8f9fa;
	color: black;
	/* @noflip */
	margin: 0.5em 0 0.5em 1em;
	padding: 0.2em;
	/* @noflip */
	float: right;
	/* @noflip */
	clear: right;
	font-size: 88%;
	line-height: 1.5em;
	width: 22em;
}

.infobox-header,
.infobox-label,
.infobox-above,
.infobox-full-data,
.infobox-data,
.infobox-below,
.infobox-subheader,
.infobox-image,
.infobox-navbar,
/* Remove element selector when every .infobox thing is using the standard module/templates  */
.infobox th,
.infobox td {
	vertical-align: top;
}

.infobox-label,
.infobox-data,
/* Remove element selector when every .infobox thing is using the standard module/templates  */
.infobox th,
.infobox td {
	/* @noflip */
	text-align: left;
}

/* Remove .infobox when element selectors above are removed */
.infobox .infobox-above,
.infobox .infobox-title,
/* Remove element selector when every .infobox thing is using the standard module/templates  */
.infobox caption {
	font-size: 125%;
	font-weight: bold;
	text-align: center;
}

.infobox-title,
/* Remove element selector when every .infobox thing is using the standard module/templates  */
.infobox caption {
	padding: 0.2em;
}

/* Remove .infobox when element selectors above are removed */
.infobox .infobox-header,
.infobox .infobox-subheader,
.infobox .infobox-image,
.infobox .infobox-full-data,
.infobox .infobox-below {
	text-align: center;
}

/* Remove .infobox when element selectors above are removed */
.infobox .infobox-navbar {
	/* @noflip */
	text-align: right;
}