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
(strike-through line)
(Up TOP)
 
(14 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* CSS placed here will affect users of the MonoBook skin */
/* 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 {
div#globalWrapper, body {
Line 6: Line 13:


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


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


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


#p-personal .pBody ul {
body.skin--responsive .pBody {
    background-color: #ffffed;
    border: 1px solid #929201;
}
 
body.skin--responsive #p-personal .pBody ul {
   background: #ffffed;
   background: #ffffed;
   float: right;
   float: right;
Line 71: Line 83:
}
}


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


#content, #footer, #p-cactions li.selected a, .pBody {
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;
background:#ffffee;
}
}
Line 84: Line 100:
border:1px solid #929201;
border:1px solid #929201;
border-top:none;
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;
}
}


Line 144: Line 109:
     background: none;
     background: none;
     border:1px solid #929201;
     border:1px solid #929201;
}
.oo-ui-buttonElement > .oo-ui-buttonElement-button, .oo-ui-textInputWidget .oo-ui-inputWidget-input {
border-radius:0;
}
}


Line 160: Line 121:
}
}


.oo-ui-dropdownWidget-handle {
/* put search bar up top */
    height: 2.5em;
#sidebar {
     border: 1px solid #003466;
    display: flex;
    border-radius: 3px;
    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;
}
}

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