From ee12107aeb40b4a432d817a82e2a93fc96f6ba45 Mon Sep 17 00:00:00 2001 From: Marcin Aman Date: Thu, 16 Jul 2020 18:12:57 +0200 Subject: Make footer be exactly on the bottom --- plugins/base/src/main/resources/dokka/styles/style.css | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'plugins/base/src/main/resources/dokka/styles') 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 { -- cgit