summaryrefslogtreecommitdiffstats
path: root/theme/stylesheets
diff options
context:
space:
mode:
authorAaron O'Mullan <aaron.omullan@gmail.com>2015-08-13 19:19:35 +0200
committerAaron O'Mullan <aaron.omullan@gmail.com>2015-08-13 19:19:35 +0200
commit302d9b4b917ae19ccc4408af9ef95f6e736e4ad6 (patch)
tree824b9c665e98d9d2535dd67ea9c98a23fdb5a318 /theme/stylesheets
parenta091a7f68be00934f9e990aed83c81d0b5dae9c2 (diff)
parent53621f6de359efcbb44b3e2434743d41efdf8a5f (diff)
downloadgitbook-302d9b4b917ae19ccc4408af9ef95f6e736e4ad6.zip
gitbook-302d9b4b917ae19ccc4408af9ef95f6e736e4ad6.tar.gz
gitbook-302d9b4b917ae19ccc4408af9ef95f6e736e4ad6.tar.bz2
Merge pull request #849 from GitbookIO/improve/remove-webfonts
Use system fonts instead of webfonts
Diffstat (limited to 'theme/stylesheets')
-rwxr-xr-xtheme/stylesheets/website.less2
-rw-r--r--theme/stylesheets/website/fonts.less96
-rw-r--r--theme/stylesheets/website/variables.less4
3 files changed, 3 insertions, 99 deletions
diff --git a/theme/stylesheets/website.less b/theme/stylesheets/website.less
index 4f4217c..31e696e 100755
--- a/theme/stylesheets/website.less
+++ b/theme/stylesheets/website.less
@@ -4,7 +4,6 @@
@import "mixins.less";
-@import "website/fonts.less";
@import "website/variables.less";
@import "website/languages.less";
@import "website/header.less";
@@ -44,4 +43,5 @@ body {
font-smoothing: antialiased;
font-family: @font-family-base;
font-size: @font-size-base;
+ letter-spacing: .2px;
}
diff --git a/theme/stylesheets/website/fonts.less b/theme/stylesheets/website/fonts.less
deleted file mode 100644
index e6457bc..0000000
--- a/theme/stylesheets/website/fonts.less
+++ /dev/null
@@ -1,96 +0,0 @@
-@font-face {
- font-family: 'Merriweather';
- font-style: normal;
- font-weight: 250;
- src: local('Merriweather Light'),url('@{FontPath}/merriweather/250.woff') format('woff');
-}
-@font-face {
- font-family: 'Merriweather';
- font-style: italic;
- font-weight: 250;
- src: local('Merriweather Light Italic'),url('@{FontPath}/merriweather/250i.woff') format('woff');
-}
-@font-face {
- font-family: 'Merriweather';
- font-style: normal;
- font-weight: 400;
- src: local('Merriweather'),url('@{FontPath}/merriweather/400.woff') format('woff');
-}
-@font-face {
- font-family: 'Merriweather';
- font-style: italic;
- font-weight: 400;
- src: local('Merriweather Italic'),url('@{FontPath}/merriweather/400i.woff') format('woff');
-}
-@font-face {
- font-family: 'Merriweather';
- font-style: normal;
- font-weight: 700;
- src: local('Merriweather Bold'),url('@{FontPath}/merriweather/700.woff') format('woff');
-}
-@font-face {
- font-family: 'Merriweather';
- font-style: italic;
- font-weight: 700;
- src: local('Merriweather Bold Italic'),url('@{FontPath}/merriweather/700i.woff') format('woff');
-}
-@font-face {
- font-family: 'Merriweather';
- font-style: normal;
- font-weight: 900;
- src: local('Merriweather Heavy'),url('@{FontPath}/merriweather/900.woff') format('woff');
-}
-@font-face {
- font-family: 'Merriweather';
- font-style: italic;
- font-weight: 900;
- src: local('Merriweather Heavy Italic'),url('@{FontPath}/merriweather/900i.woff') format('woff');
-}
-@font-face {
- font-family: 'Open Sans';
- font-style: normal;
- font-weight: 300;
- src: local('Open Sans Light'),url('@{FontPath}/opensans/300.woff') format('woff');
-}
-@font-face {
- font-family: 'Open Sans';
- font-style: italic;
- font-weight: 300;
- src: local('Open Sans Light Italic'),url('@{FontPath}/opensans/300i.woff') format('woff');
-}
-@font-face {
- font-family: 'Open Sans';
- font-style: normal;
- font-weight: 400;
- src: local('Open Sans Regular'),url('@{FontPath}/opensans/400.woff') format('woff');
-}
-@font-face {
- font-family: 'Open Sans';
- font-style: italic;
- font-weight: 400;
- src: local('Open Sans Italic'),url('@{FontPath}/opensans/400i.woff') format('woff');
-}
-@font-face {
- font-family: 'Open Sans';
- font-style: normal;
- font-weight: 600;
- src: local('Open Sans Semibold'),url('@{FontPath}/opensans/600.woff') format('woff');
-}
-@font-face {
- font-family: 'Open Sans';
- font-style: italic;
- font-weight: 600;
- src: local('Open Sans Semibold Italic'),url('@{FontPath}/opensans/600i.woff') format('woff');
-}
-@font-face {
- font-family: 'Open Sans';
- font-style: normal;
- font-weight: 700;
- src: local('Open Sans Bold'),url('@{FontPath}/opensans/700.woff') format('woff');
-}
-@font-face {
- font-family: 'Open Sans';
- font-style: italic;
- font-weight: 700;
- src: local('Open Sans Bold Italic'),url('@{FontPath}/opensans/700i.woff') format('woff');
-} \ No newline at end of file
diff --git a/theme/stylesheets/website/variables.less b/theme/stylesheets/website/variables.less
index 0d79733..4bd7e71 100644
--- a/theme/stylesheets/website/variables.less
+++ b/theme/stylesheets/website/variables.less
@@ -95,8 +95,8 @@
@border-radius-small: 1px;
// Fonts
-@font-family-serif: "Merriweather", Georgia, serif;
-@font-family-sans: "Open Sans", "Clear Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
+@font-family-serif: Georgia, serif;
+@font-family-sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
@font-family-base: @font-family-sans;
@headings-font-family: inherit;