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:Monobook.css"

From the SpongeBob Wiki, the SpongeBob encyclopedia
Jump to navigationJump to search
(bugfix)
(Up TOP)
 
Line 119: Line 119:
     border: 1px solid #2a4b8d;
     border: 1px solid #2a4b8d;
     background: #EEF6F9;
     background: #EEF6F9;
}
/* put search bar up top */
#sidebar {
    display: flex;
    flex-direction: column;
}
#p-search {
    order: -1;
}
}



Latest revision as of 20:39, March 3, 2022

/* CSS placed here will affect users of the MonoBook skin */

.firstHeading { margin-top: 5px; }
p { margin: 0.6em 0 0.7em 0; }
h1 { font-size: 193%; }
h3 + dl, h4 + dl, h5 + dl {
	margin-top: -0.1em;
}

div#globalWrapper, body {
  background-color:lightblue;
}

/* userpage links */
body.skin--responsive #p-personal a.new {
	color: #f00;
}
body.skin--responsive #p-personal a.new:visited {
	color: #c00;
}
body.skin--responsive #p-personal li a {
	color: #00f;
}
body.skin--responsive #p-personal li a:hover {
	background-color: none;
	text-decoration: underline;
}
body.skin--responsive li#pt-userpage, li#pt-anonuserpage, li#pt-login {
	color: #606060;
}

/* sitenotice */

#siteNotice {
	border-top: 1px solid #2a4b8d;
	border-bottom: 1px solid #2a4b8d;
	padding: 3px 2px 2px 2px;
	margin: -2px 0 11px;
}

#localNotice {
    margin-bottom: 0.4em;
}

/* search button (thanks to super mario wiki) */

input.searchButton {
	padding: 0 0.4em !important;
	cursor: pointer;
	background-color: white;
	border: 1px solid #aaa; 
	font-weight: normal;
} 
#searchGoButton {
	font-weight: normal;
}
#searchInput {
	border: 1px solid #aaa;
}

.mw-body, body.skin--responsive .pBody, body.skin--responsive #p-cactions li.selected, .wikiEditor-ui .wikiEditor-ui-view {
  border: 1px solid #929201;
}

#pagehistory li.selected {
  background-color:#ffffee;
}

body.skin--responsive .portlet {
	width: 11.8em;
}

body.skin--responsive .pBody {
    background-color: #ffffed;
    border: 1px solid #929201;
}

body.skin--responsive #p-personal .pBody ul {
  background: #ffffed;
  float: right;
  padding-left: 0;
  height: 1.45em;
}

body.skin--responsive li#pt-userpage, body.skin--responsive li#pt-anonuserpage, body.skin--responsive li#pt-login {
  background: url(https://cdn.spongebobwiki.org/user.png) top left no-repeat;
  background-size: 16px;
  padding: 1px 2px 2px 20px;
}

body.skin--responsive li#pt-userpage, li#pt-anonuserpage, li#pt-login {
    color: #333;
}

#content, #footer, body.skin--responsive #p-cactions li.selected a, .pBody {
	background:#ffffee;
}
.editOptions {
	background:#eef6f9;
	border:1px solid #929201;
	border-top:none;
}

.diff-deletedline, .diff-addedline {
    background:white;
}

fieldset.rcoptions.cloptions {
    background: none;
    border:1px solid #929201;
}

#footer {
    border-top: 1px solid #929201;
    border-bottom: 1px solid #929201;
}

.mw-changeslist-legend {
    border: 1px solid #2a4b8d;
    background: #EEF6F9;
}

/* put search bar up top */
#sidebar {
    display: flex;
    flex-direction: column;
}
#p-search {
    order: -1;
}

/* Responsive fixes */
@media all and (max-width: 550px) {
	.mw-body-content {
		overflow: visible !important;
	}
	.infobox {
		margin: 1em 0 !important;
	}
	.infobox, .nav-right,
	#mw-content-text table {
		float: none !important;
		width: auto !important;
		overflow: auto !important;
		display: block !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
		max-width: 100% !important;
		min-width: 0 !important;
	}
	#mw-content-text table > tbody {
		width: 100% !important;
		display: table !important;
	}
	body div.thumb {
		float: none !important;
		width: auto !important;
		max-width: none !important;
		margin: 1em 0;
	}
	div.thumb, div.thumbinner {
		overflow: auto !important;
	}
	div.noresize > map ~ img {
		max-width: none !important;
	}
	div.thumbinner > div {
		float: none !important;
		margin-left: auto !important;
		margin-right: auto !important;
	}
	div.thumbcaption {
		margin-top: 3px !important;
	}
	div.thumbimage {
		max-width: max-content;
	}
	ul.gallery {
		text-align: center;
	}
	div.gallerytext {
		text-align: left;
	}
	center div.gallerytext,
	.gallery.center div.gallerytext,
	.gallery[style*="center"] div.gallerytext {
		text-align: center;
	}
	a.feedlink {
		padding-left: 16px;
	}
	caption {
		display: block;
	}
    #sidebar .portlet[role="navigation"] {
        display: none !important;
    }
}

/* talk page tab spacing */

li#ca-addsection {
   margin-left:4px;
}

/* ooui */
.oo-ui-dropdownWidget { max-width:35em; }

.oo-ui-tabSelectWidget {
  box-shadow: none;
}