mirror of
https://github.com/picocss/pico.git
synced 2025-04-24 18:26:14 -04:00
Improved documentation
+ fix card-sectioning (:last-child)
This commit is contained in:
parent
434cbe02ac
commit
5f4b78a22c
13 changed files with 56 additions and 52 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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";
|
||||
|
|
|
@ -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";
|
||||
|
|
|
@ -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";
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue