diff options
| author | Jieiku | 2022-03-27 19:19:28 -0700 |
|---|---|---|
| committer | Jieiku | 2022-03-27 19:19:28 -0700 |
| commit | 2ef7c0ec1ff976b807691fea23eaaf5ea1e93bc9 (patch) | |
| tree | 33dda7250a49739153f501dbdec7c26792d87964 /sass/include/_scroller.scss | |
| download | abridge-2ef7c0ec1ff976b807691fea23eaaf5ea1e93bc9.tar.gz abridge-2ef7c0ec1ff976b807691fea23eaaf5ea1e93bc9.tar.bz2 abridge-2ef7c0ec1ff976b807691fea23eaaf5ea1e93bc9.zip | |
init
Diffstat (limited to 'sass/include/_scroller.scss')
| -rw-r--r-- | sass/include/_scroller.scss | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/sass/include/_scroller.scss b/sass/include/_scroller.scss new file mode 100644 index 0000000..de1de5e --- /dev/null +++ b/sass/include/_scroller.scss @@ -0,0 +1,17 @@ +/** + * Horizontal scroller (<figure>) + * https://github.com/picocss/pico + */ + +// Wrapper to make any content responsive across all viewports +figure { + display: block; + margin: 0; + padding: 0; + overflow-x: auto; + + figcaption { + padding: var(--s1) 0; + color: var(--c4); + } +} |
