summary refs log tree commit diff
path: root/assets/css
diff options
context:
space:
mode:
Diffstat (limited to 'assets/css')
-rw-r--r--assets/css/style.scss25
1 files changed, 24 insertions, 1 deletions
diff --git a/assets/css/style.scss b/assets/css/style.scss
index 7b3c924..b59d669 100644
--- a/assets/css/style.scss
+++ b/assets/css/style.scss
@@ -1,5 +1,5 @@
 ---
----
+--- 
 
 @import "{{ site.theme }}";
 
@@ -76,4 +76,27 @@ h6:hover .octicon {
     padding: 0;
     margin-left: -16px;
     vertical-align: middle;
+}
+
+div.highlight {
+    position: relative;
+}
+
+div.highlight:hover button {
+    opacity: 1
+}
+
+div.highlight button {
+    opacity: 0;
+    position: absolute;
+    top: 0.5rem;
+    right: 1rem;
+    height: 2em;
+    transition: all 0.2s ease-out
+}
+
+div.highlight button:active,
+div.highlight button:focus,
+div.highlight button:hover {
+    opacity: 1
 }
\ No newline at end of file