MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
(Created page with "→CSS placed here will be applied to all skins: textarea#wpTextbox1.mw-editfont-default { font-family: Monaco, monospace; font-size: 85%; } →Override CSS for a few specific items to improve (subjective :-)) the appearance. Need to modify the MonoBook.php script to add in this CSS file after the others.: →h1, h2, h3, h4, h5 { margin-bottom: 0; }: .mw-body { font-family: arial, helvetica, san-serif; } h1 { font-family: arial, helvetica,...") |
(No difference)
|
Latest revision as of 00:31, 21 June 2023
/* CSS placed here will be applied to all skins */ textarea#wpTextbox1.mw-editfont-default { font-family: Monaco, monospace; font-size: 85%; } /* Override CSS for a few specific items to improve (subjective :-)) the appearance. Need to modify the MonoBook.php script to add in this CSS file after the others. */ /* h1, h2, h3, h4, h5 { margin-bottom: 0; } */ .mw-body { font-family: arial, helvetica, san-serif; } h1 { font-family: arial, helvetica, san-serif; font-size: 150%; font-weight: bold; } h2 { font-family: arial, helvetica, san-serif; color: #060; font-size: 120%; font-weight: bold; } h3 { font-family: arial, helvetica, san-serif; font-size: 100%; font-weight: bold; } h4 { font-family: arial, helvetica, san-serif; font-size: 90%; font-weight: bold; } h5 { font-family: arial, helvetica, san-serif; font-size: 85%; font-weight: bold; } ul { margin-top: 0px; margin-bottom: 0.5em; line-height: 1.2em; } ol { line-height: 1.2em; } li { margin-bottom: 0.08em; margin-bottom: 0.05em; } /* .portlet h3 { color: #440; text-transform: none; } */ .portal h3 { color: #660; } #mw-panel.collapsible-nav .portal.collapsed h3 { color: #660; } .done { text-decoration: line-through; text-decoration-color: #060; } .st { text-decoration: line-through; } /* #mw-panel.collapsible-nav .portal.collapsed h3:hover { color: #660; } */ /* this targets our h4 daily entries, trying to compact them a bit more */ .mw-content-ltr ul, .mw-content-rtl .mw-content-ltr ul { padding: 0; margin: 0 0 0 1.6em; } div#content h3, div#content h4, div#content h5, div#content h6 { margin-top: 0px; } pre { background-color: #eeffee; } /* textarea#wpTextbox1.mw-editfont-default { .mw-editfont-default { font-family: monospaced; font-size: 120%; } */ div.keywords { display: none; } span.pre { border: 1px solid #ccc; background-color: #eeffee; font-family: monospaced; font-size: 90%; margin: 5px; } .wikitable { line-height: 1.2; } table.inventory { margin-left: 30px; padding-left: 30px; } td.inventory { vertical-align: top; }