Update _base.sass

This commit is contained in:
Andros Fenollosa 2019-03-03 09:43:58 +01:00 committed by GitHub
parent e24f56c1d2
commit 8f438792e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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