From 72829c68ec50c432b38fefcb28613c75657fb2bb Mon Sep 17 00:00:00 2001 From: s-ol Date: Tue, 23 Oct 2018 00:36:24 +1100 Subject: CanvasApp whammy.js webm exporting --- scss/main.scss | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) (limited to 'scss') diff --git a/scss/main.scss b/scss/main.scss index 9d23ceb..07c3260 100644 --- a/scss/main.scss +++ b/scss/main.scss @@ -1,3 +1,40 @@ body { font-family: sans-serif; } + +.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: #eee; + font-family: inherit; + } + } +} -- cgit v1.2.3