MediaWiki:Mobile.css: Difference between revisions

no edit summary
No edit summary
Tags: Mobile edit Mobile web edit
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 3: Line 3:
body.Page-main_Page .catlinks { display: none; }
body.Page-main_Page .catlinks { display: none; }
body.mediawiki { font-family: georgia }
body.mediawiki { font-family: georgia }
#firstHeading{ font-family: arial, sans-serif; font-size: 180%; }
#firstHeading{ font-family: aptos, sans-serif; font-size: 180%; }
#content h2, #content h3, #content h4, #content h5 { font-family: arial, sans-serif; font-weight: normal; }
#content h2, #content h3, #content h4, #content h5 { font-family: aptos, sans-serif; font-weight: normal; }
#content h2 { font-size: 160%; }
#content h2 { font-size: 160%; }
#content h3 { font-size: 140%; }
#content h3 { font-size: 140%; }
#content h4 { font-size: 125%; }
#content h4 { font-size: 125%; }
#content h5 { font-size: 110%; }
#content h5 { font-size: 110%; }
#content h6 { font-family: aptos, sans-serif; font-weight: normal; font-size: 105%; font-style: italic;}
.fontsize { font-size: 50%; }  
.fontsize { font-size: 50%; }  
.right { text-align: right; }
.right { text-align: right; }
Line 50: Line 51:
   margin-left: -1.1cm;
   margin-left: -1.1cm;
}
}
ol.lower-alpha > li::before {
ol.lower-alpha > li::before {
  content: "(" counter(list, lower-alpha) ")  ";
    content: "(" counter(list, lower-alpha) ")  ";
  vertical-align: left;
    vertical-align: left;
  position: absolute;
    position: absolute;
  margin-left: -1.1cm;
    margin-left: -30px; /* Adjusted margin */
}
ol.upper-alpha > li::before {
    content: "(" counter(list, upper-alpha) ")  ";
    vertical-align: left;
    position: absolute;
    margin-left: -30px; /* Adjusted margin */
}
ol.lower-roman > li::before {
    content: "(" counter(list, lower-roman) ")  ";
    vertical-align: left;
    position: absolute;
    margin-left: -30px; /* Adjusted margin */
}
ol.upper-roman > li::before {
    content: "(" counter(list, upper-roman) ")  ";
    vertical-align: left;
    position: absolute;
    margin-left: -30px; /* Adjusted margin */
}
}


ol.lower-roman > li::before {
/* drop caps */
  content: "(" counter(list, lower-roman) ")  ";
.drop {
  vertical-align: left;
  font-weight: regular;
position: absolute;
  float: left;
margin-left: -1.1cm;
  margin-right: 5px;
  margin-bottom: -5px;  
  font-size: 3.5em;
  font-family: Georgia;
  line-height: 100%;
}
}