MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(24 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
/* Hide "Main Page" at top of main page */ | /* Hide "Main Page" at top of main page */ | ||
.page-Main_Page h1.firstHeading { display: none; } | .page-Main_Page h1.firstHeading { display: none; } | ||
/* Hide subsection edit tags on Main Page */ | |||
.page-Main_Page span.editsection {display: none;} | |||
/* Modify all links to be green/brown, then make external links blue/purple */ | /* Modify all links to be green/brown, then make external links blue/purple */ | ||
/* Also need to modify MediaWiki:Vector.css to affect sidebar links */ | /* Also need to modify MediaWiki:Vector.css to affect sidebar links */ | ||
a:link | a:link {color: #006600;} /* dark green */ | ||
a:visited | a:visited {color: #996633;} /* brown */ | ||
a: | a.new {color: #cc2200;} /* red */ | ||
a | a.new:visited {color: #cc6666;} /* light red */ | ||
a.external {color: #0000ff;} /* blue */ | |||
a.external:visited {color: #800080;} /* purple */ | |||
/* Page background to light yellow */ | /* Page background to light yellow */ | ||
Line 14: | Line 18: | ||
/* Force wrapping of Google Translate branding so it doesn't spill out too far into the page */ | /* Force wrapping of Google Translate branding so it doesn't spill out too far into the page */ | ||
a.goog-logo-link img {display: block;} | /* a.goog-logo-link img {display: block;} */ |
Latest revision as of 16:50, 2 May 2021
/* CSS placed here will be applied to all skins */ /* Hide "Main Page" at top of main page */ .page-Main_Page h1.firstHeading { display: none; } /* Hide subsection edit tags on Main Page */ .page-Main_Page span.editsection {display: none;} /* Modify all links to be green/brown, then make external links blue/purple */ /* Also need to modify MediaWiki:Vector.css to affect sidebar links */ a:link {color: #006600;} /* dark green */ a:visited {color: #996633;} /* brown */ a.new {color: #cc2200;} /* red */ a.new:visited {color: #cc6666;} /* light red */ a.external {color: #0000ff;} /* blue */ a.external:visited {color: #800080;} /* purple */ /* Page background to light yellow */ div#content {background-color: #ffffdd;} /* light yellow */ /* Force wrapping of Google Translate branding so it doesn't spill out too far into the page */ /* a.goog-logo-link img {display: block;} */