MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
Amwelladmin (talk | contribs) No edit summary |
Amwelladmin (talk | contribs) No edit summary |
||
Line 45: | Line 45: | ||
max-width:100%; | max-width:100%; | ||
height:auto; | height:auto; | ||
} | |||
/* Autonumbering paragraphs */ | |||
ol { | |||
counter-reset: number; | |||
list-style-position: outside; | |||
text-align: left; | |||
counter-reset: list; | |||
font-family: georgia; | |||
} | |||
ol > li { | |||
list-style: none; | |||
counter-increment: list; | |||
margin-bottom: 6px; | |||
} | |||
ol.decimal > li::before { | |||
content: counter(list); | |||
vertical-align: left; | |||
position: absolute; | |||
margin-left: -1.1cm; | |||
} | |||
ol.doubledecimal > li::before { | |||
content: counters(list, "."); | |||
counter-increment: 1; | |||
vertical-align: left; | |||
position: absolute; | |||
margin-left: -1.1cm; | |||
} | |||
ol.lower-alpha > li::before { | |||
content: "(" counter(list, lower-alpha) ") "; | |||
vertical-align: left; | |||
position: absolute; | |||
margin-left: -1.1cm; | |||
} | |||
ol.lower-roman > li::before { | |||
content: "(" counter(list, lower-roman) ") "; | |||
vertical-align: left; | |||
position: absolute; | |||
margin-left: -1.1cm; | |||
} | } |
Revision as of 18:32, 6 January 2024
/* CSS placed here will be applied to all skins */ body.page-Main_Page h1.firstHeading { display: none; } body.Page-main_Page .catlinks { display: none; } body.mediawiki { font-family: georgia } #firstHeading{ font-family: arial, sans-serif; font-size: 180%; } #content h2, #content h3, #content h4, #content h5 { font-family: arial, sans-serif; font-weight: normal; } #content h2 { font-size: 160%; } #content h3 { font-size: 140%; } #content h4 { font-size: 125%; } #content h5 { font-size: 110%; } #content h6 { font-family: arial, 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; } .col3 { column-count: 3; column-gap: 30px; text-align: justify; text-justify: inter-word; hyphens: auto; } .col4 { column-count: 4; column-gap: 25px; } .col5 { column-count: 5; column-gap: 20px; } .fontsize { font-size: 50%; } .right { text-align: right; } .italic { font-style: italic; } .wrap { white-space: pre; } .indent { text-indent: 30px; } .quote { margin-left: 30px; } .quotalic { font-style: italic; margin-left: 30px; } .smallarial { font-family: arial, sans-serif; font-size: 90%; } /* make self-links not go bold */ a.mw-selflink { font-weight: inherit; } /* Change the external link icon to an Adobe icon for all PDF files */ .mw-parser-output a[href$=".pdf"], .mw-parser-output a[href*=".pdf?"], .mw-parser-output a[href*=".pdf#"], .mw-parser-output a[href$=".PDF"], .mw-parser-output a[href*=".PDF?"], .mw-parser-output a[href*=".PDF#"] { background: url("//upload.wikimedia.org/wikipedia/commons/2/23/Icons-mini-file_acrobat.gif") no-repeat right; /* @noflip */ padding-right: 18px; } /* To make images responsive */ img { max-width:100%; height:auto; } /* Autonumbering paragraphs */ ol { counter-reset: number; list-style-position: outside; text-align: left; counter-reset: list; font-family: georgia; } ol > li { list-style: none; counter-increment: list; margin-bottom: 6px; } ol.decimal > li::before { content: counter(list); vertical-align: left; position: absolute; margin-left: -1.1cm; } ol.doubledecimal > li::before { content: counters(list, "."); counter-increment: 1; vertical-align: left; position: absolute; margin-left: -1.1cm; } ol.lower-alpha > li::before { content: "(" counter(list, lower-alpha) ") "; vertical-align: left; position: absolute; margin-left: -1.1cm; } ol.lower-roman > li::before { content: "(" counter(list, lower-roman) ") "; vertical-align: left; position: absolute; margin-left: -1.1cm; }