Update _base.sass
This commit is contained in:
parent
e24f56c1d2
commit
8f438792e6
@ -1,28 +1,3 @@
|
|||||||
// -----------------------------------------------------------------------------
|
// -----------------------------------------------------------------------------
|
||||||
// This file contains very basic styles.
|
// This file contains very basic styles.
|
||||||
// -----------------------------------------------------------------------------
|
// -----------------------------------------------------------------------------
|
||||||
|
|
||||||
/**
|
|
||||||
* Set up a decent box model on the root element
|
|
||||||
html
|
|
||||||
box-sizing: border-box
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Make all elements from the DOM inherit from the parent box-sizing
|
|
||||||
* Since `*` has a specificity of 0, it does not override the `html` value
|
|
||||||
* making all elements inheriting from the root box-sizing value
|
|
||||||
* See: https://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/
|
|
||||||
*,
|
|
||||||
*::before,
|
|
||||||
*::after
|
|
||||||
box-sizing: inherit
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Basic styles for links
|
|
||||||
a
|
|
||||||
color: $brand-color
|
|
||||||
text-decoration: none
|
|
||||||
|
|
||||||
+on-event
|
|
||||||
color: $text-color
|
|
||||||
text-decoration: underline
|
|
||||||
|
Loading…
Reference in New Issue
Block a user