Commit 10d45073 authored by Rene Saarsoo's avatar Rene Saarsoo
Browse files

Switch from Typekit to Google Web Fonts.

I picked a font in Google Web Fonts that looks most like the klavika-web
from Typekit.  Only a designer will note the difference.

The whole Typekit experience kind of sucked:

- The site was down from time-to-time.
- The font was only available for sencha.com, so anybody generating
  their own docs with JSDuck would not get the nice fonts.  Also the
  docs withing ExtJS download didn't have the nice font.  etc.
- Recently the font also stopped working from localhost.
- The JavaScript for adding this *one* font was needlessly big, with
  Google Web Fonts it's just one <link> element.
parent 2d8bae61
Loading
Loading
Loading
Loading
+3 −4
Original line number Diff line number Diff line
@@ -9,18 +9,17 @@
#center-container {
  h1 {
    font-family: $docs-heading-font;
    letter-spacing: -1px;
    padding-bottom: 5px;
    padding-top: 2px;
    border-bottom: 1px #f1f1f1;
    font-size: 2.3em;
    font-size: 2em;
    color: #66ab16;

    // Icons for different class types
    .class-source-link {
      color: #66ab16; // Same color as h1 itself
      margin-left: -3px;
      padding: 0.1em 0 0.4em 2em; }
      padding: 0.1em 0 0.4em 2.3em; }
    &.class .class-source-link {
      background: url(../images/class-m.png) no-repeat 0 -5px; }
    &.component .class-source-link {
@@ -33,7 +32,7 @@
      color: #929292;
      letter-spacing: 0;
      margin-left: 10px;
      font-size: 0.6em; }
      font-size: 0.5em; }

    // View source... tooltip when hovering class name
    span.class-source-tip {
+2 −2
Original line number Diff line number Diff line
@@ -58,9 +58,9 @@ $link-color: #126499;
    line-height: 1.0em;
    margin-top: 60px;
    margin-bottom: 8px;
    font-size: 28px;
    font-size: 25px;
    font-weight: normal;
    font-family: "klavika-web-1", "klavika-web-2", sans-serif;
    font-family: $docs-heading-font;
    font-weight: normal;
  }

+1 −2
Original line number Diff line number Diff line
@@ -6,9 +6,8 @@
  h1 {
    padding: 10px 0;
    font-family: $docs-heading-font;
    letter-spacing: -1px;
    margin-bottom: 16px;
    font-size: 2.3em;
    font-size: 2em;
    color: #66ab16; }
  p {
    margin: 0 0 0.8em; } }
+1 −1
Original line number Diff line number Diff line
@@ -7,6 +7,6 @@ $docs-border-color: #bfbfbf;

// Fonts
$docs-font: "Helvetica Neue", "Helvetica", "Arial", "Lucida Grande", sans-serif;
$docs-heading-font: "klavika-web-1", "klavika-web-2", sans-serif;
$docs-heading-font: "Exo", sans-serif;
$docs-monospace-font: "Menlo", "Courier New", "Courier", monospace;
+1 −2
Original line number Diff line number Diff line
@@ -103,9 +103,8 @@
    background: url(../images/doc-m.png) no-repeat -5px -5px;
    padding: 10px 0 10px 55px;
    font-family: $docs-heading-font;
    letter-spacing: -1px;
    margin-bottom: 16px;
    font-size: 2.3em;
    font-size: 2em;
    color: #66ab16; }
  h2 {
    @include guides-h2-heading; }
Loading