diff options
| author | Aditya Telange <21258296+adityatelange@users.noreply.github.com> | 2021-03-27 11:28:55 +0530 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-03-27 11:28:55 +0530 |
| commit | e503367a1adff7a62f4d7773f06f071f910ffc5a (patch) | |
| tree | c50374b50fc19c82f46af7f613dc42af74f94322 /assets/css/common/footer.css | |
| parent | b6af9eddee7f816b01a68836344b36d30de4a492 (diff) | |
[BREAKING] Split-up css into sub-parts (#317)
* Move styles into 3 different locations
- core
- common
- hljs
* Load all stylesheets in proper order
Diffstat (limited to 'assets/css/common/footer.css')
| -rw-r--r-- | assets/css/common/footer.css | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/assets/css/common/footer.css b/assets/css/common/footer.css new file mode 100644 index 0000000..1e5632b --- /dev/null +++ b/assets/css/common/footer.css @@ -0,0 +1,56 @@ +.footer, +.top-link { + font-size: 12px; + color: var(--secondary) +} + +.footer { + max-width: calc(var(--main-width) + var(--gap) * 2); + margin: auto; + padding: calc((var(--footer-height) - var(--gap)) / 2) var(--gap); + text-align: center; + line-height: 24px +} + +.footer span { + margin-inline-start: 1px; + margin-inline-end: 1px +} + +.footer a { + color: inherit; + border-bottom: 1px solid var(--secondary) +} + +.footer a:hover { + border-bottom: 1px solid var(--primary) +} + +.top-link { + visibility: hidden; + position: fixed; + bottom: 60px; + right: 30px; + z-index: 99; + background: var(--tertiary); + width: 42px; + height: 42px; + padding: 12px; + border-radius: 64px; + transition: visibility .5s, opacity .8s linear +} + +.top-link, +.top-link svg { + filter: drop-shadow(0px 0px 0px var(--theme)); +} + +.footer a:hover, +.top-link:hover { + color: var(--primary) +} + +.top-link:focus, +#theme-toggle:focus { + outline: 0 +} |
