MediaWiki:Mobile.css: Difference between revisions

From Starfield Fans Wiki
(Created page with "→‎All CSS here will be loaded for users of the mobile site: →‎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: colla...")
 
No edit summary
Line 45: Line 45:
div.vector-sitenotice-container {  
div.vector-sitenotice-container {  
   display: none;
   display: none;
}
/*Important: Show only mobile ad code on mobile*/
.nomobile {
  display: none !important;
}
}

Revision as of 05:14, 22 August 2023

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

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


/* remove header on main page (Starfield Wiki) */
body.page-Starfield_Wiki header.mw-body-header { 
  display: none;
}
body.page-Starfield_Wiki h1#firstHeading {
  display: none;
}


/* remove the empty space below the search bar and above the content  */
div.vector-sitenotice-container { 
  display: none;
}

/*Important: Show only mobile ad code on mobile*/
.nomobile {
  display: none !important;
}