From 7cd0164426a6527b9bbb39d441f9bbdf28db45f3 Mon Sep 17 00:00:00 2001 From: Marcin Aman Date: Thu, 12 Aug 2021 13:48:22 +0200 Subject: Limit width --- plugins/base/src/main/resources/dokka/styles/style.css | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) (limited to 'plugins/base') diff --git a/plugins/base/src/main/resources/dokka/styles/style.css b/plugins/base/src/main/resources/dokka/styles/style.css index 24d950b4..248bb531 100644 --- a/plugins/base/src/main/resources/dokka/styles/style.css +++ b/plugins/base/src/main/resources/dokka/styles/style.css @@ -7,7 +7,6 @@ --breadcrumb-font-color: #637282; --breadcrumb-margin: 24px; --hover-link-color: #5B5DEF; - /*--average-color: #637282;*/ --footer-height: 64px; --footer-padding-top: 48px; --footer-background: var(--default-gray); @@ -27,6 +26,7 @@ --code-background: rgba(39, 40, 44, .05); --border-color: rgba(39, 40, 44, .2); --top-navigation-height: 67px; + --max-width: 1160px; } html { @@ -58,6 +58,10 @@ html ::-webkit-scrollbar-thumb { .main-content { padding-bottom: var(--bottom-spacing); z-index: 0; + max-width: var(--max-width); + width: 100%; + margin-left: auto; + margin-right: auto; } .main-content > * { @@ -159,15 +163,6 @@ html ::-webkit-scrollbar-thumb { flex-direction: column; } -/*.cover .platform-hinted .sourceset-depenent-content > .symbol,*/ -/*.cover > .symbol {*/ -/* background-color: white;*/ -/*}*/ - -/*.cover .platform-hinted.with-platform-tabs .sourceset-depenent-content > .symbol {*/ -/* background-color: var(--background-color);*/ -/*}*/ - .cover .platform-hinted.with-platform-tabs .sourceset-depenent-content > .block ~ .symbol { padding-top: 16px; padding-left: 0; -- cgit