diff options
1 files changed, 16 insertions, 0 deletions
| -rw-r--r-- | src/styles.css | 16 |
diff --git a/src/styles.css b/src/styles.css index 7024177..ff120e8 100644 --- a/src/styles.css +++ b/src/styles.css @@ -373,12 +373,28 @@ code span { left: 0; top: 0; padding: 1em; + z-index: 2; } .body-on-clicked-image { overflow: hidden; } +.btnBackToTop { + font-size: 1rem; + position: fixed; + right: 1em; + bottom: 1em; + z-index: 1; + border: 1px solid; + transition-duration: 0.5s; + padding: 0.3em; +} + +.btnBackToTop:hover { + cursor: pointer; +} + /* OpenSans font */ @font-face { |