MediaWiki:Timeless.css: Difference between revisions
From IdleOn MMO Wiki
Kiokurashi (talk | contribs) mNo edit summary |
Kiokurashi (talk | contribs) mNo edit summary |
||
Line 44: | Line 44: | ||
} | } | ||
.client- | .client-darkmode #p-logo { | ||
border-color:var(--main-border-color); | border-color:var(--main-border-color); | ||
} | } | ||
Line 67: | Line 67: | ||
/* ----- DARK MODE ----- */ | /* ----- DARK MODE ----- */ | ||
.client- | .client-darkmode #mw-content-container { | ||
filter: none; | filter: none; | ||
background: url(https://idleon.info/wiki/images/2/24/NightDesertBG.png) no-repeat center center fixed; | background: url(https://idleon.info/wiki/images/2/24/NightDesertBG.png) no-repeat center center fixed; | ||
Line 73: | Line 73: | ||
} | } | ||
.client- | .client-darkmode .mw-footer-container { | ||
background: var(--element-bg-color); | background: var(--element-bg-color); | ||
color: #000; | color: #000; | ||
} | } | ||
.client- | .client-darkmode .mw-footer-container a, | ||
.client- | .client-darkmode .mw-footer-container a:visited { | ||
color: var(--main-link-color); | color: var(--main-link-color); | ||
} | } | ||
.client- | .client-darkmode .mw-footer-container a:hover, | ||
.client- | .client-darkmode .mw-footer-container a:visited:hover { | ||
color: var(--main-link-color-hover); | color: var(--main-link-color-hover); | ||
} | } | ||
.client- | .client-darkmode #searchButton { | ||
background:transparent; | background:transparent; | ||
} | } | ||
@media screen and (min-width: 851px) { | @media screen and (min-width: 851px) { | ||
.client- | .client-darkmode #mw-content-container, | ||
.client- | .client-darkmode #mw-content-block, | ||
.client- | .client-darkmode .mw-wiki-logo.fallback { | ||
filter: invert(1) hue-rotate(180deg); | filter: invert(1) hue-rotate(180deg); | ||
-webkit-filter: invert(1) hue-rotate(180deg); | -webkit-filter: invert(1) hue-rotate(180deg); |
Revision as of 01:02, 9 January 2023
#mw-content-container {
background: url(https://idleon.info/wiki/images/9/9f/Background_Beach.png) no-repeat center center fixed;
background-size: cover;
}
#mw-content{
background: var(--main-bg-color);
box-shadow: var(--main-box-shadow);
border:none;
}
@media screen and (min-width: 1100px){
#mw-content{
border: 1px solid var(--main-border-color);
border-radius: 0 0 3px 3px;
border-top-width: 0;
}
#mw-site-navigation .sidebar-chunk,
#mw-related-navigation .sidebar-chunk {
background: rgba(213, 215, 218, .9);
border: 1px solid var(--main-border-color);
box-shadow: var(--main-box-shadow);
border-radius: 3px;
}
}
#mw-site-navigation .sidebar-chunk h3,
#mw-related-navigation .sidebar-chunk h3 {
font-family: 'Idleon';
font-size: 16px;
}
#mw-site-navigation .sidebar-chunk h3:empty {
display: none
}
#p-logo {
border-radius: 3px;
border: 1px solid #0c0d1c;
box-shadow: var(--main-box-shadow);
margin-top: 1em;
padding: 0;
image-rendering: -webkit-optimize-contrast;
}
.client-darkmode #p-logo {
border-color:var(--main-border-color);
}
@media screen and (min-width: 851px) {
.mw-wiki-logo.fallback {
width: 13em;
height: 13em;
background-size: cover;
margin: 0;
max-width: 100%;
}
}
@media screen and (max-width: 550px) {
#p-logo-text {
position: absolute;
}
}
/* ----- DARK MODE ----- */
.client-darkmode #mw-content-container {
filter: none;
background: url(https://idleon.info/wiki/images/2/24/NightDesertBG.png) no-repeat center center fixed;
background-size: cover;
}
.client-darkmode .mw-footer-container {
background: var(--element-bg-color);
color: #000;
}
.client-darkmode .mw-footer-container a,
.client-darkmode .mw-footer-container a:visited {
color: var(--main-link-color);
}
.client-darkmode .mw-footer-container a:hover,
.client-darkmode .mw-footer-container a:visited:hover {
color: var(--main-link-color-hover);
}
.client-darkmode #searchButton {
background:transparent;
}
@media screen and (min-width: 851px) {
.client-darkmode #mw-content-container,
.client-darkmode #mw-content-block,
.client-darkmode .mw-wiki-logo.fallback {
filter: invert(1) hue-rotate(180deg);
-webkit-filter: invert(1) hue-rotate(180deg);
}
}
/* ----- EDITOR ----- */
.oo-ui-labelElement-label,
.label {
color: #000;
}
.codeEditor-status-worker {
color: #f00;
}
.CodeMirror pre.CodeMirror-line {
font-size: 13px;
line-height: 17px;
}