MediaWiki:Mobile.css
Note: After saving, you have to bypass your browser's cache to see the changes. The simplest method that will work for most users is to hold down the ⇧ Shift key and click the Reload toolbar button. For details and other methods, see Help:Clear your browser cache.
/*
* This stylesheet is loaded on mobile only.
*
* Desktop-only styles should go in MediaWiki:Common.css or MediaWiki:Vector.css if theme related.
* Sitewide styles should go in MediaWiki:Sitewide.css.
*/
/* Header and footer */
.header-container.header-chrome,
#mw-mf-page-center {
background: transparent;
}
footer {
/*
color: #e0e0e0;
*/
}
.overlay #secondary-button.user-button,
.header #secondary-button.user-button,
.overlay .user-button,
.header .user-button {
background: transparent;
}
/* end header and footer */
.nomobile {
display: none;
}
.client-js .toc-mobile {
background-color: rgba(0, 0, 0, 0) !important;
border: 1px solid #505050 !important;
}
.mw-ui-button,
.last-modified-bar #mw-mf-last-modified {
background-color: rgba(0, 0, 0, 0);
/*
color: #e0e0e0;
*/
}
.overlay-enabled, #content {
/*
background: #101010;
color: #e0e0e0;
*/
}
a,
a:visited,
a.external {
color: #5a93cc;
}
/* For hydradark only - makes the section collapse arrow visible */
/*
.mw-ui-icon-arrow::before {
filter: invert(100%);
}
*/
.thumb,
#content_wrapper .thumb,
li.gallerybox div.thumb {
background-color: rgba(0, 0, 0, 0);
border: 1px solid #505050;
}
.content table th {
background-color: rgba(0, 0, 0, 0);
}
.content table td,
.content table th {
border: 1px solid #505050;
padding: 3px;
}
.content table.wikitable {
background-color: rgba(0, 0, 0, 0);
margin: auto;
margin-bottom: 1em;
}
.content table.wikitable > tr > th,
.content table.wikitable > tr > td,
.content table.wikitable > * > tr > th,
.content table.wikitable > * > tr > td {
border: 1px solid #505050;
}
.content table.wikitable > tr > th,
.content table.wikitable > * > tr > th {
background-color: inherit;
padding: 3px;
}
/* Responsive main page stuff */
/********************
/* Main menu styles *
/********************/
.primary-navigation-enabled {
border-left: 12px solid #505050 !important;
background: #101010 !important;
}
#mw-mf-page-left {
border-left: 12px solid #505050;
background: transparent;
}
#mw-mf-page-left ul {
background: transparent;
}
#mw-mf-page-left ul:first-child {
border-bottom: 12px solid #505050;
}
#mw-mf-page-left ul li {
border-top: 1px solid #505050;
border-bottom: 1px solid #505050;
background: transparent;
text-shadow: none;
}
#mw-mf-page-left ul li a,
#mw-mf-page-left ul.hlist li a {
border: none;
color: #3674b3;
}
#mw-mf-page-left ul li:hover {
border-left: 12px solid #aaaaaa;
background: #505050;
}
#mw-mf-page-left ul.hlist li:hover {
border: none;
}
#mw-mf-page-left ul li:hover a,
#mw-mf-page-left ul.hlist li:hover a {
color: #ffffff;
}
/* Recent changes */
.content .mw-changeslist table td {
border: none;
padding: 1px;
}
div.cpbox div.feature {
width:unset !important;
}
/* Classes permitting setting of alignment on mobile only or differently on desktop and mobile */
/* (See .desktopleft, .desktopcenter, .desktopright in MediaWiki:Common.css for the desktop equivalents */
.mobileleft {
text-align: left;
}
.mobilecenter {
text-align: center;
}
.mobileright {
text-align: right;
}
/* ===== Hoverbox ===== */
/* Disable hover boxes on mobile */
.hoverbox__display {
display: none;
}