There are currently 39 stubs. You can help us by expanding these articles!

Difference between revisions of "MediaWiki:Monobook.css"

From the Crash Bandicoot Wiki, the Crash Bandicoot encyclopedia
Jump to navigationJump to search
(changing border color to match)
(to the top)
 
(33 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* CSS placed here will affect users of the MonoBook skin */
.firstHeading { margin-top: 5px; }
div#globalWrapper {
p { margin: 0.6em 0 0.7em 0; }
  background: #ffc04c;
h1 { font-size: 193%; }
h3 + dl, h4 + dl, h5 + dl {
margin-top: -0.1em;
}
}


body {
div#globalWrapper, body {
   background: #ffc04c;
   background:#FBD475;
}
}


.wikiEditor-ui .wikiEditor-ui-view, #content, #footer {
  border-color: brown;
}
textarea {
  border-color: #A52A2A;
}
/* sidebar boxes */
body.skin--responsive .pBody {
    border: 1px solid #A52A2A;
}
/* tabs */
body.skin--responsive #p-cactions li {
  border-color: #A52A2A !important;
}
body.skin--responsive #p-cactions li.selected a
  background:transparent;
}


#p-personal .pBody ul {
/* user 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: transparent;
text-decoration: underline;
}
body.skin--responsive li#pt-userpage, li#pt-anonuserpage, li#pt-login {
color: #606060;
}
 
body.skin--responsive #p-personal .pBody ul {
   background: #FFF;
   background: #FFF;
   float: right;
   float: right;
   padding-left: 0;
   padding-left: 0;
   height: 1.45em;
   height: 1.55em;
  border: 1px solid brown;
  border-top:none;
  border-right:none;
}
 
body.skin--responsive li#pt-userpage, li#pt-anonuserpage, li#pt-login {
  background: url(https://cdn.crashbandicootwiki.com/Wumpa.png) top left no-repeat;
  background-size: 15px;
  padding: 1px 1px 2px 20px;
}
 
/* Indicator icons */
.mw-indicators {
top: -10px;
}
}
.anon .mw-indicators {
top: -5px;
}
#mw-indicator-shortcut {
top: 16px;
}
/* talk page tab spacing */
li#ca-addsection {
  margin-left:4px;
}
/* search button (thanks to super mario wiki) */


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


#p-personal ul a:hover {
/* sitenotice */
    text-decoration: underline;
#siteNotice {
    background-color:transparent;
border-top: 1px solid #A52A2A;
border-bottom: 1px solid #A52A2A;
padding: 3px 2px 2px 2px;
margin: -2px 0 11px;
}
body.page-Main_Page.action-view #bodyContent {
margin-top: -17px;
}
}
#p-cactions li {
body.page-Main_Page.action-view #siteNotice {
  border-color: brown !important;
margin-bottom: 32px;
}
}


#p-cactions ul li, #p-cactions ul li a {
/* miscellaneous */
   border-top-left-radius: 1em;
body.skin--responsive #p-cactions {
   border-top-right-radius: 1em;
   left: 11.7em;
  border-color: #000;
   border-radius:10px;
}
}


/* border */
body.skin--responsive .portlet {
.wikiEditor-ui .wikiEditor-ui-view, #content, #footer {
width: 11.8em;
  border-color: brown;
}
}


textarea {
select {
  border-color: darkorange;
border: 1px solid saddlebrown;
color: black;
}
}


.portlet .pBody {
body.skin--responsive .pBody,
  border: 1px solid brown;
.portlet h3,
ul#f-list {
font-family: verdana, sans-serif;
}
}


/* edit summary window */
input[type="radio"],
.editOptions {
input[type="checkbox"] {
  background-color: #FFE5CC;
border: none;
  border-color: darkorange;
}
}


li#pt-userpage, li#pt-anonuserpage, li#pt-login {
/* put search bar up top */
  background: url(https://crashbandicootwiki.com/Wumpa.png) top left no-repeat;
#sidebar {
  background-size: 15px;
    display: flex;
  padding: 1px 1px 2px 20px;
    flex-direction: column;
}
#p-search {
    order: -1;
}
}


/* wikitable*/
/* Responsive fixes */
table.wikitable {background:#fff;margin:1em 0;border:1pt solid #A52A2A;border-collapse:collapse;color:black}
@media all and (max-width: 550px) {
table.wikitable > * > tr > td, table.wikitable > * > tr > th, table.wikitable > * > tr > td, table.wikitable > * > tr > th {border:1pt solid #A52A2A;padding:0.2em 0.4em}
.mw-body-content {
table.wikitable > * > tr > th {background: orange;}
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;
    }
}
.oo-ui-dropdownWidget { max-width:35em; }

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

.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:#FBD475;
}

.wikiEditor-ui .wikiEditor-ui-view, #content, #footer {
  border-color: brown;
}

textarea {
  border-color: #A52A2A;
}

/* sidebar boxes */
body.skin--responsive .pBody {
    border: 1px solid #A52A2A;
}

/* tabs */

body.skin--responsive #p-cactions li {
  border-color: #A52A2A !important;
}

body.skin--responsive #p-cactions li.selected a
  background:transparent;
}

/* user 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: transparent;
	text-decoration: underline;
}
body.skin--responsive li#pt-userpage, li#pt-anonuserpage, li#pt-login {
	color: #606060;
}

body.skin--responsive #p-personal .pBody ul {
  background: #FFF;
  float: right;
  padding-left: 0;
  height: 1.55em;
  border: 1px solid brown;
  border-top:none;
  border-right:none;
}

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

/* Indicator icons */
.mw-indicators {
	top: -10px;
}
.anon .mw-indicators {
	top: -5px;
}
#mw-indicator-shortcut {
	top: 16px;
}

/* talk page tab spacing */

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


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

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

/* sitenotice */
#siteNotice {
	border-top: 1px solid #A52A2A;
	border-bottom: 1px solid #A52A2A;
	padding: 3px 2px 2px 2px;
	margin: -2px 0 11px;
}
body.page-Main_Page.action-view #bodyContent {
	margin-top: -17px;
}
body.page-Main_Page.action-view #siteNotice {
	margin-bottom: 32px;
}

/* miscellaneous */
body.skin--responsive #p-cactions {
  left: 11.7em;
  border-radius:10px;
}

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

select {
	border: 1px solid saddlebrown;
	color: black;
}

body.skin--responsive .pBody, 
.portlet h3, 
ul#f-list {
	font-family: verdana, sans-serif;
}

input[type="radio"], 
input[type="checkbox"] {
	border: none;
}

/* 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;
    }
}
.oo-ui-dropdownWidget { max-width:35em; }