Difference between revisions of "MediaWiki:Mobile.css"
Jump to navigation
Jump to search
Line 2: | Line 2: | ||
div.version_bar { | div.version_bar { | ||
− | position: sticky | + | position: sticky; |
− | position: -webkit-sticky | + | position: -webkit-sticky; |
top: 0px; | top: 0px; | ||
padding-top: 1px; | padding-top: 1px; | ||
Line 15: | Line 15: | ||
div.version_bar_fixed { | div.version_bar_fixed { | ||
− | position: fixed | + | position: fixed; |
top: 0px; | top: 0px; | ||
left: 0px | left: 0px |
Revision as of 12:31, 31 July 2024
/* All CSS here will be loaded for users of the mobile site */
div.version_bar {
position: sticky;
position: -webkit-sticky;
top: 0px;
padding-top: 1px;
padding-right: 0.6em;
border-radius: 0.0em;
background-color: #000000;
color: #ffffff;
text-align: right;
transition: position 0.5s ease;
}
div.version_bar_fixed {
position: fixed;
top: 0px;
left: 0px
width: 100%;
padding-top: 1px;
padding-right: 0.6em;
border-radius: 0.0em;
background-color: #000000;
color: #ffffff;
text-align: right;
transition: position 0.5s ease;
}