From 4827695147bea438cf5c42c0ebc325b89f6e731e Mon Sep 17 00:00:00 2001 From: Jieiku Date: Tue, 14 Jun 2022 13:09:17 -0700 Subject: Code Blocks: Language and Copy Clipboard, Integrity Option --- sass/include/_zola.scss | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) (limited to 'sass') 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; +} -- cgit v1.3.1