Difference between revisions of "MediaWiki:Mobile.css"

From ZynthianWiki
Jump to navigation Jump to search
 
(20 intermediate revisions by the same user not shown)
Line 2: Line 2:
  
 
div.version_bar {
 
div.version_bar {
   position: sticky !important;
+
   position: relative;
  position: -webkit-sticky !important;
 
 
   top: 0px;
 
   top: 0px;
   padding-top: 1px;
+
  height: 1.8em;
 +
   padding: 0.1em;
 
   padding-right: 0.6em;
 
   padding-right: 0.6em;
  border-radius: 0.0em;
 
 
   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;
 +
}
 +
 +
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;
 
}
 
}

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;
}