diff options
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; + } + } +} |
