diff --git a/docs/_layouts/home.html b/docs/_layouts/home.html index 245497d..f035f1f 100644 --- a/docs/_layouts/home.html +++ b/docs/_layouts/home.html @@ -23,12 +23,6 @@ a { background-color: white; color: #06e8a4; - padding: 10px; - text-decoration: none; - border-radius: 2px; - - margin: 10px; - transition: background-color .25s; } a:hover { @@ -40,10 +34,10 @@

Abacus

The programmer's calculator

- Download - Learn More - Contribute - Wiki + Download + Learn More + Contribute + Wiki
diff --git a/docs/assets/css/main.scss b/docs/assets/css/main.scss index cd35363..1750cec 100644 --- a/docs/assets/css/main.scss +++ b/docs/assets/css/main.scss @@ -2,15 +2,46 @@ --- @import url('https://fonts.googleapis.com/css?family=Source+Code+Pro|Open+Sans|Raleway'); -$background-color: #06e8a4; +$background-color: #19d69e; $code-color: #efefef; $accent-color: #00AFE8; $clear-color: white; $title-font: "Open Sans"; -$text-font: Raleway; +$text-font: Helvetica; $code-font: "Source Code Pro"; $max-width: 850px; +a { + text-decoration: none; + color: $background-color; + + &.button { + background-color: $background-color; + color: $clear-color; + padding: 10px; + text-decoration: none; + border-radius: 2px; + + margin: 10px; + transition: background-color .25s; + + &:hover { + background-color: $clear-color; + color: $background-color; + } + + &.inverted { + background-color: $clear-color; + color: $background-color; + + &:hover { + background-color: $background-color; + color: $clear-color; + } + } + } +} + h1, h2, h3, h4, h5, h6 { font: { family: $title-font;