mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-01-09 10:25:40 +00:00
8ec26e8083
Changes the name of our spacing variables due to the prefixing -/_ meaning private in the use of new "use" rather than include. All now modular too, so all variables/mixins are accessed via their package. Also renamed variables file to vars for simpler/cleaner access/writing. eg. '$-m' is now 'vars.$m'
34 lines
528 B
SCSS
34 lines
528 B
SCSS
@use "mixins";
|
|
@use "vars";
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
outline-color: var(--color-primary);
|
|
outline-width: 1px;
|
|
}
|
|
|
|
*:focus {
|
|
outline-style: dotted;
|
|
}
|
|
|
|
html {
|
|
height: 100%;
|
|
overflow-y: scroll;
|
|
background-color: #F2F2F2;
|
|
&.flexbox {
|
|
overflow-y: hidden;
|
|
}
|
|
&.dark-mode {
|
|
background-color: #111;
|
|
}
|
|
}
|
|
|
|
body {
|
|
font-size: vars.$fs-m;
|
|
line-height: 1.6;
|
|
@include mixins.lightDark(color, #444, #AAA);
|
|
-webkit-font-smoothing: antialiased;
|
|
height: 100%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|