MediaWiki:Common.css

From Instructional Technologies
Revision as of 14:42, 11 January 2023 by Netzela (talk | contribs)

Note: After publishing, 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: Press Ctrl-F5.
/*Paragraph style*/
* {
	font-family: Tahoma, System sans-serif; 
}

/*Body styling*/
html {
	font-size: 125%;
}

/* Heading styles*/
h2 {
	background-color: #66d09a;
	font-style: bold;
	overflow: auto;
	border-bottom: none;
}

.mw-body-content h2 {
	line-height:1.25;
}

h3 {
	background-color: #D5E6B1;
	padding-left: 0.5em;
	overflow: auto;
}

.vector-body h2 {
	padding-left: 0.5em;
	margin-top: 0em;
	font-size: 1.15em;
	font-weight: bold;
}

.vector-body h3 {
	margin-top: 5px;
	font-weight:normal;
	font-size: 1.15em;
	padding-bottom: .5em;
}

.vector-body h4 {
	margin-top: 1em;
	font-weight:normal;
	}

h4, h5, h6 {
	font-family: System sans-serif;
	font-weight: normal;
	padding-left: 0.5em;
	overflow: auto;
}

h4 {
    border-bottom: 3px solid #F8A97A;
}

h5 {
    border-bottom: 2px solid #F8A97A;
}

h6 {
    border-bottom: 1px solid #F8A97A;
}

.vector-body h3, .vector-body h4, .vector-body h5, .vector-body h6 {
    margin-top: 0.3em;
    margin-bottom: 0;
    line-height: 1.25;
    font-size: 1.00em;
    font-weight: bold;
}

/* Horizontal line style */
hr {
	border-top: 1px  solid rgb(200,216,228);
}

/*TOC Styling*/
#toc { 
	float: right;
	border-style: solid;
	border-color:  #75A9D5;
	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:-10px;
}

.toclevel-3 {
	margin-left:-10px;
}

.toclevel-3 {
	display: none;
}

.toctitle h2 {
	visibility: hidden;
}

.toctitle h2:before {
	visibility: visible;
	color: #000;
	content: 'Table of Contents';
	background-color: #FFF;
	font-weight: bold;
	border-bottom: 1px solid #D1E2F1;
}

.vector-body #toc ul {
	line-height: 1.10em;
}