Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-docs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--content/assets/stylesheets/_variables.scss4
-rw-r--r--content/assets/stylesheets/stylesheet.scss3
-rw-r--r--content/assets/stylesheets/toc.scss13
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 {