aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Xiao <xlzqwerty1@gmail.com>2017-03-12 01:19:35 -0500
committerGitHub <noreply@github.com>2017-03-12 01:19:35 -0500
commit998c24edc44a7a07c22524c1647578252313d48d (patch)
tree142264a786238378c201dbd3c2dba2641858853e
parentb84df9a0b8dbd2184c829d345bdad151230fc375 (diff)
downloaddokka-998c24edc44a7a07c22524c1647578252313d48d.tar.gz
dokka-998c24edc44a7a07c22524c1647578252313d48d.tar.bz2
dokka-998c24edc44a7a07c22524c1647578252313d48d.zip
updated style.css to better fit wide monitor resolutions
- use Open Sans in favour of Lato as it is more legible on resolutions higher than 1080p at 100% scaling. - add auto-margin for body to center all text so users dont have to turn their head all the way to the left when reading documentation on resolutions higher than 1080p.
-rw-r--r--core/src/main/resources/dokka/styles/style.css7
1 files changed, 5 insertions, 2 deletions
diff --git a/core/src/main/resources/dokka/styles/style.css b/core/src/main/resources/dokka/styles/style.css
index 09586237..914be69d 100644
--- a/core/src/main/resources/dokka/styles/style.css
+++ b/core/src/main/resources/dokka/styles/style.css
@@ -1,10 +1,13 @@
-@import url(https://fonts.googleapis.com/css?family=Lato:300italic,700italic,300,700);
+@import url(https://fonts.googleapis.com/css?family=Open+Sans:300i,400,700);
body, table {
padding:50px;
- font:14px/1.5 Lato, "Helvetica Neue", Helvetica, Arial, sans-serif;
+ font:14px/1.5 'Open Sans', "Helvetica Neue", Helvetica, Arial, sans-serif;
color:#555;
font-weight:300;
+ margin-left: auto;
+ margin-right: auto;
+ max-width: 1440px;
}
.keyword {