MediaWiki:Common.css: Difference between revisions

From DelDOT Project Development Manual
Jump to navigation Jump to search
Jtice (talk | contribs)
mNo edit summary
Jtice (talk | contribs)
mNo edit summary
Line 123: Line 123:


/* Styling for the Main Page */
/* Styling for the Main Page */
.main-flexcontainer {
@media screen {
  margin-top: 20px;
  .main-flexcontainer {
  display: flex;
    margin-top: 20px;
  justify-content: space-around;
    display: flex;
}
    justify-content: space-around;
  }


.main-flexbox {
  .main-flexbox {
  border: 1px solid #CCC;
    border: 1px solid #CCC;
  padding: 0 1em 1em;
    padding: 0 1em 1em;
  margin: 0 10px;
    margin: 0 10px;
  box-shadow: 0 2px 2px rgba(0,0,0,0.1);
    box-shadow: 0 2px 2px rgba(0,0,0,0.1);
}
  }


.main-flexbox ul {
  .main-flexbox ul {
  list-style: none;
    list-style: none;
  line-height: 2;
    line-height: 2;
  margin-left: 0.5em;
    margin-left: 0.5em;
}
  }
/* End styling for the Main Page */
/* End styling for the Main Page */

Revision as of 19:40, 31 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;*/
    color:#F47920;
    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 */

.deldotreport ol {
  counter-reset: section;
  list-style-type: none;
}

.deldotreport ol li::before {
  counter-increment: section;
  content: counter(section, upper-roman) ". ";
}

.deldotreport ol li > ol li::before {
  counter-increment: section;
  content: counters(section,".") " ";
}
/* End styling for reports */

/* Styling for the Main Page */
@media screen {
  .main-flexcontainer {
    margin-top: 20px;
    display: flex;
    justify-content: space-around;
  }

  .main-flexbox {
    border: 1px solid #CCC;
    padding: 0 1em 1em;
    margin: 0 10px;
    box-shadow: 0 2px 2px rgba(0,0,0,0.1);
  }

  .main-flexbox ul {
    list-style: none;
    line-height: 2;
    margin-left: 0.5em;
  }
/* End styling for the Main Page */