MediaWiki:Vector.css: Difference between revisions

From LPedia
Jump to navigation Jump to search
(updating and improving documentation)
(Setting sans serif)
Line 12: Line 12:


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


/* Unvisited non-extant links */
/* Unvisited non-extant links */
Line 21: Line 21:


/* Unvisited menu tabs */
/* Unvisited menu tabs */
DIV.vectorTabs LI A                     { color: #002D72 }
DIV.vectorTabs LI A { 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 }

Revision as of 11:05, 3 April 2017

/* CSS placed here 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)

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: #002D72 }

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

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

/* Unvisited menu tabs */
DIV.vectorTabs LI A { 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 }