MediaWiki:Common.css: Difference between revisions

From Instructional Technologies
No edit summary
No edit summary
Line 140: Line 140:
/*TOC container styling*/
/*TOC container styling*/
html .mw-table-of-contents-container  {
html .mw-table-of-contents-container  {
font-size: 90%;
font-size: 100%;
}
}



Revision as of 10:17, 4 April 2023

/*Navigation styling*/
#left-navigation {
	visibility: hidden;
}

#ca-view, #ca-history, #ca-viewsource {
	visibility: hidden;
}

.mw-article-toolbar-container {
    display: flow-root;
    border-bottom: none;
}

/*Move search box to the right*/
.mw-header .vector-search-box {
    margin-left:50%;
}


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

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

.mw-body {
	border-top: none;
	border-left: 1px  solid rgb(200,216,228);
	padding-left: 10px;
}

/*Hide Main Page first heading*/
.page-Main_Page.action-view h1.firstHeading, body.page-Main_Page.action-submit h1
.firstHeading { 
	display:none; 
}

/*Hide Canvas Page first heading*/
.page-Canvas.action-view h1.firstHeading, body.page-Canvas.action-submit h1
.firstHeading { 
	display:none; 
}

/* Heading and section styles*/
h1 {
	overflow: auto;
	font-weight: bold;
}

h2 {
	overflow: auto;
	font-weight: bold;
}

h3 {
	overflow: auto;
}

h4, h5, h6 {
	overflow: auto;
}

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

.mw-body h1, .mw-body-content h1 {
  font-size: 1.75em;
  text-align:left;
}

.vector-body h2 {
	margin-top: none;
	padding-bottom: 0.20em;
}

.vector-body h3 {
    margin-bottom: 0;
	font-size: 1.25em;
	padding-bottom: 0.20em;	
}

.vector-body h4 {
    margin-bottom: 0;
	font-size: 1.25em;
	padding-bottom: 0.20em;
}

.vector-body h5, .vector-body h6 {
    margin-bottom: 0;
	font-size: 1.15em;
	padding-bottom: 0.20em;
}

/*Hyperlink styling*/
.mw-parser-output a.extiw, .mw-parser-output a.external {
    color: #3366bb;
}

a:visited {
    color: #5a3696;
}

a {
    color: #3366bb;
}

/* Horizontal line styles*/
h1 {
    border:none;
}
h2 {
    border-bottom: 6px solid #00843d;
}
h3 {
    border-bottom: 4px solid #84bd00;
}
h4 {
    border-bottom: 3px solid #e87722;
}

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

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

hr {
	border-top: 1px  solid rgb(200,216,228);
}


/*TOC container styling*/
html .mw-table-of-contents-container  {
	font-size: 100%;
}

.sidebar-toc-title:before {
	visibility: visible;
	color: #54595d;
	content: 'Page ';
	font-weight: bold;
}

.sidebar-toc .sidebar-toc-title {
	font-size: 1em;
	font-weight: bold;
}

.sidebar-toc-text {
	color: #000;
	line-height: 1em;
}