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
(add)
(updatin)
Line 146: Line 146:
}
}


/* Responsive fixes */
@media all and (max-width: 550px) {
@media all and (max-width: 550px) {
div.thumb {
.mw-body-content {
float: none !important;
overflow: clip !important;
}
.infobox, .tabber.info {
margin: 1em 0 !important;
margin: 1em 0 !important;
}
}
.infobox {
.infobox, .tabber.info,
#bodyContent table, .nav-right {
float: none !important;
float: none !important;
width: auto !important;
width: auto !important;
overflow: auto !important;
display: block !important;
display: block !important;
margin: 1em 0 !important;
max-width: none !important;
margin-left: 0 !important;
margin-right: 0 !important;
}
}
.infobox > tbody {
#bodyContent table > tbody {
width: 100% !important;
width: 100% !important;
display: table !important;
display: table !important;
}
div.thumb {
float: none !important;
max-width: none !important;
margin: 1em 0;
}
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 {
a.feedlink {

Revision as of 11:54, September 26, 2021

.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 */
.pBody {
    border: 1px solid #A52A2A;
}

/* tabs */

#p-cactions li {
  border-color: #A52A2A !important;
}

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

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

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

li#pt-userpage, li#pt-anonuserpage, li#pt-login {
  background: url(/w/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: 14px;
}

/* disambig template */
#disambig {
	border-top: 3px double #A52A2A; 
	border-bottom: 3px double #A52A2A;
}

/* 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 {
	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 */
#p-cactions {
  left: 11.7em;
  border-radius:10px;
}

.portlet {
	width: 11.8em;
}

select {
	border: 1px solid #A52A2A;
	color: black;
}

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

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

/* Responsive fixes */
@media all and (max-width: 550px) {
	.mw-body-content {
		overflow: clip !important;
	}
	.infobox, .tabber.info {
		margin: 1em 0 !important;
	}
	.infobox, .tabber.info,
	#bodyContent table, .nav-right {
		float: none !important;
		width: auto !important;
		overflow: auto !important;
		display: block !important;
		max-width: none !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
	}
	#bodyContent table > tbody {
		width: 100% !important;
		display: table !important;
	}
	div.thumb {
		float: none !important;
		max-width: none !important;
		margin: 1em 0;
	}
	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 !important;
	}
}

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