aboutsummaryrefslogtreecommitdiffstats
path: root/scss/_canvasapp.scss
diff options
context:
space:
mode:
Diffstat (limited to 'scss/_canvasapp.scss')
-rw-r--r--scss/_canvasapp.scss36
1 files changed, 36 insertions, 0 deletions
diff --git a/scss/_canvasapp.scss b/scss/_canvasapp.scss
new file mode 100644
index 0000000..2eb1a42
--- /dev/null
+++ b/scss/_canvasapp.scss
@@ -0,0 +1,36 @@
+.canvas_app {
+ position: relative;
+
+ display: inline-block;
+
+ .overlay {
+ position: absolute;
+ padding: 1rem;
+
+
+ top: 0;
+ left: 0;
+ right: 0;
+ bottom: 0;
+
+ opacity: 0;
+
+ background: rgba(0, 0, 0, 0.7);
+
+ transition: opacity 300ms;
+
+ &:hover {
+ opacity: 1;
+ }
+
+ > * {
+ margin: 0.5em;
+ }
+
+ a {
+ display: block;
+ color: $gray-bright;
+ font-family: inherit;
+ }
+ }
+}