Difference between revisions of "MediaWiki:Common.css"
Jump to navigation
Jump to search
Megankatsumi (talk | contribs) |
Megankatsumi (talk | contribs) |
||
| (80 intermediate revisions by the same user not shown) | |||
| Line 2: | Line 2: | ||
/* disable talk pages */ | /* disable talk pages */ | ||
#ca-talk { display:none!important; } | #ca-talk { display:none!important; } | ||
| + | /* hide page tab */ | ||
| + | #ca-nstab-main { display:none!important; } | ||
| + | /* hide section edit link */ | ||
| + | .mw-editsection { display:none!important; } | ||
| + | |||
| + | /*remove main page heading*/ | ||
| + | .page-Main_Page h1 { display: none; } | ||
| + | |||
| + | /* remove headings in category listing */ | ||
| + | .mw-category > div > h3 { display: none; } | ||
#mw-head { margin-top: 20px; | #mw-head { margin-top: 20px; | ||
| − | background-image: url(http://ec2- | + | background-image: url(http://ec2-35-182-39-126.ca-central-1.compute.amazonaws.com/resources/assets/wiki_title2.svg ); background-repeat: no-repeat; |
| + | background-position: 0px 0px; | ||
| + | height:130px; | ||
| + | } | ||
#left-navigation, #right-navigation { | #left-navigation, #right-navigation { | ||
/* margin-top: 2.5em; */ | /* margin-top: 2.5em; */ | ||
| − | margin-top: | + | margin-top:100px; |
| + | height: 30px; | ||
} | } | ||
| Line 20: | Line 34: | ||
height: 5em;*/ | height: 5em;*/ | ||
margin-top: -20px; | margin-top: -20px; | ||
| − | height: | + | margin-left:32px; |
| + | height:100px; | ||
| + | } | ||
| + | |||
| + | body {font-family: "Helvetica", sans-serif} | ||
| + | /* changes the default font used for MediaWiki to Helvetia (does not include headings or monospaced text) */ | ||
| + | |||
| + | div#content h1, div#content h2 {font-family: "Arial Bold", sans-serif; font-weight:bold; color:#25355A} | ||
| + | /* changes the default font used for MediaWiki headings to Arial Bold, colour to U of T blue */ | ||
| + | |||
| + | |||
| + | /* change navigation link text colour to U of T blue secondary colour for both link and visited link */ | ||
| + | /* change navigation link text colour to U of T blue secondary colour for both link and visited link */ | ||
| + | /*div#mw-panel div.portal div.body ul li a:link, a:visited { | ||
| + | color: #007FA3; | ||
| + | } | ||
| + | div#p-navigation div.portal div.body ul li a:link, a:visited { | ||
| + | color: #007FA3; | ||
| + | } | ||
| + | */ | ||
| + | .mw-body a { | ||
| + | color: #007FA3; | ||
| + | } | ||
| + | .mw-body a.external { color: #007FA3 !IMPORTANT; } /* external links */ | ||
| + | div.vectorTabs a{ | ||
| + | color: #007FA3; | ||
| + | } | ||
| + | div.portal a{ | ||
| + | color: #25355A !IMPORTANT; | ||
} | } | ||
Latest revision as of 13:47, 13 December 2022
/* CSS placed here will be applied to all skins */
/* disable talk pages */
#ca-talk { display:none!important; }
/* hide page tab */
#ca-nstab-main { display:none!important; }
/* hide section edit link */
.mw-editsection { display:none!important; }
/*remove main page heading*/
.page-Main_Page h1 { display: none; }
/* remove headings in category listing */
.mw-category > div > h3 { display: none; }
#mw-head { margin-top: 20px;
background-image: url(http://ec2-35-182-39-126.ca-central-1.compute.amazonaws.com/resources/assets/wiki_title2.svg ); background-repeat: no-repeat;
background-position: 0px 0px;
height:130px;
}
#left-navigation, #right-navigation {
/* margin-top: 2.5em; */
margin-top:100px;
height: 30px;
}
div.vectorTabs {
/* height: 2.5em; */
height: 40px;
}
#mw-head-base {
/*margin-top: -5em;
height: 5em;*/
margin-top: -20px;
margin-left:32px;
height:100px;
}
body {font-family: "Helvetica", sans-serif}
/* changes the default font used for MediaWiki to Helvetia (does not include headings or monospaced text) */
div#content h1, div#content h2 {font-family: "Arial Bold", sans-serif; font-weight:bold; color:#25355A}
/* changes the default font used for MediaWiki headings to Arial Bold, colour to U of T blue */
/* change navigation link text colour to U of T blue secondary colour for both link and visited link */
/* change navigation link text colour to U of T blue secondary colour for both link and visited link */
/*div#mw-panel div.portal div.body ul li a:link, a:visited {
color: #007FA3;
}
div#p-navigation div.portal div.body ul li a:link, a:visited {
color: #007FA3;
}
*/
.mw-body a {
color: #007FA3;
}
.mw-body a.external { color: #007FA3 !IMPORTANT; } /* external links */
div.vectorTabs a{
color: #007FA3;
}
div.portal a{
color: #25355A !IMPORTANT;
}