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 @@
|
|||
*,
|
||||
*::before,
|
||||
*::after {
|
||||
box-sizing: inherit;
|
||||
}
|
||||
/* 0. CORE
|
||||
** All the basic functions from the stylesheet
|
||||
*/
|
||||
|
||||
html {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
overflow-x: hidden;
|
||||
text-rendering: optimizeLegibility;
|
||||
}
|
||||
@import 'core/normalize';
|
||||
@import 'core/box-sizing';
|
||||
@import 'core/typography';
|
||||
|
|
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 @@
|
|||
/*
|
||||
* 2 - Typography ( _typography.scss )
|
||||
*
|
||||
* This part of the (s)css handle everything related to the typography
|
||||
* like paragraphs, blockquote, etc.
|
||||
*
|
||||
*/
|
||||
/* 0.3 - Typography
|
||||
* This part of the (s)css handle everything related to the typography
|
||||
* like paragraphs, blockquote, etc.
|
||||
**/
|
||||
|
||||
@import 'font-face';
|
||||
|
|
@ -19,12 +19,8 @@
|
|||
|
||||
@import 'angled-edges';
|
||||
|
||||
@import 'normalize';
|
||||
|
||||
@import 'core';
|
||||
|
||||
@import 'typography';
|
||||
|
||||
@import 'global';
|
||||
|
||||
@import 'drawing';
|
||||
|
|
Loading…
Reference in a new issue