The SpongeBob Wiki has a guideline regarding the use of image galleries — collections of episode screenshots are no longer allowed on galleries due to potential fair use violations.

Difference between revisions of "MediaWiki:Common.css"

From the SpongeBob Wiki, the SpongeBob encyclopedia
Jump to navigationJump to search
m (margin top 5px)
m (padding)
Line 88: Line 88:
   margin-left: auto;
   margin-left: auto;
   margin-right: auto;
   margin-right: auto;
   margin-top: 5px;
   padding-top: 5px;
}
}



Revision as of 23:04, May 28, 2020

/* CSS placed here will be applied to all skins */

body:not(.ns-6) .notice-template:not(#stub) + .notice-template:not(#stub) {
	margin-top: -0.375em !important;
}
.ns-6 .notice-template:not(#aboutfile) {
	margin-top: 0.75em !important;
	margin-bottom: 2.5px !important;
}
.notice-template.copyright {
	margin: 2.5px auto !important;
}
.notice-template p {
	margin: 0.6em 0;
}

/* tables */
table.wikitable {
    background:#F8E972;
    border: 1px solid #929201;
}
table.wikitable > caption {
    background:#F8E972;
    border-top-left-radius:1em;
    border-top-right-radius:1em;
}
table.wikitable > tr > th, table.wikitable > * > tr > th {
    background:#F8E972;
}
.wikitable > tr > th, .wikitable > tr > td, .wikitable > * > tr > th, .wikitable > * > tr > td {
    border:1px solid #929201;
}

table.wikitable > * > tr:nth-child(odd) > td {background:#FFF}
table.wikitable > * > tr:nth-child(even) > td {background:#FFF}

select {
	border: 1px solid #AAA;
	color: black;
}
.client-js .mw-input-hidden {
    display:inline-block;
}

pre {
	background-color: #fff;
	border: 1px dashed #2a4b8d;
	color: #000;
	overflow:auto;
}

h1, h2 {
    border-bottom: 1px solid #2a4b8d;
}

hr {
    background-color:#2a4b8d;
    color:#2a4b8d;
}

.infobox {
    background-color:#fff;
    float:right;
    border: 1px solid #929201;
    font-size: 90%;
    width: 300px;
}

.catlinks {
    border: 1px solid #a2a9b1 !important;
}

.suggestions-result-current {
   background-color:#80c3d8;
}

#pagehistory li.selected {
    background-color: white !important;
}


/* Navigation templates */

.navbox {
   background-color:#fff;
   width: 100%;
   border: 1px solid #aaa;
   margin-left: auto;
   margin-right: auto;
   padding-top: 5px;
}

.navbox + .navbox,
.navbox .navbox {
	margin-top: 0;
}
.navbox .mw-collapsible-toggle-expanded {
	padding-left: 7px;
}
.navbox tr th a, .navbox tr th a:visited, .navbox tr th a.new, .navbox tr th a.new:visited {
	color: #000000 !important;
}

.navbox tr th {
   vertical-align:top;
   font-size:90%;
   width: 160px;
   border-right: 1px solid #000;
}

.navbox.white tr:first-child th, .navbox.white tr:first-child th a {
        color:#FFF !important;
        border-right:none;
}

.navbox tr td {
    font-size:90%;
    padding-left:5px;
}

.navbox tr:first-child th {
    font-size: 12px;
}

.wikiEditor-ui {
    padding-top: 10px;
}