User:Iritscen/vector.css: Difference between revisions
Jump to navigation
Jump to search
(do I need to specifically add this to override Common.css?) |
(trying to successfully override mw-panel) |
||
Line 15: | Line 15: | ||
.mw-body a.external:visited {color:#36B} /* external */ | .mw-body a.external:visited {color:#36B} /* external */ | ||
.mw-body a.extiw:visited {color:#36B} /* inter-wiki */ | .mw-body a.extiw:visited {color:#36B} /* inter-wiki */ | ||
div#mw-panel a:visited {color:#36B} /* make visited same as base color */ | div#mw-panel div.portal div.body ul li a:visited {color:#36B} /* make visited same as base color */ | ||
div#mw-head a:visited {color:#36B} /* make visited same as base color */ | div#mw-head a:visited {color:#36B} /* make visited same as base color */ | ||
div#footer a:visited {color:#36B} /* make visited same as base color */ | div#footer a:visited {color:#36B} /* make visited same as base color */ |
Revision as of 14:00, 28 May 2017
/* Prevent sidewards scrolling in pre elements */ pre { overflow: auto; max-height: 25em; } /* Make visited links same color as unvisited (standard Wikipedia color is #0645AD) */ .mw-body a {color:#36B} /* base link color */ .mw-body a:visited {color:#36B} /* make visited same as base color */ .mw-body a.new {color:#FF0000} /* preserve color of red links */ .mw-body a.new:visited {color:#FF0000} /* preserve color of red links */ .mw-body a.external {color:#36B} /* external */ .mw-body a.extiw {color:#36B} /* inter-wiki */ .mw-body a.external:visited {color:#36B} /* external */ .mw-body a.extiw:visited {color:#36B} /* inter-wiki */ div#mw-panel div.portal div.body ul li a:visited {color:#36B} /* make visited same as base color */ div#mw-head a:visited {color:#36B} /* make visited same as base color */ div#footer a:visited {color:#36B} /* make visited same as base color */ /* Alter outbound arrow for external links */ div#content a.external { background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAYAAABWdVznAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAZdEVYdFNvZnR3YXJlAHBhaW50Lm5ldCA0LjAuMTZEaa/1AAAAYUlEQVQoU62PAQrAMAgD/dP+1D/tT/uT8woZTiyMssBRJQlS25K7f6LXCKehLRzn5SOoWhamwqSY9SowZDDrkWUhh3l1qS3UMDvwp7ZACFNhBbii3BSDyGHIenaZHT/I7Aa4AQyc/74avwAAAABJRU5ErkJggg==); } /* Provide unique outbound arrow for intrawiki links */ div#content a.extiw { padding-right:12px; background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAYAAABWdVznAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAZdEVYdFNvZnR3YXJlAHBhaW50Lm5ldCA0LjAuMTZEaa/1AAAAVUlEQVQoU52QiwkAIAhEm9ad2qmdzAsKO1Qo4YVenn2aqj4RihWhCKQPWywj/So8aJZuCZlOYgPX5gY1gk3HgCtk4U3/JzBoKt/APP9SRihWhGKOtgni8K5gX3OZtgAAAABJRU5ErkJggg==) center right no-repeat; } /* Provide circular arrow for external internal links */ div#content a.external[href*="wiki.oni2.net"] { background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAYAAABWdVznAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAZdEVYdFNvZnR3YXJlAHBhaW50Lm5ldCA0LjAuMTZEaa/1AAAAs0lEQVQoU5WPvQrCQBCE8yiWPoaFD5TWJq2FYh7CysoihYiloIVFCCktBPENLCzH+zz2cvkR9GBgZ3Z3di6R9Bd6wvOl07aUFnupqCR43G8N1w9pnEmTpZRupOnK8/Luut0FnGiuz/QaE/ho1lwKDWLgbDwGOvGogzjf+RjGY6DnB1e5OohcILNxQBSL1LtARhswDQ6O14E/gMvND9hfbAHAQWsB4BTcOu+jxcO/YFD8DiVvaluqWO0cROYAAAAASUVORK5CYII=); } /* Override the custom HTTPS arrow in Common.css with my same outbound arrow */ div#content a.external[href^="https://"] { background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAYAAABWdVznAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAZdEVYdFNvZnR3YXJlAHBhaW50Lm5ldCA0LjAuMTZEaa/1AAAAYUlEQVQoU62PAQrAMAgD/dP+1D/tT/uT8woZTiyMssBRJQlS25K7f6LXCKehLRzn5SOoWhamwqSY9SowZDDrkWUhh3l1qS3UMDvwp7ZACFNhBbii3BSDyGHIenaZHT/I7Aa4AQyc/74avwAAAABJRU5ErkJggg==); }