popov.link/_scss/components/_core.scss
Valentin Popov 6364c265d3
Added delimiters elements
Signed-off-by: Valentin Popov <info@valentineus.link>
2019-05-03 18:40:22 +04:00

49 lines
600 B
SCSS

@import 'utilities/textsizeadjust';
*,
*::after,
*::before {
@include text-size-adjust(100%);
box-sizing: border-box;
}
html {
height: 100%;
overflow-y: scroll;
}
body {
display: flex;
flex-direction: row;
min-height: 100%;
}
.container {
flex: 75%;
padding-right: 16px;
}
.sidebar {
border-left: 1px solid $color-bg-alt;
flex: 25%;
height: 100%;
padding-left: 16px;
}
@media (max-width: 684px) {
body {
flex-direction: column;
}
.container {
flex: 100%;
padding-right: 0;
}
.sidebar {
border: 0;
flex: 100%;
padding-left: 0;
}
}