MediaWiki:Monobook.css: Difference between revisions

From Destinypedia, the Destiny wiki

No edit summary
mNo edit summary
 
(20 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 */


#globalWrapper { background: none !important; }
#globalWrapper {
overflow: hidden;
background: none !important;
}
p { margin: 0.6em 0 0.7em 0; }
p { margin: 0.6em 0 0.7em 0; }
h3 + dl, h4 + dl, h5 + dl {
:is(h3, h4, h5) + dl {
margin-top: -0.1em;
margin-top: -0.1em;
}
}
.ns-talk p + dl, .ns-110 p + dl,
:is(.ns-talk, .ns-110) p + dl,
.rootpage-Destinypedia_Featured p + dl,
.rootpage-Destinypedia_Featured p + dl,
.rootpage-Destinypedia_Changing_username p + dl {
.rootpage-Destinypedia_Changing_username p + dl {
margin-top: -0.4em;
margin-top: -0.4em;
}
}
.ns-talk dl + dl, .ns-110 dl + dl,
:is(.ns-talk, .ns-110) dl + dl,
.rootpage-Destinypedia_Featured dl + dl,
.rootpage-Destinypedia_Featured dl + dl,
.rootpage-Destinypedia_Changing_username dl + dl {
.rootpage-Destinypedia_Changing_username dl + dl {
Line 17: Line 20:
}
}


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


Line 45: Line 50:
}
}


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


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


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


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


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


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


pre {  
@media all and (min-width: 551px) {
body.skin-monobook li#pt-login,
body.skin-monobook li#pt-userpage,
body.skin-monobook li#pt-anonuserpage {
background: url(https://destiny.wiki.gallery/images/smallghost.png) top left no-repeat;
padding-left: 18px;
margin-left: 6px;
}
}
 
pre {
border: 1px dashed #06f;
border: 1px dashed #06f;
}
}


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


Line 87: Line 102:
}
}


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


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


#p-cactions li a {
body.skin-monobook #p-cactions li a {
color: #00c;
color: #00c;
}
}


#p-cactions .new a {
body.skin-monobook #p-cactions .new a {
color: #c00;
color: #c00;
}
}
Line 121: Line 135:
}
}


#p-cactions {
body.skin-monobook #p-cactions {
left: 11.8em;
left: 11.8em;
}
}


.portlet {
body.skin-monobook .portlet {
width: 11.9em;
width: 11.9em;
}
}


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


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


#searchGoButton {
body.skin-monobook #searchButton {
font-weight: normal;
font-weight: normal;
}
}


#searchInput {
body.skin-monobook #searchInput {
border: 1px solid #2f6fab;  
border: 1px solid #2f6fab;
}  
}  


Line 155: Line 169:


select {
select {
border: 1px solid #2f6fab;  
border: 1px solid #2f6fab;
color: black;
color: #000;
}
 
blockquote {
border-left: 3px solid #06f;
margin-left: 2em;
padding-left: 1em;
}
}


Line 173: Line 181:
}
}


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


#p-cactions li {
body.skin-monobook #p-cactions li {
padding-bottom:1em;
padding-bottom: 1em;
-moz-border-radius-topleft: .72em !important;
border-top-left-radius: .72em !important;
-moz-border-radius-topright: .72em !important;
border-top-right-radius: .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;
}
.infobox {
margin: 1em 0 !important;
}
.infobox, .nav-right,
#mw-content-text table {
float: none !important;
width: auto !important;
overflow: auto !important;
display: block !important;
max-width: none !important;
margin-left: 0 !important;
margin-right: 0 !important;
}
#mw-content-text 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;
}
}
}


/* Fix footer spacing */
/* Fix footer spacing */
#f-list {
body.skin-monobook #f-list {
line-height: 17px;
line-height: 17px;
}
}
Line 261: Line 214:
}
}


/* Advanced search */
/* Responsive fix */
.oo-ui-fieldLayout.oo-ui-fieldLayout-align-left > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-field,
@media all and (max-width: 550px) {
.oo-ui-fieldLayout.oo-ui-fieldLayout-align-right > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-field {
body.skin--responsive #sidebar .portlet[role="navigation"] {
width: 59% !important;
display: none !important;
}
}
}
.mw-advancedSearch-namespaceFilter .oo-ui-tagMultiselectWidget-handle {
 
border: 0 !important;
/* Search up top */
#column-one #sidebar {
display: flex;
flex-direction: column;
}
}
.mw-advancedSearch-namespaceFilter {
#p-search {
top: 0 !important;
order: -1;
}
}



Latest revision as of 12:12, August 31, 2024

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

#globalWrapper {
	overflow: hidden;
	background: none !important;
}
p { margin: 0.6em 0 0.7em 0; }
:is(h3, h4, h5) + dl {
	margin-top: -0.1em;
}
:is(.ns-talk, .ns-110) p + dl,
.rootpage-Destinypedia_Featured p + dl,
.rootpage-Destinypedia_Changing_username p + dl {
	margin-top: -0.4em;
}
:is(.ns-talk, .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) no-repeat fixed 0 0 / cover; }
@media all and (min-width: 551px) {
	body.skin-monobook #column-one h3 {
		color: #fff;
	}
	body.skin-monobook #p-personal .pBody ul {
		float: right;
		height: 18px;
		background: #ccc;
		border-left: 2px solid #666;
		border-bottom: 2px solid #666;
		border-bottom-left-radius: 0.5em;
		box-shadow: 0 0 4px 2px #fff;
		padding-left: 0;
	}
}
@media all and (max-width: 550px) {
	body.skin--responsive #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;
}

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

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

body.skin-monobook .pBody,
body.skin-monobook .portlet h3,
body.skin-monobook #footer #f-list {
	font-family: verdana;
}

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

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

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

@media all and (min-width: 551px) {
	body.skin-monobook li#pt-login,
	body.skin-monobook li#pt-userpage,
	body.skin-monobook li#pt-anonuserpage {
		background: url(https://destiny.wiki.gallery/images/smallghost.png) top left no-repeat;
		padding-left: 18px;
		margin-left: 6px;
	}
}

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

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

.catlinks {
	margin-top: 10px;
}

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

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

body.skin-monobook #p-cactions li a {
	color: #00c;
}

body.skin-monobook #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;
	}
}

body.skin-monobook #p-cactions {
	left: 11.8em;
}

body.skin-monobook .portlet {
	width: 11.9em;
}

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

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

body.skin-monobook #searchButton {
	font-weight: normal;
}

body.skin-monobook #searchInput {
	border: 1px solid #2f6fab;
} 

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

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

.oldh3 {
	font-size: 132%;
}

.right {
	text-align: right;
}

body.skin-monobook #p-cactions ul li,
body.skin-monobook #p-cactions ul li a,
body.skin-monobook #p-cactions li.selected,
body.skin-monobook #p-cactions li.selected a {  
	border-top-left-radius: 1em;
	border-top-right-radius: 1em;
}

body.skin-monobook #p-cactions li {
	padding-bottom: 1em;
	border-top-left-radius: .72em !important;
	border-top-right-radius: .72em !important;
}

/* Fix footer spacing */
body.skin-monobook #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;
}

/* Responsive fix */
@media all and (max-width: 550px) {
	body.skin--responsive #sidebar .portlet[role="navigation"] {
		display: none !important;
	}
}

/* Search up top */
#column-one #sidebar {
	display: flex;
	flex-direction: column;
}
#p-search {
	order: -1;
}

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

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