mirror of
https://github.com/picocss/pico.git
synced 2025-04-27 11:36:14 -04:00
Simpler cards, code and scroller
This commit is contained in:
parent
7c02958360
commit
772425bf2f
15 changed files with 36 additions and 203 deletions
|
@ -5,25 +5,12 @@
|
|||
// Wrapper to make any content responsive across all viewports
|
||||
figure {
|
||||
display: block;
|
||||
margin-right: -$spacing-gutter;
|
||||
margin-left: -$spacing-gutter;
|
||||
margin:0;
|
||||
padding: 0;
|
||||
overflow-x: auto;
|
||||
|
||||
figcaption {
|
||||
padding: ($spacing-gutter/2) 0;
|
||||
color: var(--muted-text);
|
||||
font-size: 87.5%;
|
||||
padding: ($spacing-gutter/2) $spacing-gutter;
|
||||
}
|
||||
|
||||
@if map-get($breakpoints, "sm") {
|
||||
@media (min-width: map-get($breakpoints, "sm")) {
|
||||
margin-right: 0;
|
||||
margin-left: 0;
|
||||
|
||||
figcaption {
|
||||
padding: ($spacing-gutter/2) 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue