[dismiss]
Spoilers — Please keep the spoiler policy in mind while editing the wiki.
Citations — Please cite your sources when adding information to the wiki! Use our handy guide for assistance.
MediaWiki:Monobook.css: Difference between revisions
From Destinypedia, the Destiny wiki
mNo edit summary |
mNo edit summary |
||
Line 21: | Line 21: | ||
body { background: #4C5055 url(https://destiny.wiki.gallery/images/timeless-bg.jpg) no-repeat fixed 0 0 / cover; } | 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) { | ||
body.skin-monobook #column-one h3 { | body.skin-monobook #column-one h3 { | ||
Line 41: | Line 42: | ||
a { color: #00f; } | a { color: #00f; } | ||
a:visited { color: #00c; } | |||
a:active { color: orange; } | a:active { color: orange; } | ||
.mw-parser-output a.external[href^="https://www.destinypedia.com"] { | .mw-parser-output a.external[href^="https://www.destinypedia.com"] { | ||
color: #00f !important; | color: #00f !important; | ||
} | } | ||
Line 62: | Line 54: | ||
font-family: verdana; | font-family: verdana; | ||
} | } | ||
body.skin-monobook .special li { | body.skin-monobook .special li { | ||
line-height: 19px; | line-height: 19px; | ||
} | } | ||
@media all and (min-width: 551px) { | @media all and (min-width: 551px) { | ||
body.skin-monobook li#pt-login, | body.skin-monobook li:is(#pt-login, i#pt-userpage, #pt-anonuserpage) { | ||
background: url(https://destiny.wiki.gallery/images/smallghost.png) top left no-repeat; | background: url(https://destiny.wiki.gallery/images/smallghost.png) top left no-repeat; | ||
padding-left: 18px; | padding-left: 18px; | ||
margin-left: 6px; | margin-left: 6px; | ||
} | } | ||
} | } | ||
Line 92: | Line 69: | ||
border-top: 2px solid #ccc; | border-top: 2px solid #ccc; | ||
border-bottom: 2px solid #ccc; | border-bottom: 2px solid #ccc; | ||
padding: 2px; | padding: 2px; | ||
} | } | ||
Line 108: | Line 75: | ||
text-decoration: underline; | text-decoration: underline; | ||
background-color: transparent; | background-color: transparent; | ||
} | } | ||
Line 132: | Line 87: | ||
left: 11.8em; | left: 11.8em; | ||
} | } | ||
body.skin-monobook .portlet { | body.skin-monobook .portlet { | ||
width: 11.9em; | width: 11.9em; | ||
Line 149: | Line 103: | ||
padding: 0 0.4em !important; | padding: 0 0.4em !important; | ||
} | } | ||
body.skin-monobook #searchButton { | body.skin-monobook #searchButton { | ||
font-weight: normal; | font-weight: normal; | ||
} | } | ||
body.skin-monobook #searchInput { | body.skin-monobook #searchInput { | ||
border: 1px solid #2f6fab; | border: 1px solid #2f6fab; | ||
} | } | ||
input[type="radio"], | input:is([type="radio"], [type="checkbox"]) { | ||
border: none; | border: none; | ||
} | } | ||
select { | select { | ||
border: 1px solid #2f6fab; | border: 1px solid #2f6fab; | ||
color: #000; | color: #000; | ||
} | } | ||
Revision as of 14:23, February 27, 2025
/* 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:visited { color: #00c; }
a:active { color: orange; }
.mw-parser-output a.external[href^="https://www.destinypedia.com"] {
color: #00f !important;
}
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;
}
@media all and (min-width: 551px) {
body.skin-monobook li:is(#pt-login, i#pt-userpage, #pt-anonuserpage) {
background: url(https://destiny.wiki.gallery/images/smallghost.png) top left no-repeat;
padding-left: 18px;
margin-left: 6px;
}
}
.mw-dismissable-notice {
border-top: 2px solid #ccc;
border-bottom: 2px solid #ccc;
padding: 2px;
}
body.skin-monobook #p-personal li a:hover {
text-decoration: underline;
background-color: transparent;
}
@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:is([type="radio"], [type="checkbox"]) {
border: none;
}
select {
border: 1px solid #2f6fab;
color: #000;
}
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-iconElement-icon.oo-ui-icon-check,
.mw-mmv-reuse-dialog .mw-mmv-reuse-tabs .oo-ui-iconedElement-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;
}