MediaWiki:Mobile.css: Difference between revisions

no edit summary
No edit summary
No edit summary
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
/*Do Not display elements with .nomobile class on Mobile*/
/*Do Not display elements with .nomobile class on Mobile*/


/* Old Infobox template style - NOT WORKING on Mobile*/
.infobox {
  border: 1px solid #020202;
  background-color: #f9f9f9;
  color: black;
  margin-bottom: 0.5em;
  margin-left: 1em;
  padding: 0.2em;
  float: right;
  clear: right;
}
.infobox td,
.infobox th {
  vertical-align: top;
}
.infobox caption {
  font-size: larger;
  margin-left: inherit;
}
.infobox.bordered {
  border-collapse: collapse;
}
.infobox.bordered td,
.infobox.bordered th {
  border: 1px solid #020202;
}
.infobox.bordered .borderless td,
.infobox.bordered .borderless th {
  border: 0;
}
/* model infobox */
.model-infobox{
.model-infobox{
     position: relative;
     position: relative;
     width: 300px;
     min-width: 300px;
     background: #fff;
     background: #fff;
     font-size: 0.923em;
     font-size: 0.923em;
Line 10: Line 42:
     padding: 0;
     padding: 0;


}
.model-infobox p {
    padding: 5px 5px 5px 5px;
}
}


Line 73: Line 109:
div.vector-sitenotice-container {  
div.vector-sitenotice-container {  
   display: none;
   display: none;
}