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.

MediaWiki:Monobook.css

From the SpongeBob Wiki, the SpongeBob encyclopedia
Revision as of 13:44, November 19, 2021 by Bawitdaba (talk | contribs) (cdn)
Jump to navigationJump to search

Note: After publishing, 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 / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* 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 */
#p-personal a.new {
	color: #f00;
}
#p-personal a.new:visited {
	color: #c00;
}
#p-personal li a {
	color: #00f;
}
#p-personal li a:hover {
	background-color: none;
	text-decoration: underline;
}
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, .pBody, #p-cactions li.selected, .wikiEditor-ui .wikiEditor-ui-view {
  border: 1px solid #929201;
}

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

.portlet {
	width: 11.8em;
}

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

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

li#pt-userpage, li#pt-anonuserpage, li#pt-login {
    color: #333;
}

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

.oo-ui-textInputWidget .oo-ui-inputWidget-input {
	box-shadow:none;
	transition:none;
        border:1px solid #003466;

}

.oo-ui-tagMultiselectWidget.oo-ui-widget-enabled.oo-ui-tagMultiselectWidget-inlined.oo-ui-tagMultiselectWidget-focus .oo-ui-tagMultiselectWidget-handle {
    border-color: #929201;
    box-shadow: none;
    border-radius:0px;
}

.oo-ui-textInputWidget.oo-ui-widget-enabled .oo-ui-inputWidget-input:focus {
	border:1px solid #003466;
	border-radius:0px;
	box-shadow: none;
}

.oo-ui-tagMultiselectWidget-handle {
	border:1px solid #003466;
	border-radius:0px;
}

.oo-ui-buttonElement-framed > .oo-ui-buttonElement-button {
    box-shadow: none !important;
}

.oo-ui-dropdownWidget.oo-ui-widget-enabled .oo-ui-dropdownWidget-handle:focus {
    border-color: #929201;
    box-shadow: none;
}

.oo-ui-buttonElement-framed.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button {
    background-color: #f4eecd;
    background-image: -webkit-gradient(linear,right top,right bottom,color-stop(0,#faf8ea),color-stop(100%,#eee4b0)) !important;
    background-image: -webkit-linear-gradient(top,#faf8ea 0,#eee4b0 100%);
    background-image: -moz-linear-gradient(top,#faf8ea 0,#eee4b0 100%);
    background-image: linear-gradient(to bottom,#faf8ea 0,#eee4b0 100%);
    border: 1px solid #e1d7a6;
}

.oo-ui-buttonElement-framed.oo-ui-flaggedElement-progressive:active > .oo-ui-buttonElement-button {
    background-color: #f4eecd;
    background-image: -webkit-gradient(linear,right top,right bottom,color-stop(0,#eee4b0),color-stop(100%,#faf8ea)) !important;
    background-image: -webkit-linear-gradient(top,#eee4b0 0,#faf8ea 100%);
    background-image: -moz-linear-gradient(top,#eee4b0 0,#faf8ea 100%);
    background-image: linear-gradient(to bottom,#eee4b0 0,#faf8ea 100%);
    border: 1px solid #e1d7a6;
}

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

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

.oo-ui-buttonElement > .oo-ui-buttonElement-button, .oo-ui-textInputWidget .oo-ui-inputWidget-input {
	border-radius:0;
}

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

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

.oo-ui-dropdownWidget-handle {
    height: 2.5em;
    border: 1px solid #003466;
    border-radius: 3px;
}

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

/* talk page tab spacing */

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