This repository has been archived on 2020-05-08. You can view files and clone it, but cannot push or open issues or pull requests.
_s/sass/elements/_elements.scss

36 lines
719 B
SCSS
Raw Normal View History

2020-04-05 20:49:27 +00:00
/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
2020-04-05 20:49:27 +00:00
*::before,
*::after {
box-sizing: inherit;
}
2020-04-05 20:49:27 +00:00
html {
box-sizing: border-box;
}
body {
background: $color__background-body; // Fallback for when there is no custom background color defined.
}
hr {
background-color: $color__background-hr;
border: 0;
height: 1px;
margin-bottom: 1.5em;
}
@import "lists";
img {
height: auto; // Make sure images are scaled correctly.
max-width: 100%; // Adhere to container width.
}
figure {
margin: 1em 0; // Extra wide images within figure tags don't overflow the content area.
}
@import "tables";