Browse Source

Increase docs base `font-weight` to 400.

Fix #433.
pull/437/head
XhmikosR 11 years ago
parent
commit
e336aea053
  1. 2
      docs/_includes/header.html
  2. 8
      docs/assets/css/docs.css
  3. 2
      docs/assets/css/docs.min.css
  4. 8
      sass/docs.scss

2
docs/_includes/header.html

@ -9,7 +9,7 @@
<meta name="apple-mobile-web-app-status-bar-style" content="black"> <meta name="apple-mobile-web-app-status-bar-style" content="black">
<!-- Google Web Fonts --> <!-- Google Web Fonts -->
<link rel="stylesheet" href="//fonts.googleapis.com/css?family=Roboto:400,500,700|Open+Sans:300"> <link rel="stylesheet" href="//fonts.googleapis.com/css?family=Roboto:400,500,700|Open+Sans:400">
<link rel="stylesheet" href="/dist/css/ratchet.min.css"> <link rel="stylesheet" href="/dist/css/ratchet.min.css">
<link rel="stylesheet" href="/assets/css/docs.min.css"> <link rel="stylesheet" href="/assets/css/docs.min.css">

8
docs/assets/css/docs.css

@ -16,7 +16,7 @@ body {
body { body {
position: relative !important; position: relative !important;
font: 300 14px/1.5 "Open Sans", sans-serif; font: 400 14px/1.5 "Open Sans", sans-serif;
color: #333; color: #333;
background-color: #fff; background-color: #fff;
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;
@ -32,7 +32,7 @@ body {
} }
} }
.docs-content h1, .docs-content h2, .docs-content h3, .docs-content h4, .docs-content h5, .docs-content h6 { .docs-content h1, .docs-content h2, .docs-content h3, .docs-content h4, .docs-content h5, .docs-content h6 {
font-weight: 300; font-weight: 400;
color: #222; color: #222;
} }
.docs-content h2 { .docs-content h2 {
@ -120,7 +120,7 @@ body {
left: 50%; left: 50%;
margin-bottom: 0; margin-bottom: 0;
font-size: 22px; font-size: 22px;
font-weight: 300; font-weight: 400;
z-index: 20; z-index: 20;
-webkit-transform: translateX(-50%); -webkit-transform: translateX(-50%);
-ms-transform: translateX(-50%); -ms-transform: translateX(-50%);
@ -403,7 +403,7 @@ body {
.docs-sub-content .page-description { .docs-sub-content .page-description {
margin-top: 0; margin-top: 0;
margin-bottom: 0; margin-bottom: 0;
font-weight: 300; font-weight: 400;
} }
.docs-sub-content .page-title { .docs-sub-content .page-title {
font-size: 40px; font-size: 40px;

2
docs/assets/css/docs.min.css vendored

File diff suppressed because one or more lines are too long

8
sass/docs.scss

@ -14,7 +14,7 @@ body {
} }
body { body {
position: relative !important; // Overrides the fixed positioning of body in Ratchet position: relative !important; // Overrides the fixed positioning of body in Ratchet
font: 300 14px/1.5 "Open Sans", sans-serif; font: 400 14px/1.5 "Open Sans", sans-serif;
color: #333; color: #333;
background-color: #fff; background-color: #fff;
-webkit-font-smoothing: antialiased; // Fix for webkit rendering -webkit-font-smoothing: antialiased; // Fix for webkit rendering
@ -34,7 +34,7 @@ body {
} }
h1, h2, h3, h4, h5, h6 { h1, h2, h3, h4, h5, h6 {
font-weight: 300; font-weight: 400;
color: #222; color: #222;
} }
h2 { h2 {
@ -125,7 +125,7 @@ body {
left: 50%; left: 50%;
margin-bottom: 0; margin-bottom: 0;
font-size: 22px; font-size: 22px;
font-weight: 300; font-weight: 400;
z-index: 20; z-index: 20;
@include transform(translateX(-50%)); @include transform(translateX(-50%));
} }
@ -406,7 +406,7 @@ body {
.page-description { .page-description {
margin-top: 0; margin-top: 0;
margin-bottom: 0; margin-bottom: 0;
font-weight: 300; font-weight: 400;
} }
.page-title { .page-title {
font-size: 40px; font-size: 40px;

Loading…
Cancel
Save