MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(64 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 */ | ||
.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 { | /* Also need to modify MediaWiki:Vector.css to affect sidebar links */ | ||
a:link {color: #006600;} /* dark green */ | |||
color: # | a:visited {color: #996633;} /* brown */ | ||
a.new {color: #cc2200;} /* red */ | |||
} | a.new:visited {color: #cc6666;} /* light red */ | ||
a:visited { | a.external {color: #0000ff;} /* blue */ | ||
color: # | a.external:visited {color: #800080;} /* purple */ | ||
/* Page background to light yellow */ | |||
color: #0000ff; /* blue */ | div#content {background-color: #ffffdd;} /* light yellow */ | ||
/* Force wrapping of Google Translate branding so it doesn't spill out too far into the page */ | |||
color: #800080; /* purple */ | /* a.goog-logo-link img {display: block;} */ | ||
div#content { | |||
background-color: #ffffdd; | |||
} | |||
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;} */