diff options
| author | s-ol <s-ol@users.noreply.github.com> | 2018-10-22 13:36:24 +0000 |
|---|---|---|
| committer | s-ol <s-ol@users.noreply.github.com> | 2018-10-22 13:43:09 +0000 |
| commit | 72829c68ec50c432b38fefcb28613c75657fb2bb (patch) | |
| tree | 40e2c827d76bfea70d1df0e0dee678016d3b1702 /scss | |
| parent | webm encoding for canvasapps (diff) | |
| download | mmm-72829c68ec50c432b38fefcb28613c75657fb2bb.tar.gz mmm-72829c68ec50c432b38fefcb28613c75657fb2bb.zip | |
CanvasApp whammy.js webm exporting
Diffstat (limited to 'scss')
| -rw-r--r-- | scss/main.scss | 37 |
1 files changed, 37 insertions, 0 deletions
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; + } + } +} |
