-
Notifications
You must be signed in to change notification settings - Fork 32
Home
Differences between production and the current develop state: https://github.com/unl/wdntemplates/compare/master...develop
- ID & Class names should be prefixed with
wdn-
. For example:wdn-band
. - ID & Class names use hyphens (
-
) between words. All lowercase.
- The W3C CSS Validation Service does not properly handle unquoted data URIs (via)
- The W3C CSS Validation Service does not properly parse
calc
expressions (via) - We use the non-standardized pseudo-element
::selection
All custom developed styles should be done in LESS. CSS is generated through an automated build process.
For style organization, we're attempting to adhere to the [SMACSS methodology] (https://smacss.com/book/).
The following directories are in the /wdn/templates_4.0/LESS directory.
Variables and functions which are used in other sections of other files. These do not output CSS rules.
HTML reset (normalize.less) and non-specific typography.
Herein lies the majority of styles. All template wrapper files are here. In addition, all content region styles used for layout will go here.
Presentation (color, fonts, images, etc...) of items.
Changes to presentation based on events (ex: hover, navigation states, logged in, etc...)