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/_code.scss | |
| download | abridge-2ef7c0ec1ff976b807691fea23eaaf5ea1e93bc9.tar.gz abridge-2ef7c0ec1ff976b807691fea23eaaf5ea1e93bc9.tar.bz2 abridge-2ef7c0ec1ff976b807691fea23eaaf5ea1e93bc9.zip | |
init
Diffstat (limited to 'sass/include/_code.scss')
| -rw-r--r-- | sass/include/_code.scss | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/sass/include/_code.scss b/sass/include/_code.scss new file mode 100644 index 0000000..bd72a32 --- /dev/null +++ b/sass/include/_code.scss @@ -0,0 +1,33 @@ +// Code +pre, +code, +kbd, +samp, +tt, +var { + border-radius: var(--br); + background: var(--c2); + font-family: var(--fm); + line-height: initial; + font-size: .8rem; + padding: .3rem .2rem; +} +pre { + display: block; + overflow-x: auto; + -ms-overflow-style: scrollbar; + white-space: pre; + > code { + display: block; + background: transparent; + } +} + +// kbd +kbd { + background-color: var(--f2); + color: var(--c1); + vertical-align: baseline; + font-size: 1rem; + padding: .2rem; +} |
