Commit 2c55bfc3 authored by Rene Saarsoo's avatar Rene Saarsoo
Browse files

Add $docs-heading-color variable to stylesheet.

Replacing the magic color value scattered around in code.
parent b4d09980
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -13,11 +13,11 @@
    padding-top: 2px;
    border-bottom: 1px #f1f1f1;
    font-size: 2em;
    color: #66ab16;
    color: $docs-heading-color;

    // Icons for different class types
    .class-source-link {
      color: #66ab16; // Same color as h1 itself
      color: $docs-heading-color;
      margin-left: -3px;
      padding: 0.1em 0 0.4em 2.3em; }
    &.class .class-source-link {
+1 −1
Original line number Diff line number Diff line
@@ -307,7 +307,7 @@ $moderator-color-light: #94b773;
  h1 a:hover {
    @include opacity(0.7); }
  h1 a.selected {
    color: #66ab16; } }
    color: $docs-heading-color; } }


// Table with top-voted users
+1 −2
Original line number Diff line number Diff line
@@ -8,7 +8,6 @@
    font-family: $docs-heading-font;
    margin-bottom: 16px;
    font-size: 2em;
    color: #66ab16; }
    color: $docs-heading-color; }
  p {
    margin: 0 0 0.8em; } }
+1 −1
Original line number Diff line number Diff line
@@ -4,9 +4,9 @@ $docs-text-color: #484848;
$docs-link-color: #083772;
$docs-link-hover-color: #0464BB;
$docs-border-color: #bfbfbf;
$docs-heading-color: #66ab16;

// Fonts
$docs-font: "Helvetica Neue", "Helvetica", "Arial", "Lucida Grande", sans-serif;
$docs-heading-font: "Exo", sans-serif;
$docs-monospace-font: "Menlo", "Courier New", "Courier", monospace;
+1 −1
Original line number Diff line number Diff line
@@ -105,7 +105,7 @@
    font-family: $docs-heading-font;
    margin-bottom: 16px;
    font-size: 2em;
    color: #66ab16; }
    color: $docs-heading-color; }
  h2 {
    @include guides-h2-heading; }
  h3 {