From 7ac68018f4c047acb5cc6231153810058cb33a4c Mon Sep 17 00:00:00 2001
From: Kevin Lin <kevinl@cs.uw.edu>
Date: Fri, 26 Jun 2020 17:04:12 -0700
Subject: [PATCH] _sass: Add overlay

---
 _sass/custom/custom.scss | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/_sass/custom/custom.scss b/_sass/custom/custom.scss
index dd215e7..89b9dcf 100644
--- a/_sass/custom/custom.scss
+++ b/_sass/custom/custom.scss
@@ -22,6 +22,21 @@ code {
   border: none;
 }
 
+div.highlighter-rouge {
+  position: relative;
+
+  &::after {
+    @extend %card-meta, .text-grey-dk-100;
+
+    background-color: $white;
+    bottom: $sp-2;
+    content: attr(overlay);
+    position: absolute;
+    right: 0;
+    user-select: none;
+  }
+}
+
 details {
   margin-left: 40px;
   margin-right: 40px;
-- 
GitLab