aboutsummaryrefslogtreecommitdiff
path: root/sass/include/_zola.scss
diff options
context:
space:
mode:
authorJieiku2022-06-14 13:09:17 -0700
committerJieiku2022-06-14 13:09:17 -0700
commit4827695147bea438cf5c42c0ebc325b89f6e731e (patch)
tree4c788bd96785473eab59a7b5d1bc87445c45966a /sass/include/_zola.scss
parent9ac96c9c0e205584004faed5ca03040450606fb2 (diff)
downloadabridge-4827695147bea438cf5c42c0ebc325b89f6e731e.tar.gz
abridge-4827695147bea438cf5c42c0ebc325b89f6e731e.tar.bz2
abridge-4827695147bea438cf5c42c0ebc325b89f6e731e.zip
Code Blocks: Language and Copy Clipboard, Integrity Option
Diffstat (limited to 'sass/include/_zola.scss')
-rw-r--r--sass/include/_zola.scss18
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;
+}