diff options
| author | Jieiku | 2022-06-14 13:09:17 -0700 |
|---|---|---|
| committer | Jieiku | 2022-06-14 13:09:17 -0700 |
| commit | 4827695147bea438cf5c42c0ebc325b89f6e731e (patch) | |
| tree | 4c788bd96785473eab59a7b5d1bc87445c45966a /sass | |
| parent | 9ac96c9c0e205584004faed5ca03040450606fb2 (diff) | |
| download | abridge-4827695147bea438cf5c42c0ebc325b89f6e731e.tar.gz abridge-4827695147bea438cf5c42c0ebc325b89f6e731e.tar.bz2 abridge-4827695147bea438cf5c42c0ebc325b89f6e731e.zip | |
Code Blocks: Language and Copy Clipboard, Integrity Option
Diffstat (limited to 'sass')
| -rw-r--r-- | sass/include/_zola.scss | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/sass/include/_zola.scss b/sass/include/_zola.scss index 8eebafb..c18c82d 100644 --- a/sass/include/_zola.scss +++ b/sass/include/_zola.scss @@ -6,4 +6,20 @@ .s75 {font-size: .75em} .s70 {font-size: .70em} .hpad {padding: 0 .2rem} -.rpad {padding-right: .2rem}
\ No newline at end of file +.rpad {padding-right: .2rem} +pre code[data-lang]::before { + content: ' ' attr(data-lang) ': ' " +"; + color: var(--a1); +} +// code copy wrapper +.ccw { + position: relative; +} +// code copy button +.cc { + z-index: 9; + position: absolute; + right: 0px; + font-size: .8rem; +} |
