Improvements

- Small adjustments for table striping
- Consitent shadows for Dark mode
- Bigger Checkboxes, Radios and Switches
- Disable transitions for Checkboxes, Radios and Details
- Simplier .grids in docs
- Replace .js for internal scroll with CSS
- Better aside adjustment in .js
- Many small improvements in docs
This commit is contained in:
Lucas 2019-12-08 10:35:18 +07:00
parent 772425bf2f
commit c8ddb87647
26 changed files with 209 additions and 288 deletions

View file

@ -0,0 +1,7 @@
/**
* Docs: Document
*/
html{
scroll-behavior:smooth;
}

View file

@ -5,6 +5,16 @@
// Docs: Themes
//
#start {
a[role="button"] svg {
padding-left: .66rem;
vertical-align: baseline;
}
}
// Docs: Themes
//
#themes {
button i {
font-style: normal;

View file

@ -79,3 +79,13 @@ div[role="document"] section a[href*="//"]:not([href*="https://picocss.com"]):no
background-size: .66rem auto;
content: '';
}
// Form grid
//
form.grid {
> input:not([type=checkbox]):not([type=radio]),
> button {
margin-bottom: 0;
}
}

View file

@ -9,6 +9,7 @@
@import "themes/docs";
// Layout
@import "layout/document";
@import "layout/main";
@import "layout/aside";
@import "layout/documentation";