Difference between revisions of "MediaWiki:Mobile.css"

From ZynthianWiki
Jump to navigation Jump to search
Line 11: Line 11:
 
   color: #ffffff;
 
   color: #ffffff;
 
   text-align: right;
 
   text-align: right;
 +
  transition: position 0.5s ease;
 
}
 
}
  
 
div.version_bar_fixed {
 
div.version_bar_fixed {
   position: fixed;
+
   position: fixed transition;
 
   top: 0px;
 
   top: 0px;
 
   left: 0px
 
   left: 0px
   right: 100%;
+
   width: 100%;
 
   padding-top: 1px;
 
   padding-top: 1px;
 
   padding-right: 0.6em;
 
   padding-right: 0.6em;
Line 24: Line 25:
 
   color: #ffffff;
 
   color: #ffffff;
 
   text-align: right;
 
   text-align: right;
 +
  transition: position 0.5s ease;
 
}
 
}

Revision as of 12:30, 31 July 2024

/* All CSS here will be loaded for users of the mobile site */

div.version_bar {
  position: sticky !important;
  position: -webkit-sticky !important;
  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 transition;
  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;
}