diff options
author | Achilleas Pipinellis <axil@gitlab.com> | 2017-09-08 18:55:43 +0300 |
---|---|---|
committer | Achilleas Pipinellis <axil@gitlab.com> | 2017-09-08 18:55:43 +0300 |
commit | 86d743b5bf439aa96f8e8f6ddc1a6e9e9e8723d6 (patch) | |
tree | 628d73deef3aa26d0a55302286740d610d0640a9 | |
parent | 21c5f9c30d6e04378b5f0a16d473483f91f06568 (diff) | |
parent | 63ac39988f6b869c99bdf488450f504259bedfbc (diff) |
Merge branch 'rm-body-bg-color' into 'master'
Make pages more readable
See merge request !127
-rw-r--r-- | content/assets/stylesheets/_variables.scss | 4 | ||||
-rw-r--r-- | content/assets/stylesheets/stylesheet.scss | 3 | ||||
-rw-r--r-- | content/assets/stylesheets/toc.scss | 13 |
3 files changed, 10 insertions, 10 deletions
diff --git a/content/assets/stylesheets/_variables.scss b/content/assets/stylesheets/_variables.scss index 1232c71b..a0680c9b 100644 --- a/content/assets/stylesheets/_variables.scss +++ b/content/assets/stylesheets/_variables.scss @@ -10,8 +10,8 @@ $sans-font-family: "Open Sans", "Source Sans Pro", sans-serif; $body-font-size: 15px; // Link colors -$link-color: #3084bb; -$link-color-hover: #20597e; +$link-color: rgb(32, 137, 196); +$link-color-hover: rgb(79, 172, 225); $link-code-color: rgb(55, 119, 176); // Inline code colors diff --git a/content/assets/stylesheets/stylesheet.scss b/content/assets/stylesheets/stylesheet.scss index 9ae7b5b5..271f4bcf 100644 --- a/content/assets/stylesheets/stylesheet.scss +++ b/content/assets/stylesheets/stylesheet.scss @@ -1,5 +1,5 @@ --- -version: 19 +version: 20 --- @import "variables"; @@ -20,7 +20,6 @@ body { a, a:visited { text-decoration: none; - color: $link-color; &:hover { color: $link-color-hover; diff --git a/content/assets/stylesheets/toc.scss b/content/assets/stylesheets/toc.scss index 9f7b8f20..040f6a48 100644 --- a/content/assets/stylesheets/toc.scss +++ b/content/assets/stylesheets/toc.scss @@ -6,8 +6,9 @@ version: 2 // ToC styles .breadcrumbs + ul, .doc-nav > ul, .quick-nav ul { - padding: 20px; background: $body-background-color; + padding: 20px; + margin-top: 60px; li { list-style: none; @@ -22,7 +23,10 @@ version: 2 .doc-nav, .quick-nav { h4 { padding-bottom: 5px; - border-bottom: solid 1px $h1-border-bottom; + } + + li > a { + font-size: 14px; } } @@ -41,8 +45,6 @@ version: 2 } .doc-nav > ul { - border-bottom: 2px solid $thead-border-color; - border-top: 2px solid $thead-border-color; margin: 0; } @@ -58,7 +60,6 @@ version: 2 } } - // wide enough to show toc but not quick nav @media(min-width:1100px) { .header { @@ -93,6 +94,7 @@ version: 2 width: 25%; } } + @media(min-width:1100px) and (max-width:1600px) { .quick-nav { display: none; @@ -110,7 +112,6 @@ version: 2 } } - // wide enough to show quick nav and toc @media(min-width:1601px) { .main.class.has-toc { |