Difference between revisions of "MediaWiki:Vector.css"

From Dissent
Jump to navigation Jump to search
(making black links recognizable as links)
(menu hover/active undisabling)
Line 82: Line 82:
 
A:hover { color:#002D72 }
 
A:hover { color:#002D72 }
 
A:active { color:#97272C }
 
A:active { color:#97272C }
 +
 +
DIV#mw-panel DIV.portal DIV.body UL LI A:hover { color:#002D72 }
 +
DIV#mw-panel DIV.portal DIV.body UL LI A:active { color:#97272C }

Revision as of 03:37, 3 August 2017

/* CSS placed here will affect users of the Vector skin */

/* This needs work
BODY
   {
    background-image: linear-gradient(#000 80%, #FFD100 100%);
    }

#mw-page-base 
   {
    background-repeat: none;
    background-image: none;
    background-color: none;
    }
*/

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

/* CSS placed here from LPedia will affect users of the Vector skin */

/* 

Changing link colors to match site branding standards circa April 2017

Unvisited extant: #002D72 (288C, LPTexas specification for dark blue, as the LNC doesn't presently have a specified dark blue; also used on main page).  Changing to black for Radical Caucus; blue can be visited.

Unvisited non-extant: ##97272C (7622C, from SIGLIB/LSP specification, as the LNC doesn't presently have a specified red; also used on the vectorized version of the Red Book LPedia logo.)

*/

/* Normal, extant, unvisited links */
A { color: #000000 }

/* Unvisited non-extant links */
A.new { color: #97272C }

/* Unvisited Menu items */
DIV#mw-panel DIV.portal DIV.body UL LI A { color: #000000 }

/* Unvisited menu tabs */
DIV.vectorTabs LI A { color: #000000 }

/* Visited items */
DIV#mw-panel DIV.portal DIV.body UL LI A:visited { color: #002D72 }
DIV.vectorTabs LI A:visited { color: #002D72 }
A:visited { color: #002D72 }

/*

Attempting a font stack.

Normal sans serif: Roboto 2014 preferred (but has a name collission with Roboto 2011).  Most edge cuts should be horizontal, thus Helvetica-style typefaces are preferred to vertical cut like Segoe, Frutiger, DejaVu Sans, or Open Sans.

We probably want to install an @font-face for Roboto 2014.

*/

/* This seems to be where the default sans serif is specified, and vector, left to its own devices, will go with just whatever the user's default is */
BODY { font-family: Roboto, Univers, "Helvetica Std", HelveticaStd, Helvetica, "Nimbus Sans L", NimbusSansL, "Nimbus Sans", NimbusSans, "Helvetica Neue", HelveticaNeue, "Helvetica Neue Std", HelveticaNeueStd, Arial, "Liberation Sans", LiberationSans, Arimo, Lato, sans-serif }



# Maybe this color needs to be specified here to work.  This is for the '''Remember that you are only previewing this CSS. It has not yet been saved!''' note and anything else covered by this.  Trying to get the correct red.
.previewnote, DIV.previewnote { color: #97272C }


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

Good news: works; other news: it's ugly

BODY { background: #FFD100; }
#mw-head-base, #mw-page-base {background: #FFD100;}

*/


.mw-body H1, .mw-body H2, H1, H2, H3, H4, H5, H6, H7, H8 { font-family: Alegreya, "Bookman", "Century Schoolbook", "Linux Libertine",Georgia,Times,serif; }



A { text-decoration: underline; }
A:hover { color:#002D72 }
A:active { color:#97272C }

DIV#mw-panel DIV.portal DIV.body UL LI A:hover { color:#002D72 }
DIV#mw-panel DIV.portal DIV.body UL LI A:active { color:#97272C }