MediaWiki:Common.css: Difference between revisions

From Instructional Technologies
No edit summary
No edit summary
Line 25: Line 25:
padding-left: 0.5em;
padding-left: 0.5em;
overflow: auto;
overflow: auto;
}
h2, h3, h4, h5, h6 {
padding-top: 1.5em;
}
}


Line 32: Line 36:


.vector-body h3 {
.vector-body h3 {
    margin-top: 1em;
     margin-bottom: 0;
     margin-bottom: 0;
line-height: 1.25;
line-height: 1.25;
Line 41: Line 44:


.vector-body h4 {
.vector-body h4 {
margin-top: 1em;
margin-bottom: 0;
margin-bottom: 0;
line-height: 1.25;
line-height: 1.25;
Line 49: Line 51:


.vector-body h5, .vector-body h6 {
.vector-body h5, .vector-body h6 {
    margin-top: 0.3em;
     margin-bottom: 0;
     margin-bottom: 0;
     line-height: 1.25;
     line-height: 1.25;

Revision as of 15:28, 11 January 2023

/*Paragraph style*/
* {
	font-family: Tahoma, System sans-serif; 
}


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


/* Heading and section styles*/
h2 {
	overflow: auto;
}

h3 {
	padding-left: 0.5em;
	overflow: auto;
}

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

h2, h3, h4, h5, h6 {
	padding-top: 1.5em;
}

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

.vector-body h3 {
    margin-bottom: 0;
	line-height: 1.25;
    font-weight: normal;
	font-size: 1.15em;
	padding-bottom: .5em;
}

.vector-body h4 {
	margin-bottom: 0;
	line-height: 1.25;
    font-weight:normal;
	margin-left: 1.10em;
}

.vector-body h5, .vector-body h6 {
    margin-bottom: 0;
    line-height: 1.25;
    margin-left: 1.10em;
}


/* Horizontal line styles*/
h2 {
    border-bottom: 5px solid #66D09A;
}
h3 {
    border-bottom: 4px solid #D5E6B1;
    margin-left: .75em;
}
h4 {
    border-bottom: 3px solid #F8A97A;
    margin-left: 1em;
}

h5 {
    border-bottom: 2px solid #F8A97A;
    margin-left: 1.10em;
}

h6 {
    border-bottom: 1px solid #F8A97A;
    margin-left: 1.10em;
}

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;
}