MediaWiki:Common.css: Difference between revisions
From The Muse
borders and colors and header I think |
spacing for definitions |
||
| (25 intermediate revisions by the same user not shown) | |||
| Line 2: | Line 2: | ||
/* latin */ | /* latin */ | ||
@import url('https://fonts.googleapis.com/css2?family=Space+Mono:ital,wght@0,400;0,700;1,400;1,700&display=swap'); | @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; | |||
dt { | |||
font-family: ' | font-family: 'Open Sans', 'Segoe UI','Segoe UI Emoji','Segoe UI Symbol','Lato','Liberation Sans','Noto Sans','Helvetica Neue','Helvetica',sans-serif; | ||
margin: 0 1em 4px; | |||
} | } | ||
h1, h2, h3, h4, h5, h6 { | |||
font-family: 'Space Mono', monospace !important; | |||
} | |||
input { | |||
font-family: 'Space Mono', monospace !important; | |||
} | |||
.mw-createacct-benefits-heading, .mw-number-text, .mw-number-text strong { | |||
font-family: 'Space Mono', monospace !important; | |||
background: none !important; | |||
padding: 0 !important; | |||
} | |||
#simpleSearch { | |||
border: solid 1px #36455C; | |||
#searchInput { | |||
font-family: 'Space Mono', monospace; | 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; | |||
} | } | ||
} | } | ||
| Line 32: | Line 58: | ||
color: #8197b8; | color: #8197b8; | ||
background-image: url(/skins/Timeless/resources/images/user-light.svg); | background-image: url(/skins/Timeless/resources/images/user-light.svg); | ||
background-size: 20px 20px; | @media screen and (min-width: 850px) { | ||
background-size: 20px 20px; | |||
background-position: left 13px; | |||
} | |||
&::after { | &::after { | ||
background-image: url(/skins/Timeless/resources/images/arrow-down-light.svg); | background-image: url(/skins/Timeless/resources/images/arrow-down-light.svg); | ||
| Line 41: | Line 69: | ||
#p-search { | #p-search { | ||
padding-top: | padding-top: 1px; | ||
} | } | ||
} | |||
#site-navigation, #site-tools, #page-tools { | |||
background: #eee !important; | |||
} | } | ||
| Line 61: | Line 93: | ||
#mw-header-hack { | #mw-header-hack { | ||
display: none; | display: none; | ||
} | |||
#mw-header-nav-hack { | |||
background: #eee !important; | |||
.color-middle, .color-left, .color-right { | |||
background: #E5B91A; | |||
height: 4px; | |||
} | |||
} | } | ||
| Line 66: | Line 107: | ||
background: #36455C; | background: #36455C; | ||
border-bottom: solid 4px #E5B91A; | border-bottom: solid 4px #E5B91A; | ||
input[type="button"], input[type="submit"], #wpCreateaccount { | |||
background-color: #E5B91A !important; | |||
color: #11151C !important; | |||
border-color: #E5B91A !important; | |||
&:hover { | |||
color: #fff !important; | |||
} | |||
} | |||
#mw-content { | |||
background: #eee !important; | |||
} | |||
.mw-body h1.firstHeading { | |||
border-color: #52698C; | |||
padding-bottom: 6px; | |||
} | |||
.mw-indicators { | |||
font-family: 'Space Mono',monospace !important; | |||
.mw-helplink-icon { display: none; } | |||
} | |||
.tools-inline li { | |||
font-family: 'Space Mono',monospace !important; | |||
padding-bottom: 2px; | |||
&.selected { border-color: #52698C; } | |||
&:not(.mw-watchlink) a { | |||
background: none; | |||
padding: 0 2px; | |||
} | |||
} | |||
.mw-editsection { | |||
font-family: 'Space Mono', monospace !important; | |||
background: none; | |||
margin: 0; | |||
a:first-of-type { | |||
padding: 0; | |||
margin: 0; | |||
} | |||
} | |||
} | } | ||
| Line 77: | Line 165: | ||
#footer-poweredbyico { | #footer-poweredbyico { | ||
background: #8197b8; | background: #8197b8; | ||
padding: | padding: 4px; | ||
border-radius: 5px; | border-radius: 5px; | ||
} | } | ||
} | } | ||
} | } | ||
Latest revision as of 03:01, 6 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;
dt {
font-family: 'Open Sans', 'Segoe UI','Segoe UI Emoji','Segoe UI Symbol','Lato','Liberation Sans','Noto Sans','Helvetica Neue','Helvetica',sans-serif;
margin: 0 1em 4px;
}
h1, h2, h3, h4, h5, h6 {
font-family: 'Space Mono', monospace !important;
}
input {
font-family: 'Space Mono', monospace !important;
}
.mw-createacct-benefits-heading, .mw-number-text, .mw-number-text strong {
font-family: 'Space Mono', monospace !important;
background: none !important;
padding: 0 !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;
}
}
#site-navigation, #site-tools, #page-tools {
background: #eee !important;
}
@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-header-nav-hack {
background: #eee !important;
.color-middle, .color-left, .color-right {
background: #E5B91A;
height: 4px;
}
}
#mw-content-container {
background: #36455C;
border-bottom: solid 4px #E5B91A;
input[type="button"], input[type="submit"], #wpCreateaccount {
background-color: #E5B91A !important;
color: #11151C !important;
border-color: #E5B91A !important;
&:hover {
color: #fff !important;
}
}
#mw-content {
background: #eee !important;
}
.mw-body h1.firstHeading {
border-color: #52698C;
padding-bottom: 6px;
}
.mw-indicators {
font-family: 'Space Mono',monospace !important;
.mw-helplink-icon { display: none; }
}
.tools-inline li {
font-family: 'Space Mono',monospace !important;
padding-bottom: 2px;
&.selected { border-color: #52698C; }
&:not(.mw-watchlink) a {
background: none;
padding: 0 2px;
}
}
.mw-editsection {
font-family: 'Space Mono', monospace !important;
background: none;
margin: 0;
a:first-of-type {
padding: 0;
margin: 0;
}
}
}
#mw-footer-container {
color: #8197b8;
a {
color: #8197b8;
}
#footer-poweredbyico {
background: #8197b8;
padding: 4px;
border-radius: 5px;
}
}
}