forked from mirror/_s
36 lines
719 B
SCSS
36 lines
719 B
SCSS
/* 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/ */
|
|
*,
|
|
*::before,
|
|
*::after {
|
|
box-sizing: inherit;
|
|
}
|
|
|
|
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";
|