mirror of
https://github.com/picocss/pico.git
synced 2025-04-27 11:36:14 -04:00
feat: optional parent selector
This commit is contained in:
parent
9ea68c42e0
commit
ef2100499b
32 changed files with 295 additions and 277 deletions
|
@ -24,7 +24,7 @@
|
|||
|
||||
// Pico
|
||||
// ––––––––––––––––––––
|
||||
#{$semantic-root-element} {
|
||||
#{$parent-selector} #{$semantic-root-element} {
|
||||
> header,
|
||||
> main,
|
||||
> footer {
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
*/
|
||||
|
||||
// Wrapper to make allow any content to be scrolled horizontally
|
||||
figure {
|
||||
#{$parent-selector} figure {
|
||||
display: block;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
* Section
|
||||
*/
|
||||
|
||||
section {
|
||||
#{$parent-selector} section {
|
||||
margin-bottom: var(#{$css-var-prefix}block-spacing-vertical);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue