MediaWiki:Common.css: Difference between revisions

no edit summary
No edit summary
No edit summary
(57 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: helvetica, 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: helvetica, 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: arial, sans-serif; font-weight: normal; font-size: 105%; font-style: italic;}
#content h6 { font-family: helvetica, sans-serif; font-weight: normal; font-size: 105%; font-style: italic;}


.col2 { column-count: 2;  column-gap: 35px; text-align: justify; text-justify: inter-word;  hyphens: auto; }
.col2 { column-count: 2;  column-gap: 35px; text-align: justify; text-justify: inter-word;  hyphens: auto; }
Line 48: Line 48:


/* Autonumbering paragraphs */
/* Autonumbering paragraphs */
.mw-content-ltr dd {
      margin-left: 30px;
}
.mw-content-ltr ul {
    margin-top: 0px;
    margin-bottom: 0px;
    margin-left: 30px;
    margin-right: 0px;
}
.mw-content-ltr ol {
    margin-top: 0px;
    margin-bottom: 0px;
    margin-left: 0px;
    margin-right: 0px;
}
ul {
    list-style-position: outside;
    text-align: left;
    margin-bottom: 0px;
    margin-left: 30px; /* Adjusted margin */
    font-family: georgia;
}


ol {
ol {
     counter-reset: number;
     counter-reset: number;
list-style-position: outside;
    list-style-position: outside;
  text-align: left;
    text-align: left;
    margin-bottom: 0px;
     counter-reset: list;
     counter-reset: list;
     font-family: georgia;
     font-family: georgia;
    padding-left: 0px; /* No padding */
}
}
ol > li {
ol > li {
  list-style: none;
    list-style: none;
  counter-increment: list;
    counter-increment: list;
     margin-bottom: 6px;
     margin-top: 6px;
     }
     padding-left: 30px; /* Adjust this value to set the inner margin */
 
}
ol.decimal > li::before {
ol.decimal > li::before {
  content: counter(list);
    content: counter(list);
  vertical-align: left;
    vertical-align: left;
  position: absolute;
    position: absolute;
  margin-left: -1.1cm;
    margin-left: -30px; /* Adjusted margin */
}
}
ol.doubledecimal > li::before {  
ol.doubledecimal > li::before {  
content: counters(list, ".");  
    content: counters(list, ".");  
     counter-increment: 1;
     counter-increment: 1;
     vertical-align: left;
     vertical-align: left;
  position: absolute;
    position: absolute;
  margin-left: -1.1cm;
    margin-left: -30px; /* Adjusted margin */
}
}
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%;
}
}