aboutsummaryrefslogtreecommitdiff
path: root/sass/include
diff options
context:
space:
mode:
Diffstat (limited to 'sass/include')
-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;
+}