Difference between revisions of "MediaWiki:Mobile.css"
From Regiapædia
| Line 5: | Line 5: | ||
#mf-HideOnMobile { display: none; } | #mf-HideOnMobile { display: none; } | ||
| + | .header { | ||
| + | margin-top: 0; | ||
| + | border-top: none; | ||
| + | background-color: #F0F0F0 !important; | ||
| + | } | ||
| + | input.search { | ||
| + | background: none !important; | ||
| + | } | ||
| + | |||
| + | /* non-content area */ | ||
| + | body.search-overlay { | ||
| + | background-color: #282828 !important; | ||
| + | color: white; | ||
| + | } | ||
| + | |||
| + | /* Footer */ | ||
| + | div#footer { | ||
| + | border: none; | ||
| + | background-color: #282828; | ||
| + | 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; | ||
| + | } | ||
[[Category:Wiki]] | [[Category:Wiki]] | ||
Revision as of 17:52, 21 June 2017
/* 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: #F0F0F0 !important;
}
input.search {
background: none !important;
}
/* non-content area */
body.search-overlay {
background-color: #282828 !important;
color: white;
}
/* Footer */
div#footer {
border: none;
background-color: #282828;
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;
}
[[Category:Wiki]]