aboutsummaryrefslogtreecommitdiff
path: root/plugins/base/src/main/resources/dokka/styles/style.css
diff options
context:
space:
mode:
authorMarcin Aman <maman@virtuslab.com>2020-07-16 18:12:57 +0200
committerPaweł Marks <Kordyjan@users.noreply.github.com>2020-07-16 19:24:12 +0200
commitee12107aeb40b4a432d817a82e2a93fc96f6ba45 (patch)
treed00aa29ad0920462b72a5567125fff803091d7a3 /plugins/base/src/main/resources/dokka/styles/style.css
parent7e0fba8a377cad3a429815379b1002b27c9afe42 (diff)
downloaddokka-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/style.css')
-rw-r--r--plugins/base/src/main/resources/dokka/styles/style.css8
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 {