MediaWiki:Common.css
Jump to navigation
Jump to search
Note: After saving, 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: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
/* DCK 2_23_2021 Added to get multi tiered numbered lists. -----------------------------------------*/
/* Well this was super annoying to figure out...
.numlist is an arbitrary class i choose.
ol is the Ordered List
li is the list item
li:before no idea, stole that code off the interwebs.
So, the space between .numlist and ol says "select all ol items that are decendants of .numlist.
counter-reset: cNumlist--> cNumlist is the arbitrary name of the counter i choose.
This should work for any number of list items...
*/
.numlist ol {counter-reset: cNumlist;}
.numlist li{ display: block; }
.numlist li::before { content: counters(cNumlist, ".") ". "; counter-increment: cNumlist; }
/* Defining an alternative to a Heading format that doesn't get put into the TOC*/
.txtBig {
font-size: 1.5em;
font-family: 'Linux Libertine','Georgia','Times',serif;
font-weight: bold;
border-style: hidden hidden solid hidden;
border-width: 1px;
border-color: #a2a9b1;
}
/* CSS placed here will be applied to all skins */
/*Formatting for Change Table*/
.ChangesTable{
border: 1px solid black;
border-collapse: collapse;
}
.ChangesTable td, th, tr{
border: 1px solid black;
padding:10px;
}
/* CSS for Links -----------------------------------------*/
/* A link that has not been visited */
a:link {
color: blue;
}
/* A link that has been visited */
a:visited {
color: blue;
}
/* A link that is hovered on */
a:hover {
color: red;
}
/* A link that is selected */
a:active {
color: green;
}
/* -----------------------------------------------------*/
/* Header that is red*/
.warning_red {
color: red;
font-size: 20px;
}