MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(39 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
/* 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 */ | ||
a { | .page-Main_Page span.editsection {display: none;} | ||
color: #006600; /* dark green */ | |||
/* Modify all links to be green/brown, then make external links blue/purple */ | |||
a:visited { | /* Also need to modify MediaWiki:Vector.css to affect sidebar links */ | ||
color: #996633; /* brown */ | a:link {color: #006600;} /* dark green */ | ||
} | a:visited {color: #996633;} /* brown */ | ||
: | a.new {color: #cc2200;} /* red */ | ||
color: #0000ff; /* blue */ | a.new:visited {color: #cc6666;} /* light red */ | ||
a.external {color: #0000ff;} /* blue */ | |||
a.external:visited {color: #800080;} /* purple */ | |||
color: #800080; /* purple */ | |||
/* Page background to light yellow */ | /* Page background to light yellow */ | ||
div#content { | div#content {background-color: #ffffdd;} /* light yellow */ | ||
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;} */ | |||
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;} */