User:Nihiltres/vector.css

From Wikipedia, the free encyclopedia
Note: After saving, you have to bypass your browser's cache to see the changes. Google Chrome, Firefox, Microsoft Edge and Safari: Hold down the ⇧ Shift key and click the Reload toolbar button. For details and instructions about other browsers, see Wikipedia:Bypass your cache.
/* removes some annoying warnings against copyvio, etc. */
#editpage-copywarn,
.editpage-head-copywarn,
#editpage-copywarn2,
#editpage-copywarn3 {
    display: none;
}

/* make visited blue link colour less purple */
a:visited {
    color: #3D3696;
}
.mwe-popups a:visited {
    color: black;
}

/* make links always underlined, but only in body content, not in interface elements. Might need fine-tuning now and then. */
div#bodyContent a,
div#contentSub a {
    text-decoration: underline;
}
div#editpage-specialchars a {
    text-decoration: none;
}
div#editpage-specialchars a:hover {
    text-decoration: underline;
}
#bodyContent .editsection a,
#bodyContent a.CategoryTreeToggle,
#bodyContent a.CategoryTreeLoaded,
a.sortheader,
#bodyContent a.mw-headline-anchor,
.wikiEditor-ui-toolbar a,
.TablePager_nav a {
    text-decoration: none;
}

/* nicer diff colours */
td.diff-deletedline {
    background-color: #ffa;
}

td.diff-addedline {
    background-color: #cfc;
    border-color: #a8eaa8;
}

td.diff-deletedline .diffchange,
td.diff-addedline .diffchange {
    background: #fa8;
}

/* make the edit summary label line not wrap around annoyingly every now and then…*/
span#wpSummaryLabel {
    white-space: nowrap;
}

/* removes the "create a book" sidebar entry, since I don't plan to use it much. I'd prefer to have it hidden by default and enabled dynamically, but for now it goes… */
#p-coll-create_a_book {
    display: none;
}

/* Hides the Terms of Service notice that <s>someone stuck in MediaWiki:Edittools</s> is inserted by [[MediaWiki:Wikimedia-editpage-tos-summary]], since I prefer my edit screens free of boilerplate */
#mw-wikimedia-editpage-tos-summary {
    display: none;
}

/* lowercases the personal links like Monobook does, while ignoring the userpage link */
#p-personal li > a {
    text-transform: lowercase;
}
#p-personal li#pt-userpage > a {
    text-transform: none;
}

/* adds a pretty background on hover, for the action menu items, and gets rid of their underlining */
#p-cactions li:hover {
    background-color: #E8F2F6;
}
#p-cactions li:hover a {
    text-decoration: none;
}

/* limits the highlights on the N, m, b information to bolding and a tooltip, which is quite sufficient for me as an advanced user */
abbr.newpage,
abbr.minor,
abbr.bot {
    border-bottom: none; cursor: auto;
}

/* makes external links to Wikipedia, within Wikipedia, the internal link colour, though still displaying the external link symbol if not plainlinked  */
#content a[href^="http://en.wikipedia.org"],
#content a.external[href^="http://en.wikipedia.org"],
a[href^="http://en.wikipedia.org"] {
    color: rgb(6, 69, 173) !important;
}

/* Font preferences. Not sure how I feel about the serif fonts… */
body {
    font-family: 'Helvetica Neue', Helvetica, "Arimo", "Liberation Sans", "Lucida Grande", sans-serif;
}
div#content h1,
div#content #firstHeading {
    font-family: Times, Georgia, "Linux Libertine", "Cambria" "serif";
}

/* Reduces space between search and tabs ever-so-slightly from the default 0.5em. */
#p-search {
    margin-left: 0.4em;
    margin-right: 0.4em;
}

/* get rid of the "take me back" and "new features" links */
#pt-prefswitch-link-on,
#pt-prefswitch-link-anon {
    display: none;
}

/* Retro orange "You have new messages". */
.usermessage {
    background-color: #FFCE7B;
    border: 1px solid orange;
}
/* display more CS1 messages */
.mw-parser-output span.cs1-maint,
.mw-parser-output span.cs1-hidden-error {display: inline;}