User:Kynikos/common.css

From ArchWiki

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
span.mw-headline-number {
    color: white;
    background-color: #08c;
    padding: 0 0.2em;
}

/*
 * Override link colors in a consistent way
 */

#content a:not(.new):visited,
#mw-panel li:not(.new) a:not(.new):visited,       // Vector
#p-navigation li:not(.new) a:not(.new):visited,   // MonoBook
#p-tb li:not(.new) a:not(.new):visited            // MonoBook
{
    color: #357 !important;
}

/*******************************************

a:link,
#toc a,
/* In https://projects.archlinux.org/vhosts/wiki.archlinux.org.git/tree/skins/archlinux/arch.css
 * there's a double id, so this is the only way to override it...
 *
#bodyContent #toc a,
#p-cactions li a,
#p-personal li a,
#p-cactions li a:visited,
#p-personal li a:visited,
#bodyContent a.external,
#bodyContent a.extiw {
    color: #07b;
}

a:hover,
#toc a:hover,
/* In https://projects.archlinux.org/vhosts/wiki.archlinux.org.git/tree/skins/archlinux/arch.css
 * there's a double id, so this is the only way to override it...
 *
#bodyContent #toc a:hover,
#p-cactions li a:hover,
#p-personal li a:hover,
#p-cactions li a:visited:hover,
#p-personal li a:visited:hover,
#bodyContent a:hover.external,
#bodyContent a:hover.extiw {
    color: #07b;
    text-decoration: underline;
}

a:visited,
#toc a:visited,
/* In https://projects.archlinux.org/vhosts/wiki.archlinux.org.git/tree/skins/archlinux/arch.css
 * there's a double id, so this is the only way to override it...
 *
#bodyContent #toc a:visited,
#bodyContent a:visited.external,
#bodyContent a:visited.extiw {
    color: #357;
}

a:visited:hover,
#toc a:visited:hover,
/* In https://projects.archlinux.org/vhosts/wiki.archlinux.org.git/tree/skins/archlinux/arch.css
 * there's a double id, so this is the only way to override it...
 *
#bodyContent #toc a:visited:hover,
#bodyContent a:visited:hover.external,
#bodyContent a:visited:hover.extiw {
    color: #357;
    text-decoration: underline;
}

a:focus,
a:active,
#toc a:focus,
#toc a:active,
/* In https://projects.archlinux.org/vhosts/wiki.archlinux.org.git/tree/skins/archlinux/arch.css
 * there's a double id, so this is the only way to override it...
 *
#bodyContent #toc a:focus,
#bodyContent #toc a:active,
#p-cactions li a:focus,
#p-cactions li a:active,
#p-personal li a:focus,
#p-personal li a:active,
#bodyContent a:focus.external,
#bodyContent a:active.external,
#bodyContent a:focus.extiw,
#bodyContent a:active.extiw {
    color: #e90 !important;
}

a.new,
#p-cactions .new a,
#p-personal a.new {
    color: #b00 !important;
}

*****************************************/

/* Override monospace text style */

code, tt {
    /* Address https://wiki.archlinux.org/index.php?title=Help_talk:Template&oldid=431890#Problems_with_Template:ic
     * Let inline code (including [[Template:ic]], which uses <code>) wrap correctly
     * The Firefox-only triple-click feature given by display:inline-block must be sacrificed
     * Override https://github.com/archlinux/archwiki/blob/master/extensions/ArchLinux/modules/arch_common.less#L32
     */
    display: inline;
    white-space: pre;
    padding: 0.3em;
}