MediaWiki:Mobile.css
Jump to navigation
Jump to search
In other languages: Čeština • Deutsch • Español • Eesti • Français • Italiano • 日本語 • Polski • Português do Brasil • Русский • Türkçe • 中文
CSS and Javascript changes must comply with the wiki design rules.
Note: After saving, 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: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
/* CSS placed here will affect users of the mobile site */
.nomobile {
display: none;
}
/* non-content area */
.mw-ui-icon-arrow::before {
filter: invert(100%);
}
footer {
border-top: 1px solid #aaaaaa;
color: #333333;
}
footer a {
color: #337ab7;
}
footer h2 {
color: #337ab7;
}
/* content area */
.overlay-enabled, #content {
background-color: #ecb18f;
}
#mw-content-text{
padding: 5px;
}
a,
a:visited,
a.external {
color: #337ab7;
}
h1,
h2 {
background: none repeat scroll 0 0 rgba(0, 0, 0, 0);
border-bottom: 1px solid #aaaaaa;
color: #333333;
}
h3, h4, h5, h6 {
background: none repeat scroll 0 0 rgba(0, 0, 0, 0);
color: #333333;
}
.thumb,
#content_wrapper .thumb,
li.gallerybox div.thumb {
background-color: rgba(0, 0, 0, 0);
border: 1px solid #aaaaaa;
}
.content table th {
background-color: rgba(0, 0, 0, 0);
}
.content table td,
.content table th {
border: 1px solid #aaaaaa;
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 #aaaaaa;
}
.content table.wikitable > tr > th,
.content table.wikitable > * > tr > th {
background-color: rgba(0, 0, 0, 0.1);
padding: 3px;
}
/* this CSS governs the responsive 3 column main page layout */
.fpmain {
width: 100%;
overflow: hidden;
z-index: 1;
}
.fpbanner {
background: rgba(0, 0, 0, 0.1);
border: 1px solid rgba(0, 0, 0, 0.1);
box-shadow: 6px 6px 18px -10px #676767;
color: #333333;
margin: 0 5px 5px 5px;
padding: 5px;
min-height: 80px;
}
.fpbannertable {
display: table;
border: none;
background: transparent;
width: 100%;
min-height: 75px;
margin: 0;
padding: 5px;
}
.fpbannercell {
display: table-cell;
text-align: center;
vertical-align: middle;
}
.fpbannerblock {
border: none;
color: #ffffff;
font-weight: bold;
text-shadow: 0 0 8px rgba(255, 255, 255, 0.75);
font-size: 132%;
width: 100%;
margin: 0 0 10px 0;
padding: 0 0 5px 0;
}
.fpmidsections {
float: left;
width: 100%;
overflow: hidden;
}
.fpbox {
background: #fffdfb;
border: 1px solid rgba(0, 0, 0, 0.1);
box-shadow: 6px 6px 18px -10px #676767;
color: #333333;
margin: 5px;
padding: 5px;
overflow: auto;
}
.fpbox .mainheading {
border: none;
border-bottom: 1px solid rgba(0, 0, 0, 0.1);
font-size: 150%;
font-weight: bold;
margin: 0 0 10px 0;
padding: 0 0 5px 0;
overflow: auto;
}
.fpbox .heading {
border: none;
border-bottom: 1px solid rgba(0, 0, 0, 0.1);
text-align: center;
font-size: 132%;
margin: 0 0 10px 0;
padding: 0 0 5px 0;
overflow: auto;
}
.fpmain .columns .leftcol {
width: 100%;
margin: 0;
padding: 0;
}
.fpmain .columns .rightcol {
width: 100%;
margin: 0;
padding: 0;
}
.fpsection1, .fpsection2, .fpsection3, .fpsection4 {
float: left;
clear: both;
width: 100%;
}
div.fp2columnonly, div.fp3columnonly {
display: none;
}
@media (min-width: 790px) {
.fpsection1 {
float: left;
clear: none;
width: 50%;
}
.fpmidsections {
clear: none;
float: right;
width: 50%;
}
.fpsection4 {
float: left;
clear: none;
width: 50%;
}
div.fp2columnonly {
display: block;
}
}
@media (min-width: 990px) {
.fpmain .columns .leftcol {
float: left;
width: 50%;
margin: 0;
padding: 0;
}
.fpmain .columns .rightcol {
float: right;
width: 50%;
margin: 0;
padding: 0;
}
}
@media (min-width: 1390px) {
.fpmidsections {
clear: none;
float: right;
width: 66.667%;
}
.fpsection1 {
clear: none;
width: 33.333%;
}
.fpsection2 {
clear: none;
width: 50%;
}
.fpsection3 {
clear: none;
width: 50%;
}
.fpsection4 {
clear: left;
width: 33.333%;
}
div.fp2columnonly {
display: none;
}
div.fp3columnonly {
display: block;
}
}
.fpbox.plain {
background: transparent;
border: none;
box-shadow: none;
}
.fpimagelist ul {
list-style-type: none;
list-style-image: none;
}
.fpvideos {
margin: 0 auto;
overflow: hidden;
text-align: center;
}
.fpvideo {
display: inline-block;
margin: 0 5px;
}
/* non-content area */
.globalNotice {
position: relative;
color: white;
}
.page-Main_Page.is-authenticated .pre-content {
display: none;
}
.notification-count {
background: transparent;
}
footer {
background-color: #000000;
border-top: 1px solid #394147;
color: #D5D4D4;
}
footer a, footer h2 {
color: #c3c3c3;
}
footer .last-modified-bar {
background: transparent;
}
/* CUSTOM CSS FOR THIS WIKI */
/* BACKGROUND */
#content {
background: url(https://gamepedia.cursecdn.com/astroneer_gamepedia/3/3d/WikiBG.jpg) no-repeat fixed top /cover;
background-color:#ffffff;
color: #333333;
}
#bodyContent {
background-color: #fff;
}
/* HEADERS */
.content-header {
background-color: #2d9bf0;
border: none;
box-shadow: none;
color: #fae800;
font-size: 150%;
margin-bottom: 10px;
text-align: center;
border-radius: 10px;
}
/* TABLES */
.content table th {
background-color: rgba(0,0,0,0.1);
}