MediaWiki:Mobile.css
Jump to navigation
Jump to search
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Press Ctrl-F5.
/* All CSS here will be loaded for users of the mobile site */
.panel {
margin-bottom: 20px;
border: 1px solid transparent;
border-radius: 4px;
-webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
}
.panel-body {
padding: 15px;
}
.panel-heading {
padding: 10px 15px;
border-bottom: 1px solid transparent;
border-top-left-radius: 3px;
border-top-right-radius: 3px;
}
.panel-heading > .dropdown .dropdown-toggle {
color: inherit;
}
.panel-title {
margin-top: 0;
margin-bottom: 0;
font-size: 16px;
color: inherit;
}
.panel-footer {
padding: 10px 15px;
border-top: 1px solid #ddd;
border-bottom-right-radius: 3px;
border-bottom-left-radius: 3px;
}
[data-theme="dark"] {
color: #aaa!important;
background-color: #272b30!important;
}
[data-theme="dark"] #mw-head,
[data-theme="dark"] #mw-head-base {
color: #aaa!important;
background-color: #272b30!important;
}
[data-theme="dark"] .jumbotron {
background-color: #1c1e22!important;
}
[data-theme="dark"] .mw-body,
[data-theme="dark"] .parsoid-body {
background-color: #32383e!important;
color: #aaa!important;
}
[data-theme="dark"] a {
color: #fff!important;
}