diff options
author | Marcin Aman <maman@virtuslab.com> | 2020-07-16 18:12:57 +0200 |
---|---|---|
committer | Paweł Marks <Kordyjan@users.noreply.github.com> | 2020-07-16 19:24:12 +0200 |
commit | ee12107aeb40b4a432d817a82e2a93fc96f6ba45 (patch) | |
tree | d00aa29ad0920462b72a5567125fff803091d7a3 /plugins/base/src/main/resources/dokka/styles | |
parent | 7e0fba8a377cad3a429815379b1002b27c9afe42 (diff) | |
download | dokka-ee12107aeb40b4a432d817a82e2a93fc96f6ba45.tar.gz dokka-ee12107aeb40b4a432d817a82e2a93fc96f6ba45.tar.bz2 dokka-ee12107aeb40b4a432d817a82e2a93fc96f6ba45.zip |
Make footer be exactly on the bottom
Diffstat (limited to 'plugins/base/src/main/resources/dokka/styles')
-rw-r--r-- | plugins/base/src/main/resources/dokka/styles/style.css | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/plugins/base/src/main/resources/dokka/styles/style.css b/plugins/base/src/main/resources/dokka/styles/style.css index 8618a60b..57ffb8a5 100644 --- a/plugins/base/src/main/resources/dokka/styles/style.css +++ b/plugins/base/src/main/resources/dokka/styles/style.css @@ -6,12 +6,13 @@ --breadcrumb-font-color: #A6AFBA; --hover-link-color: #5B5DEF; --footer-height: 64px; - --horizontal-spacing-for-content: 42px + --footer-padding-top: 48px; + --horizontal-spacing-for-content: 42px; } #content { padding: 0 var(--horizontal-spacing-for-content); - height: calc(100% - var(--footer-height)); + height: calc(100% - var(--footer-height) - var(--footer-padding-top)); } .breadcrumbs { @@ -374,6 +375,7 @@ body, table { font-size: 14px; line-height: 24px; margin: 0; + height: 100%; /*max-width: 1440px; TODO: This results in worse experience on ultrawide, but on 16:9/16:10 looks better.*/ } @@ -1000,7 +1002,7 @@ td.content { line-height: 16px; letter-spacing: 0.2px; color: var(--breadcrumb-font-color); - margin-top: 48px; + margin-top: var(--footer-padding-top); } .footer span.go-to-top-icon { |