MediaWiki:Common.css: Difference between revisions
No edit summary |
No edit summary |
||
Line 117: | Line 117: | ||
.toctitle h2 { | .toctitle h2 { | ||
visibility: hidden; | visibility: hidden; | ||
} | |||
.toctitle h2:before { | |||
visibility: visible; | |||
content: 'Table of Contents'; | |||
background-color: #FFF; | |||
} | } |
Revision as of 14:47, 5 January 2023
/*Paragraph style*/ * { font-family: Tahoma, System sans-serif; } /*Change Page Title to Home*/ .mw-page-title-main { visibility: hidden; } .mw-page-title-main:before { content: 'Home'; visibility: visible; margin-left:0; } /*Body styling*/ html { font-size: 120% } /* Heading styles */ h2 { color: rgb(0,0,0); font-weight: bold; text-align: left; margin-left: 8px; padding: 8.0px; border-radius: 5.0px; background-color: rgb(200,216,228); overflow: auto; } h3 { font-family: Verdana; color: rgb(255,255,255); font-size: 1.25em; font-weight: bold; text-align: left; margin-left: 12px; padding: 8.0px; border-radius: 10.0px; background-color: rgb(60,124,110); overflow: auto; } h4 { font-family: Verdana; color: rgb(60,124,110); font-size: 1.0em; font-weight: bold; text-align: left; margin-left: 16px; padding: 5.0px; border-radius: 7.0px; border-style: solid; border-width: 2.0px; border-color: rgb(242,242,242); overflow: auto; } h5, h6 { font-family: Verdana; color: #000; font-size: 1.0em; font-weight: bold; text-align: left; margin-left:16px; padding: 5.0px; overflow: auto; } /* Horizontal line style */ hr { border: 3.0px solid rgb(200,216,228); } /*TOC Styling*/ #toc { float: right; border-style: solid; border-width: 1px; padding: .5em; margin-left: 2em; font-size: .75em; } .tocnumber { display: none; } #toc ul { list-style-image: none; list-style-type: none; } #toc ul ul ul { list-style-image: none; list-style-type: none; } .toclevel-2 { margin-left:5px; } .toclevel-3 { margin-left:10px; } .toclevel-4 { display: none; } .toctitle { background-color: #E5F7EE; } .toctitle h2 { visibility: hidden; } .toctitle h2:before { visibility: visible; content: 'Table of Contents'; background-color: #FFF; }