MediaWiki:Common.css: Difference between revisions

From DelDOT Project Development Manual
Jump to navigation Jump to search
Jtice (talk | contribs)
No edit summary
Jtice (talk | contribs)
No edit summary
Line 105: Line 105:
/* List styling for reports */
/* List styling for reports */
div.deldotreport ol {
div.deldotreport ol {
/*  counter-reset: report-section;*/
  counter-reset: rsection;
   list-style-type: upper-roman;
   list-style-type: upper-roman;
}
}


div.deldotreport ol li {  
div.deldotreport ol li {  
   counter-increment: report-section;
   counter-increment: rsection;
}
}


div.deldotreport ol li > ol {  
div.deldotreport ol li > ol {  
   counter-reset: report-subsection;
   counter-reset: rsubsection;
   list-style-type: none;
   list-style-type: none;
}
}
div.deldotreport ol li > ol li::before {  
div.deldotreport ol li > ol li::before {  
   content: counter(report-section) "." counter(report-subsection) " ";
   content: counter(rsection) "." counter(rsubsection) " ";
}
}



Revision as of 18:40, 10 October 2022

/* CSS placed here will be applied to all skins */

.tocnumber {
    display:none
}

div ol {
    list-style-type:decimal
}

div ol ol {
    list-style-type:lower-alpha
}

div ol ol ol {
    list-style-type:lower-roman
}

div ol ol ol ol {
    list-style-type:disc
}

div ol ol ol ol ol {
    list-style:none
}

div.alpha_list ol {
    list-style-type:lower-alpha
}

div.alpha_list ol ol {
    list-style-type:lower-roman
}

div.alpha_list ol ol ol {
    list-style-type:decimal
}

div.alpha_list ol ol ol ol {
    list-style-type:disc
}

div.alpha_list ol ol ol ol ol {
    list-style:none
}


div#mydiv ol ol ol ol {
    list-style-type:decimal
}

div ol ol ol ol ol > li {
    counter-increment:section
}

div ol ol ol ol ol > li:before {
    content: "(" counter(section, decimal) ") "
}

div ol ol ol ol ol ol {
    list-style:none;
    margin:0;
    padding:0
}

div ol ol ol ol ol ol > li {
    counter-increment:subsection
}

div ol ol ol ol ol ol > li:before {
    content:counter(subsection, disc)" "
}

h2 {
    color:#fe9901;
    font-size:48px;
    font-style:bold;
    border:none;   
} /* (xxx.x) */

h3 {
    font-size:16p;
    font-style:bold; 
} /* (xxx.x.x) */

h4 {
    font-size:16p;
    font-style:italic;   
} /* (xxx.x.x.x) */

h5 {
    font-size:14p;
    font-style:none;
} /* (xxx.x.x.x.x) */

h6 {
    font-size:14p;
    font-style:italic;  
} /* (xxx.x.x.x.x.x) */

.mw-body-content p {
    margin: 0.75em 0;
}

/* List styling for reports */
div.deldotreport ol {
  counter-reset: rsection;
  list-style-type: upper-roman;
}

div.deldotreport ol li { 
  counter-increment: rsection;
}

div.deldotreport ol li > ol { 
  counter-reset: rsubsection;
  list-style-type: none;
}
div.deldotreport ol li > ol li::before { 
  content: counter(rsection) "." counter(rsubsection) " ";
}


div.deldotreport ol ol ol { 
  list-style-type: lower-roman; 
}