MediaWiki:Monobook.css: Difference between revisions

From Destinypedia, the Destiny wiki

No edit summary
No edit summary
Line 186: Line 186:
-webkit-border-top-left-radius: .72em !important;
-webkit-border-top-left-radius: .72em !important;
-webkit-border-top-right-radius: .72em !important;
-webkit-border-top-right-radius: .72em !important;
}
/* Responsive fixes */
@media all and (max-width: 550px) {
.mw-body-content {
overflow: clip !important;
}
#bodyContent table, .infobox {
float: none !important;
width: auto !important;
overflow: auto !important;
display: block !important;
max-width: none !important;
}
.infobox {
margin: 1em 0 !important;
}
#bodyContent table > tbody {
width: 100% !important;
display: table !important;
}
div.thumb {
float: none !important;
max-width: none !important;
margin: 1em 0 !important;
}
div.thumbinner > div {
float: none !important;
margin-left: auto !important;
margin-right: auto !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;
}
}
}


Line 191: Line 239:
#f-list {
#f-list {
line-height: 17px;
line-height: 17px;
}
/* Responsive fix */
@media all and (max-width: 550px) {
a.feedlink { padding-left: 16px !important }
}
}



Revision as of 14:19, September 24, 2021

/* CSS placed here will affect users of the Monobook skin */

#globalWrapper { background: none !important; }
p { margin: 0.6em 0 0.7em 0; }
h3 + dl, h4 + dl, h5 + dl {
	margin-top: -0.1em;
}
.ns-talk p + dl, .ns-110 p + dl,
.rootpage-Destinypedia_Featured p + dl,
.rootpage-Destinypedia_Changing_username p + dl {
	margin-top: -0.4em;
}
.ns-talk dl + dl, .ns-110 dl + dl,
.rootpage-Destinypedia_Featured dl + dl,
.rootpage-Destinypedia_Changing_username dl + dl {
	margin-top: -0.2em;
}

body { background: #4C5055 url(https://destiny.wiki.gallery/images/timeless-bg.jpg) fixed; }
@media all and (min-width: 551px) {
	#column-one h3 { color: #fff; }
	#p-personal .pBody ul {
		float: right;
		height: 1.45em;
		padding-left: 0;
		background: #ccc;
		border-bottom: 2px solid #666;
		border-left: 2px solid #666;
		border-bottom-left-radius: 0.5em;
		box-shadow: 0 0 4px 2px #fff;
	}
}
@media all and (max-width: 550px) {
	#ca-more a { color: #fff; }
}

a { color: #00f; }
a:active { color: orange; }
a:visited { color: #00c; }

.mw-parser-output a.external[href^="https://www.destinypedia.com"] {
	color: #00f !important;
	background: none;
	padding: 0;
}

#p-cactions li a:hover {
	border-bottom: 1px solid #FFFFFF;
}

#p-cactions li.selected a {
	border-bottom: 1px solid #FFFFFF;
	padding-bottom: 2px;
}

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

.special li {
	line-height: 19px;
}

#p-personal a.new {
	color: #f00;
}

#p-personal a.new:visited {
	color: #c00;
}

pre { 
	border: 1px dashed #06f;
}

.mw-dismissable-notice {
	padding: 2px;
	border-top: 2px solid #ccc;
	border-bottom: 2px solid #ccc;
	background: #fff;
}

.catlinks {
	margin-top: 10px;
}

#navbox { 
	/* border: 1px solid #2f6fab; */
	border: 1px solid #aaaaaa;
	background-color: #f9f9f9;
	padding: 5px;
	font-size: 95%;
	margin-left: 15px;
	margin-bottom: 15px;
}

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

#p-cactions li a {
	color: #00c;
}

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

#preftoc a:active {
	color: #00c;
}

@media all and (min-width: 551px) {
	#content {
		border-top-left-radius: 1em;
		border-bottom-left-radius: 1em;
	}
}

#p-cactions {
	left: 11.8em;
}

.portlet {
	width: 11.9em;
}

.portlet .pBody {
	border-top-right-radius: 1em;
	border-bottom-right-radius: 1em;
}

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

#searchGoButton {
	font-weight: normal;
}

#searchInput {
	border: 1px solid #2f6fab; 
} 

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

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

blockquote {
	border-left: 3px solid #06f;
	margin-left: 2em;
	padding-left: 1em;
}

.oldh3 {
	font-size: 132%;
}

.right {
	text-align: right;
}

#p-cactions ul li, #p-cactions ul li a, #p-cactions li.selected, #p-cactions li.selected a {  
	-moz-border-radius-topleft: 1em;
	-moz-border-radius-topright: 1em;
	-webkit-border-top-left-radius: 1em;
	-webkit-border-top-right-radius: 1em;
}

#p-cactions li {
	padding-bottom:1em;
	-moz-border-radius-topleft: .72em !important;
	-moz-border-radius-topright: .72em !important;
	-webkit-border-top-left-radius: .72em !important;
	-webkit-border-top-right-radius: .72em !important;
}

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

/* Fix footer spacing */
#f-list {
	line-height: 17px;
}

/* Indicator icons */
.mw-indicators {
	top: 4px;
}
#mw-indicator-rc {
	top: 12px;
}

/* Multimedia viewer */
.mw-mmv-reuse-dialog .mw-mmv-reuse-tabs .oo-ui-iconedElement-icon.oo-ui-icon-check,
.mw-mmv-reuse-dialog .mw-mmv-reuse-tabs .oo-ui-iconElement-icon.oo-ui-icon-check {
	display: none !important;
}

/* Advanced search */
.oo-ui-fieldLayout.oo-ui-fieldLayout-align-left > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-field,
.oo-ui-fieldLayout.oo-ui-fieldLayout-align-right > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-field {
	width: 59% !important;
}
.mw-advancedSearch-namespaceFilter .oo-ui-tagMultiselectWidget-handle {
	border: 0 !important;
}
.mw-advancedSearch-namespaceFilter {
	top: 0 !important;
}

/* Who's Online spacing */
#WhosOnlineDiv {
	margin-bottom: -11px;
}

/* Social talk tabs */
.ns-200 #ca-talk a,
.ns-202 #ca-talk a {
	color: #00c !important;
}