aboutsummaryrefslogtreecommitdiff
path: root/plugins/base/src/main/resources
diff options
context:
space:
mode:
authorMarcin Aman <marcin.aman@gmail.com>2021-08-12 13:48:22 +0200
committerMarcin Aman <marcin.aman@gmail.com>2021-08-12 13:48:22 +0200
commit7cd0164426a6527b9bbb39d441f9bbdf28db45f3 (patch)
treeb6330277dd5553977c4ec4ce10cb734521cc6e92 /plugins/base/src/main/resources
parent0fe8352ab057dfbbf690a723b2ccfc15b9977f4a (diff)
downloaddokka-7cd0164426a6527b9bbb39d441f9bbdf28db45f3.tar.gz
dokka-7cd0164426a6527b9bbb39d441f9bbdf28db45f3.tar.bz2
dokka-7cd0164426a6527b9bbb39d441f9bbdf28db45f3.zip
Limit width
Diffstat (limited to 'plugins/base/src/main/resources')
-rw-r--r--plugins/base/src/main/resources/dokka/styles/style.css15
1 files changed, 5 insertions, 10 deletions
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;