chore: put core styles into a subfolder
This commit is contained in:
parent
9252dc0f1d
commit
ed53f047ec
5 changed files with 28 additions and 24 deletions
|
@ -1,14 +1,7 @@
|
||||||
*,
|
/* 0. CORE
|
||||||
*::before,
|
** All the basic functions from the stylesheet
|
||||||
*::after {
|
*/
|
||||||
box-sizing: inherit;
|
|
||||||
}
|
|
||||||
|
|
||||||
html {
|
@import 'core/normalize';
|
||||||
box-sizing: border-box;
|
@import 'core/box-sizing';
|
||||||
}
|
@import 'core/typography';
|
||||||
|
|
||||||
body {
|
|
||||||
overflow-x: hidden;
|
|
||||||
text-rendering: optimizeLegibility;
|
|
||||||
}
|
|
||||||
|
|
18
src/scss/core/_box-sizing.scss
Normal file
18
src/scss/core/_box-sizing.scss
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
/* 0.2 - Box-sizing
|
||||||
|
* Make sure that everything have its box-sizing to border-box
|
||||||
|
**/
|
||||||
|
|
||||||
|
*,
|
||||||
|
*::before,
|
||||||
|
*::after {
|
||||||
|
box-sizing: inherit;
|
||||||
|
}
|
||||||
|
|
||||||
|
html {
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
|
||||||
|
body {
|
||||||
|
overflow-x: hidden;
|
||||||
|
text-rendering: optimizeLegibility;
|
||||||
|
}
|
|
@ -1,10 +1,7 @@
|
||||||
/*
|
/* 0.3 - Typography
|
||||||
* 2 - Typography ( _typography.scss )
|
* This part of the (s)css handle everything related to the typography
|
||||||
*
|
* like paragraphs, blockquote, etc.
|
||||||
* This part of the (s)css handle everything related to the typography
|
**/
|
||||||
* like paragraphs, blockquote, etc.
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
|
|
||||||
@import 'font-face';
|
@import 'font-face';
|
||||||
|
|
|
@ -19,12 +19,8 @@
|
||||||
|
|
||||||
@import 'angled-edges';
|
@import 'angled-edges';
|
||||||
|
|
||||||
@import 'normalize';
|
|
||||||
|
|
||||||
@import 'core';
|
@import 'core';
|
||||||
|
|
||||||
@import 'typography';
|
|
||||||
|
|
||||||
@import 'global';
|
@import 'global';
|
||||||
|
|
||||||
@import 'drawing';
|
@import 'drawing';
|
||||||
|
|
Loading…
Reference in a new issue