MediaWiki:Common.css: Difference between revisions
From Lancer Tactics Wiki
Dark header and footer |
m fix profile icon size mobile |
||
| (10 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
/* latin */ | |||
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Space+Mono:ital,wght@0,400;0,700;1,400;1,700&display=swap'); | |||
body { | body { | ||
background: #1a212b; | background: #1a212b; | ||
font-family: 'Open Sans', 'Segoe UI','Segoe UI Emoji','Segoe UI Symbol','Lato','Liberation Sans','Noto Sans','Helvetica Neue','Helvetica',sans-serif; | |||
h1, h2, h3, h4, h5, h6 { | |||
font-family: 'Space Mono', monospace !important; | |||
} | |||
input { | |||
font-family: 'Space Mono', monospace !important; | |||
} | |||
#simpleSearch { | |||
border: solid 1px #36455C; | |||
#searchInput { | |||
font-family: 'Space Mono', monospace; | |||
background: #11151C; | |||
color: white; | |||
border-radius: 0; | |||
} | |||
#searchButton { | |||
background-image: url(/skins/Timeless/resources/images/search-ltr-light.svg); | |||
background-size: 20px 20px; | |||
} | |||
} | |||
#mw-header-container { | #mw-header-container { | ||
background: #1a212b; | background: #1a212b; | ||
border-bottom: 4px solid #E5B91A; | |||
#p-logo-text a { | #p-logo-text a { | ||
font-family: 'Space Mono', monospace; | |||
text-transform: uppercase; | |||
color: #8197b8; | color: #8197b8; | ||
} | } | ||
#personal { | #personal h2 { | ||
font-family: 'Space Mono', monospace; | |||
color: #8197b8; | |||
background-image: url(/skins/Timeless/resources/images/user-light.svg); | |||
@media screen and (min-width: 850px) { | |||
background-size: 20px 20px; | background-size: 20px 20px; | ||
background-position: left 13px; | |||
} | |||
&::after { | |||
background-image: url(/skins/Timeless/resources/images/arrow-down-light.svg); | |||
} | } | ||
} | |||
#p-search { | |||
padding-top: 1px; | |||
} | |||
} | |||
h2::after { | @media screen and (max-width: 850px) { | ||
background-image: url(/skins/Timeless/resources/images/arrow-down- | #site-navigation h2 { | ||
background-image: url(/skins/Timeless/resources/images/menu-large-light.svg); | |||
} | |||
#site-tools h2 { | |||
background-image: url(/skins/Timeless/resources/images/gear-large-light.svg); | |||
&::after { | |||
background-image: url(/skins/Timeless/resources/images/arrow-down-light.svg); | |||
} | } | ||
} | } | ||
} | |||
#mw-header-hack { | |||
display: none; | |||
} | } | ||
#mw-content-container { | #mw-content-container { | ||
background: #36455C; | background: #36455C; | ||
border-bottom: solid 4px #E5B91A; | |||
input[type="button"], input[type="submit"] { | |||
background-color: #E5B91A !important; | |||
color: #11151C !important; | |||
border-color: #E5B91A !important; | |||
&:hover { | |||
color: #fff !important; | |||
} | |||
} | |||
} | |||
#mw-footer-container { | |||
color: #8197b8; | |||
a { | |||
color: #8197b8; | |||
} | |||
#footer-poweredbyico { | |||
background: #8197b8; | |||
padding: 4px 8px 4px 4px; | |||
border-radius: 5px; | |||
} | |||
} | } | ||
} | } | ||
Latest revision as of 06:13, 5 July 2026
/* CSS placed here will be applied to all skins */
/* latin */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Space+Mono:ital,wght@0,400;0,700;1,400;1,700&display=swap');
body {
background: #1a212b;
font-family: 'Open Sans', 'Segoe UI','Segoe UI Emoji','Segoe UI Symbol','Lato','Liberation Sans','Noto Sans','Helvetica Neue','Helvetica',sans-serif;
h1, h2, h3, h4, h5, h6 {
font-family: 'Space Mono', monospace !important;
}
input {
font-family: 'Space Mono', monospace !important;
}
#simpleSearch {
border: solid 1px #36455C;
#searchInput {
font-family: 'Space Mono', monospace;
background: #11151C;
color: white;
border-radius: 0;
}
#searchButton {
background-image: url(/skins/Timeless/resources/images/search-ltr-light.svg);
background-size: 20px 20px;
}
}
#mw-header-container {
background: #1a212b;
border-bottom: 4px solid #E5B91A;
#p-logo-text a {
font-family: 'Space Mono', monospace;
text-transform: uppercase;
color: #8197b8;
}
#personal h2 {
font-family: 'Space Mono', monospace;
color: #8197b8;
background-image: url(/skins/Timeless/resources/images/user-light.svg);
@media screen and (min-width: 850px) {
background-size: 20px 20px;
background-position: left 13px;
}
&::after {
background-image: url(/skins/Timeless/resources/images/arrow-down-light.svg);
}
}
#p-search {
padding-top: 1px;
}
}
@media screen and (max-width: 850px) {
#site-navigation h2 {
background-image: url(/skins/Timeless/resources/images/menu-large-light.svg);
}
#site-tools h2 {
background-image: url(/skins/Timeless/resources/images/gear-large-light.svg);
&::after {
background-image: url(/skins/Timeless/resources/images/arrow-down-light.svg);
}
}
}
#mw-header-hack {
display: none;
}
#mw-content-container {
background: #36455C;
border-bottom: solid 4px #E5B91A;
input[type="button"], input[type="submit"] {
background-color: #E5B91A !important;
color: #11151C !important;
border-color: #E5B91A !important;
&:hover {
color: #fff !important;
}
}
}
#mw-footer-container {
color: #8197b8;
a {
color: #8197b8;
}
#footer-poweredbyico {
background: #8197b8;
padding: 4px 8px 4px 4px;
border-radius: 5px;
}
}
}