Difference between revisions of "MediaWiki:Mobile.css"
Jump to navigation
Jump to search
| (19 intermediate revisions by the same user not shown) | |||
| Line 2: | Line 2: | ||
div.version_bar { | div.version_bar { | ||
| − | position: | + | position: relative; |
| − | |||
top: 0px; | top: 0px; | ||
| − | padding | + | height: 1.8em; |
| + | padding: 0.1em; | ||
padding-right: 0.6em; | padding-right: 0.6em; | ||
| − | |||
background-color: #000000; | background-color: #000000; | ||
color: #ffffff; | color: #ffffff; | ||
text-align: right; | text-align: right; | ||
| + | line-height: 1em; | ||
| + | //transition: all 1s ease-in-out; | ||
| + | z-index: 1000; | ||
} | } | ||
| Line 16: | Line 18: | ||
position: fixed; | position: fixed; | ||
top: 0px; | top: 0px; | ||
| − | left: | + | left: -10px; |
| − | + | width: 100%; | |
| − | + | height: 1.8em; | |
| − | padding | + | padding: 0; |
| − | + | padding-right: 0.8em; | |
background-color: #000000; | background-color: #000000; | ||
color: #ffffff; | color: #ffffff; | ||
text-align: right; | text-align: right; | ||
| + | line-height: 1em; | ||
| + | //transition: all 1s ease-in-out; | ||
| + | z-index: 1000; | ||
} | } | ||
Latest revision as of 16:15, 31 July 2024
/* All CSS here will be loaded for users of the mobile site */
div.version_bar {
position: relative;
top: 0px;
height: 1.8em;
padding: 0.1em;
padding-right: 0.6em;
background-color: #000000;
color: #ffffff;
text-align: right;
line-height: 1em;
//transition: all 1s ease-in-out;
z-index: 1000;
}
div.version_bar_fixed {
position: fixed;
top: 0px;
left: -10px;
width: 100%;
height: 1.8em;
padding: 0;
padding-right: 0.8em;
background-color: #000000;
color: #ffffff;
text-align: right;
line-height: 1em;
//transition: all 1s ease-in-out;
z-index: 1000;
}