MediaWiki:Mobile.css: Difference between revisions
MediaWiki interface page
More actions
No edit summary |
No edit summary Tags: Mobile edit Mobile web edit |
||
| (38 intermediate revisions by the same user not shown) | |||
| Line 17: | Line 17: | ||
.editOptions {background-color: #333232;} | .editOptions {background-color: #333232;} | ||
pre {background-color: #4D4C4D} | pre {background-color: #4D4C4D} | ||
.oo-ui-fieldLayout-header {background-color: #333232;} | .oo-ui-fieldLayout-header {background-color: #333232; max-width: none;} | ||
.oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-top > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-header, .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-inline > .oo-ui-fieldLayout-body {max-width: none;} | |||
.oo-ui-layout.oo-ui-horizontalLayout {background-color: #333232;} | .oo-ui-layout.oo-ui-horizontalLayout {background-color: #333232;} | ||
.mw-summary.oo-ui-layout.oo-ui-labelElement.oo-ui-fieldLayout.oo-ui-fieldLayout-align-top {background-color: #333232;} | .mw-summary.oo-ui-layout.oo-ui-labelElement.oo-ui-fieldLayout.oo-ui-fieldLayout-align-top {background-color: #333232;} | ||
| Line 38: | Line 39: | ||
#mw-whatlinkshere-target {background-color: #4C4C4C; color: #C1C1C1;} | #mw-whatlinkshere-target {background-color: #4C4C4C; color: #C1C1C1;} | ||
#namespace {background-color: #FFFFFF; color: #000000;} | #namespace {background-color: #FFFFFF; color: #000000;} | ||
/* changes page */ | |||
#mw-mf-userinfo {background-color: #2B2A2B; border-color: #2B2A2B;} | |||
/* all pages */ | /* all pages */ | ||
| Line 103: | Line 107: | ||
#ooui-1 {background-color: #4C4C4C; border-color: #A2A9B1;} | #ooui-1 {background-color: #4C4C4C; border-color: #A2A9B1;} | ||
.oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-buttonElement-pressed > .oo-ui-buttonElement-button {background-color: #E69710; color: #FFFFFF;} | .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-buttonElement-pressed > .oo-ui-buttonElement-button {background-color: #E69710; color: #FFFFFF;} | ||
#a.oo-ui-buttonElement-button {background-color: #E69710; border-color: #E69710;} | |||
.oo-ui-buttonElement-framed.oo-ui-widget-enabled {background-color: #E69710; border-color: #E69710;} | |||
.oo-ui-buttonElement-button {background-color: #E69710; border-color: #E69710;} | |||
/* preferences page */ | /* preferences page */ | ||
| Line 123: | Line 130: | ||
:root.skin-citizen-dark a:link.stub { color: #E69710; } /* hovered links */ | :root.skin-citizen-dark a:link.stub { color: #E69710; } /* hovered links */ | ||
:root.skin-citizen-dark a:link {color: #E69710} | :root.skin-citizen-dark a:link {color: #E69710;} | ||
:root.skin-citizen-dark a:visited {color: #DB8200} | :root.skin-citizen-dark a:visited {color: #DB8200;} | ||
:root.skin-citizen-dark a:hover {color: #E69710} | :root.skin-citizen-dark a:hover {color: #E69710;} | ||
:root.skin-citizen-dark a:active {color: #E69710} | :root.skin-citizen-dark a:active {color: #E69710;} | ||
/* login */ | |||
#pt-login {background-color: #E69710;} | |||
#p-personal-header {background-color: #2B2A2B;} | |||
/* check mark */ | |||
#wpWatchthisWidget {--color-primary: #B47B18} | |||
.oo-ui-widget.oo-ui-widget-enabled.oo-ui-inputWidget.oo-ui-checkboxInputWidget {--color-primary: #B47B18} | |||
/* preferences */ | |||
:root {--color-primary: #E69710;} | |||
/* infobox */ | |||
@media screen and (max-width: 1280px) { | |||
table.infobox { | |||
width: 100% !important; | |||
margin: 0; | |||
padding: 0 0.5em; | |||
box-sizing: border-box; | |||
table-layout: auto !important; | |||
overflow-x: hidden !important; | |||
} | |||
table.infobox > tbody { | |||
display: block; | |||
min-width: 100%; | |||
} | |||
table.infobox th, | |||
table.infobox td { | |||
text-align: center !important; | |||
white-space: normal !important; | |||
word-wrap: break-word !important; | |||
padding: 0.5em; | |||
} | |||
table.infobox img { | |||
display: block; | |||
width: 100% !important; | |||
height: auto !important; | |||
margin: 0; | |||
} | |||
} | |||
/* section dropdown */ | |||
.section-heading.collapsible-heading { | |||
display: block !important; | |||
} | |||
.section-heading.collapsible-heading > .mw-ui-icon, | |||
.section-heading.collapsible-heading > .mw-headline, | |||
.section-heading.collapsible-heading > .mw-editsection { | |||
display: block !important; | |||
/* optional spacing if you want a little gap between icon/headline/edit link */ | |||
margin-bottom: 0.25em; | |||
} | |||
.section-heading.collapsible-heading > .mw-ui-icon { | |||
float: left; | |||
margin-right: 0.5em; | |||
} | |||