MediaWiki:Mobile.css
From Regiapædia
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 */
.mobile-float-reset { float: none !important; width: 100% !important; }
/* Hides Desktop only elements */
#mf-HideOnMobile { display: none; }
.header {
margin-top: 0;
border-top: none;
background-color: lightgray !important;
}
input.search {
background: none !important;
}
/* non-content area */
body.search-overlay {
background-color: #000000 !important;
color: white;
}
/* Footer */
div#footer {
margin-left: 160px !important;
border: none;
background-color: #000000;
color: #ffffff;
}
div#footer ul li {
color: #ffffff;
}
div#footer a {
color: #ffffff;
}
div#footer a:visited {
color: #ffffff;
}
/* content area */
#content {
background: #FFFFD5;
color: #000000;
border: 1px solid #000000;
border-top: 1px solid #000000;
}
h1, h2, h3, h4, h5, h6 {
color: #800000;
font-weight: bold;
font-family: sans-serif;
}
#gBox {
width:130px;
height:120px;
background-color:LightGray;
}
#gBoxImg {
width:130px;
}