@@ -171,7 +171,7 @@ <h2 id="start-download">
171171 < p >
172172 YARN package
173173 </ p >
174- < a href ="https://yarnpkg.com/en/package/ChuckCSS " crel ="nofollow " lass ="btn external-link black ">
174+ < a href ="https://yarnpkg.com/en/package/ChuckCSS " rel ="nofollow " class ="btn external-link black ">
175175 $ yarn add ChuckCSS
176176 </ a >
177177 </ div >
@@ -197,17 +197,17 @@ <h2 id="start-jsdelivr">
197197 < pre class ="HTML ">
198198 < code class ="language-markup "> <!-- -->
199199 <!-- Include the ChuckCSS CSS file -->
200- <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/ChuckCSS/dist/chuckcss.min.css" integrity="sha384-9Q5efsUnTOxxKSBqSr+Xu5C6NhT9C7ZpXmOJlQDLWsN43EpVBS1C/uqmwfuJJdw4" crossorigin="anonymous">
200+ <link media="screen" rel="stylesheet" href="https://cdn.jsdelivr.net/npm/ChuckCSS/dist/chuckcss.min.css" integrity="sha384-9Q5efsUnTOxxKSBqSr+Xu5C6NhT9C7ZpXmOJlQDLWsN43EpVBS1C/uqmwfuJJdw4" crossorigin="anonymous">
201201
202202 <!-- ** OPTIONNAL ** -->
203203 <!-- Print file -->
204- <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/ChuckCSS/dist/print.css" integrity="sha384-v3V621jdwau+HZBAsgh1A2BAbGS203f9aH7aedLd1AIWLQYDnluBvLmdMkgkN3hU" crossorigin="anonymous">
204+ <link media="print" rel="stylesheet" href="https://cdn.jsdelivr.net/npm/ChuckCSS/dist/print.css" integrity="sha384-v3V621jdwau+HZBAsgh1A2BAbGS203f9aH7aedLd1AIWLQYDnluBvLmdMkgkN3hU" crossorigin="anonymous">
205205
206206 <!-- ** OPTIONNAL ** -->
207207 <!-- Just before the </body> close tag, include the ChuckCSS JS file -->
208208 <!-- The javascript file is optionnal. It manages modals (openings and closures) and alerts (closures) -->
209209 <!-- You can easily create your own javascript file to manage by yourself modals and alerts -->
210- <script src="https://cdn.jsdelivr.net/npm/ChuckCSS/dist/chuckcss.js" integrity="sha384-ADz7aKD9VLw6IBaYl8pwAckpQVIk9vjGsvvNtj3lPPWWgcgu9ZgvNnR+AP7oz7x+" crossorigin="anonymous"> </script>
210+ <script src="https://cdn.jsdelivr.net/npm/ChuckCSS/dist/chuckcss.js" integrity="sha384-ADz7aKD9VLw6IBaYl8pwAckpQVIk9vjGsvvNtj3lPPWWgcgu9ZgvNnR+AP7oz7x+" crossorigin="anonymous" defer > </script>
211211 </ code >
212212 </ pre >
213213 </ div >
@@ -234,13 +234,14 @@ <h2 id="start-tree-files">
234234 ├──────── modals.less
235235 ├──────── tabs.less
236236 |
237- ├── core /
237+ ├── main /
238238 ├──────── animations.less <!-- radio, checkbox, loaders animations -->
239239 ├──────── base.less <!-- <html> and <body> general definitions -->
240240 ├──────── functions.less <!-- powerful mixins file -->
241241 ├──────── generator.less <!-- grids items width, texts helpers... -->
242- ├──────── helpers.less
243- ├──────── icons.less <!-- icons file -->
242+ ├──────── helpers.less <!-- block helpers : visibility, width... -->
243+ ├──────── icons.less <!-- simple icons placement -->
244+ ├──────── normalize.less <!-- reset css -->
244245 ├──────── responsive.less <!-- responsive mixins -->
245246 |
246247 ├── elements/
@@ -351,7 +352,8 @@ <h2 id="start-source-files">
351352 @green : #80ae37;
352353 @green-na : green;
353354
354- // By filling the @aColors array, you can use cc-bg-{color} and cc-{color} class onto your HTML elements with your own colors
355+ // By filling the @aColors array, you can use cc-bg-{color} and cc-{color} class onto
356+ // your HTML elements with your own colors
355357 @aColors :
356358 @primary-na @primary,
357359 @green-na @green,
@@ -363,9 +365,28 @@ <h2 id="start-source-files">
363365 -- @ Texts @ --
364366 */
365367 @text-mc: #1A1A1A; /* Texts ~ Main color (hexa, rgb, rgba...) */
366- @text-fs-old : 17px ; /* Texts font-size ~ Used for old browsers that doesn't support rem units */
368+ @text-fs : 1.7rem ; /* Texts font-size */
367369
368370 // The body will have a font-size of 1.7rem (17px), and texts will be written with color #1A1A1A
371+
372+
373+ // You can easily define different font-size regarding the screen width by filling vars below
374+
375+ // Font-size && line-height for phone screens (> = 360px)
376+ @text-fs-s: 1.6rem; /* Textes font-size (applied to <body> ) */
377+ @text-lh-s : 1.5; /* Texts line-height : ~= font-size*1.5 */
378+
379+ // Font-size && line-height for medium screens (> = 768px)
380+ @text-fs-m: 1.6rem; /* Textes font-size (applied to <body> ) */
381+ @text-lh-m : 1.5; /* Texts line-height : ~= font-size*1.5 */
382+
383+ // Font-size && line-height for large screens (> = 989px)
384+ @text-fs-l: 1.6rem; /* Textes font-size (applied to <body> ) */
385+ @text-lh-l : 1.5; /* Texts line-height : ~= font-size*1.5 */
386+
387+ // Font-size && line-height for x-large screens (> = 1200px)
388+ @text-fs-xl: 1.6rem; /* Textes font-size (applied to <body> ) */
389+ @text-lh-xl : 1.5; /* Texts line-height : ~= font-size*1.5 */
369390 </ code >
370391 </ pre >
371392 </ div >
0 commit comments