MediaWiki:Mobile.css

Revision as of 13:55, 3 February 2024 by Amwelladmin (talk | contribs)

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* CSS placed here will affect users of the mobile site */
body.page-Main_Page h1.firstHeading { display: none; }
body.Page-main_Page .catlinks { display: none; }
body.mediawiki { font-family: georgia }
#firstHeading{ font-family: arial, sans-serif; font-size: 180%; }
#content h2, #content h3, #content h4, #content h5 { font-family: arial, sans-serif; font-weight: normal; }
#content h2 { font-size: 160%; }
#content h3 { font-size: 140%; }
#content h4 { font-size: 125%; }
#content h5 { font-size: 110%; }
.fontsize { font-size: 50%; } 
.right { text-align: right; }
.italic { font-style: italic; }
.wrap { white-space: pre; }

/* To make images responsive */
img {
	max-width:100%;
	height:auto;
}

/* Autonumbering paragraphs */

ol {
    counter-reset: number;
 	list-style-position: outside;
  	text-align: left;
    counter-reset: list;
    font-family: georgia;
}

ol > li {
  	list-style: none;
  	counter-increment: list;
    margin-bottom: 6px;
    }

ol.decimal > li::before {
  	content: counter(list);
  	vertical-align: left;
  	position: absolute;
  	margin-left: -1.1cm;
}

ol.doubledecimal > li::before { 
	content: counters(list, "."); 
    counter-increment: 1;
    vertical-align: left;
  	position: absolute;
  	margin-left: -1.1cm;
}

ol.lower-alpha > li::before {
  	content: "(" counter(list, lower-alpha) ")   ";
  	vertical-align: left;
  	position: absolute;
  	margin-left: -1.1cm;
}

ol.lower-roman > li::before {
  	content: "(" counter(list, lower-roman) ")   ";
  	vertical-align: left;
 	position: absolute;
 	margin-left: -1.1cm;
}

/* drop caps */
.drop {
  font-weight: regular;
  float: left;
  margin-right: 5px;
  margin-bottom: -5px; 
  font-size: 3.5em;
  font-family: Georgia;
  line-height: 100%;
}