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

Difference between revisions of "MediaWiki:Monobook.css"

From Rare Wiki
Jump to navigationJump to search
(add)
(updatin)
Line 87: Line 87:
/* Responsive fixes */
/* 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:53, 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 {
	background-image: url(/w/images/8/8a/Wiki-background.jpg);
}

#contentSub, #contentSub2 {
    margin: 0 0 1em 1em;
}

/* cactions */
#p-cactions li {
    background:#FAF2CD;
    color:#000 !important;
    border:1px solid gold;
}

#p-cactions li:hover {
    background:#FAF2CD;
    color:#000 !important;
}
#p-cactions li a {
    background:#FAF2CD;
    color:#000 !important;
}
#p-cactions li a:hover {
    background:#FAF2CD;
    color:#000 !important;
}

#p-cactions li.selected {
    background:#FAF2CD;
    color:#000 !important;
}
#p-cactions li.selected a {
    background:#FAF2CD;
    color:#000 !important;
}

#p-cactions .new a {
    color: #c00 !important;
}

.portlet .pBody {
    background-color: #FAF2CD;
    border: 1px solid gold;
}

#p-navigation-label { color: #FFF; }

#p-search-label { color: #FFF; }

#p-tb-label { color: #FFF; }

#p-community-label { color: #FFF; }

#p-personal ul a {
   color:gold;
}
#p-personal ul a:hover {
    text-decoration: underline;
    background-color:transparent;
}

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

/* talk page tab spacing */

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

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

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

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

.portlet {
    width: 11.8em;
}