summaryrefslogtreecommitdiffstats
path: root/packages/gitbook-plugin-theme-default/less/main.less
diff options
context:
space:
mode:
authorSamy Pesse <samypesse@gmail.com>2016-10-02 00:53:38 +0200
committerSamy Pesse <samypesse@gmail.com>2016-10-02 00:53:38 +0200
commit24b657f7902bf15f433515893cded60ea1b76db8 (patch)
tree94c6286227c8ad63a4a11e73acec38a3dd6dc863 /packages/gitbook-plugin-theme-default/less/main.less
parent649a6c980cbfebdbe93b724dbc575dcc9ae75bf4 (diff)
downloadgitbook-24b657f7902bf15f433515893cded60ea1b76db8.zip
gitbook-24b657f7902bf15f433515893cded60ea1b76db8.tar.gz
gitbook-24b657f7902bf15f433515893cded60ea1b76db8.tar.bz2
Fix font and buttons in default theme
Diffstat (limited to 'packages/gitbook-plugin-theme-default/less/main.less')
-rw-r--r--packages/gitbook-plugin-theme-default/less/main.less30
1 files changed, 29 insertions, 1 deletions
diff --git a/packages/gitbook-plugin-theme-default/less/main.less b/packages/gitbook-plugin-theme-default/less/main.less
index 06a1c6d..8a52e2b 100644
--- a/packages/gitbook-plugin-theme-default/less/main.less
+++ b/packages/gitbook-plugin-theme-default/less/main.less
@@ -2,6 +2,7 @@
@import "../node_modules/gitbook-markdown-css/less/mixin.less";
@import "../node_modules/font-awesome/less/font-awesome.less";
+@import "mixins.less";
@import "reset.less";
@import "variables.less";
@@ -12,6 +13,33 @@
@import "Page.less";
@import "Toolbar.less";
-body, html {
+* {
+ .box-sizing(border-box);
+ -webkit-overflow-scrolling: touch;
+ -webkit-tap-highlight-color: transparent;
+ -webkit-text-size-adjust: none;
+ -webkit-touch-callout: none;
+ -webkit-font-smoothing: antialiased;
+}
+
+a {
+ text-decoration: none;
+}
+
+html, body {
margin: 0px;
+ height: 100%;
+}
+
+html {
+ font-size: 62.5%;
+}
+
+body {
+ text-rendering: optimizeLegibility;
+ font-smoothing: antialiased;
+ font-family: @font-family-base;
+ font-size: @font-size-base;
+ letter-spacing: .2px;
+ .text-adjust(100%);
}