BookStack/resources/sass/_html.scss

35 lines
528 B
SCSS
Raw Normal View History

@use "mixins";
@use "vars";
2015-07-12 20:01:42 +01:00
* {
2015-08-31 11:43:28 +01:00
box-sizing: border-box;
outline-color: var(--color-primary);
outline-width: 1px;
}
*:focus {
outline-style: dotted;
2015-07-12 20:01:42 +01:00
}
2015-07-12 20:01:42 +01:00
html {
2015-08-31 11:43:28 +01:00
height: 100%;
overflow-y: scroll;
background-color: #F2F2F2;
&.flexbox {
overflow-y: hidden;
}
&.dark-mode {
background-color: #111;
}
2015-07-12 20:01:42 +01:00
}
2015-07-12 20:01:42 +01:00
body {
font-size: vars.$fs-m;
2015-08-31 11:43:28 +01:00
line-height: 1.6;
@include mixins.lightDark(color, #444, #AAA);
2015-08-31 11:43:28 +01:00
-webkit-font-smoothing: antialiased;
height: 100%;
display: flex;
flex-direction: column;
}