Improved documentation

+ fix card-sectioning (:last-child)
This commit is contained in:
Lucas 2019-12-02 12:42:25 +07:00
parent 434cbe02ac
commit 5f4b78a22c
13 changed files with 56 additions and 52 deletions

View file

@ -56,7 +56,7 @@ article {
}
// Remove last-child margin bottom
> *:not(footer):not(pre):last-child {
> *:not(header):not(footer):not(pre):last-child {
margin-bottom: 0;
}
}

View file

@ -1,5 +1,14 @@
// Classless version
// Config
// --------------------
// Enable <header>, <main>, <footer> inside <body> as a container
$enable-semantic-container: true;
// Enable .classes
$enable-classes: false;
// Pico Lib
// --------------------
@import "pico";

View file

@ -1,6 +1,17 @@
// Fluid version
// Config
// --------------------
// Enable <header>, <main>, <footer> inside <body> as a container
$enable-semantic-container: true;
// Enable a centered viewport
$enable-viewport: false;
// Enable .classes
$enable-classes: false;
// Pico Lib
// --------------------
@import "pico";

View file

@ -6,9 +6,20 @@
* You can export only the modules you need
*/
// Config
// --------------------
// Enable responsive spacings for <header>, <main>, <footer>, <section>, <article>
$enable-responsive-spacings: false;
// Enable validation states for inputs
$enable-input-states: false;
// Pico Lib
// --------------------
// Config
@import "variables";