mirror of
https://github.com/picocss/pico.git
synced 2025-04-26 11:16:15 -04:00
style: figure
This commit is contained in:
parent
d3455eaca1
commit
d07f4b4960
125 changed files with 1559 additions and 4 deletions
19
scss/content/_figure.scss
Normal file
19
scss/content/_figure.scss
Normal file
|
@ -0,0 +1,19 @@
|
|||
@use "sass:map";
|
||||
@use "../settings" as *;
|
||||
|
||||
@if map.get($modules, "content/figure") {
|
||||
/**
|
||||
* Figure
|
||||
*/
|
||||
|
||||
#{$parent-selector} figure {
|
||||
display: block;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
|
||||
figcaption {
|
||||
padding: calc(var(#{$css-var-prefix}spacing) * 0.5) 0;
|
||||
color: var(#{$css-var-prefix}muted-color);
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue