chore: put core styles into a subfolder

This commit is contained in:
Kazhnuz 2021-07-30 10:31:27 +02:00
parent 9252dc0f1d
commit ed53f047ec
5 changed files with 28 additions and 24 deletions

View file

@ -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;
}

View 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;
}

View file

@ -1,10 +1,7 @@
/* /* 0.3 - Typography
* 2 - Typography ( _typography.scss )
*
* This part of the (s)css handle everything related to the typography * This part of the (s)css handle everything related to the typography
* like paragraphs, blockquote, etc. * like paragraphs, blockquote, etc.
* **/
*/
@import 'font-face'; @import 'font-face';

View file

@ -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';