MediaWiki:Common.css: Difference between revisions

From PirateCraft
No edit summary
No edit summary
Line 6: Line 6:
   background: url('/images/piratecraft_wiki-background_Light-o.jpg');
   background: url('/images/piratecraft_wiki-background_Light-o.jpg');
   background-repeat: no-repeat;
   background-repeat: no-repeat;
}
/* Infobox templates */
.infobox {
border: 1px solid #a2a9b1;
background: #f8f9fa;
color: black;
margin-bottom: 0.5em;
/* @noflip */
margin-left: 1em;
padding: 0.2em;
/* @noflip */
float: right;
/* @noflip */
clear: right;
}
.infobox td,
.infobox th {
vertical-align: middle;
}
.infobox caption {
font-size: larger;
margin-left: inherit;
}
.infobox.bordered {
border-collapse: collapse;
}
.infobox.bordered td,
.infobox.bordered th {
border: 1px solid #a2a9b1;
}
.infobox.bordered .borderless td,
.infobox.bordered .borderless th {
border: 0 solid #a2a9b1;
}
.infobox.sisterproject {
width: 20em;
font-size: 90%;
}
/* Navbar styling when nested in infobox and navbox */
.infobox .navbar {
    font-size: 100%;
}
}

Revision as of 15:26, 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 templates */
.infobox {
 border: 1px solid #a2a9b1;
 background: #f8f9fa;
 color: black;
 margin-bottom: 0.5em;
 /* @noflip */
 margin-left: 1em;
 padding: 0.2em;
 /* @noflip */
 float: right;
 /* @noflip */
 clear: right;
}
.infobox td,
.infobox th {
 vertical-align: middle;
}
.infobox caption {
 font-size: larger;
 margin-left: inherit;
}
.infobox.bordered {
 border-collapse: collapse;
}
.infobox.bordered td,
.infobox.bordered th {
 border: 1px solid #a2a9b1;
}
.infobox.bordered .borderless td,
.infobox.bordered .borderless th {
 border: 0 solid #a2a9b1;
}
.infobox.sisterproject {
 width: 20em;
 font-size: 90%;
}

/* Navbar styling when nested in infobox and navbox */
.infobox .navbar {
    font-size: 100%;
}