hugo-theme-almeida/assets/scss/_base.scss

50 lines
801 B
SCSS
Raw Normal View History

2020-08-16 12:21:35 +00:00
*,
*::after,
*::before {
margin: 0;
padding: 0;
box-sizing: inherit;
}
html {
font-size: 62.5%;
background-color: $color-page-background;
2020-08-29 11:16:29 +00:00
@media print {
background-color: $color-light;
2020-08-29 11:16:29 +00:00
}
2020-08-16 12:21:35 +00:00
}
.content {
// A4 paper
width: $page-width;
min-height: paper_height($page-width);
background-color: $color-light;
2020-08-16 12:21:35 +00:00
@media screen and (min-width: 60rem) {
margin: 6rem 0;
@include shadow(1);
@include hz-center;
}
2020-08-29 11:16:29 +00:00
@media print {
margin: 0;
height: paper_height($page-width) * $pages;
}
2020-08-16 12:21:35 +00:00
}
body {
box-sizing: border-box;
}
@media print {
2020-08-29 11:16:29 +00:00
@page {
margin: 0;
2020-08-16 12:21:35 +00:00
size: A4;
}
}
::selection {
color: $color-light;
2020-08-29 11:16:29 +00:00
background-color: darken(rgba($color-primary, 0.6), 10%);
}