summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorg Kunz <georg.kunz@ericsson.com>2017-10-07 01:43:49 +0200
committerSofia Wallin <sofia.wallin@ericsson.com>2017-10-10 11:32:17 +0000
commit94cc9cc25449b3098a61a83198770d46dccaaba1 (patch)
treeea2bb9f58936f0dcb9abb8c4c7c13688d9ed41f0
parentdb6085205c6dc9a52661dcb25f28e6014873da7a (diff)
Enabling custom style overrides and introducing green links
There is a style-sheet in the docs repo which is supposed to customize the default style, but which was actually never applied. This patchset enables custom overrides of the default style. As one of the custom style changes, this patchset changes the color of hyperlinks to the same green used on www.opnfv.org. Change-Id: I3c8a59e7f0beaf0150915941730f68071a40330a Signed-off-by: Georg Kunz <georg.kunz@ericsson.com> (cherry picked from commit 9b153bc8882ad8b4bd52ff7a412118dd48c06d63)
-rw-r--r--docs/_static/my-styles.css20
-rw-r--r--docs/_templates/layout.html2
2 files changed, 13 insertions, 9 deletions
diff --git a/docs/_static/my-styles.css b/docs/_static/my-styles.css
index 94e72cdb7..af7619a13 100644
--- a/docs/_static/my-styles.css
+++ b/docs/_static/my-styles.css
@@ -1,20 +1,24 @@
-body{
+body {
font-family:"Arial", Helvetica, sans-serif;
}
+body a {
+ color: #27CCC0;
+}
+
+body a:hover {
+ color: #676767;
+}
+
.navbar-brand img {
- height: 200%;
- margin-top: -5%;
+ height: 200%;
+ margin-top: -5%;
}
.navbar, h1, h2, h3, h4, h5, h6 {
font-family: "Arial",sans-serif;
}
-.navbar-fixed-top {
- top: 10px
-}
-
.navbar-text{
color: #676767;
}
@@ -25,4 +29,4 @@ body{
.navbar-form .form-control{
width: 150px;
-} \ No newline at end of file
+}
diff --git a/docs/_templates/layout.html b/docs/_templates/layout.html
index 08baa3ec5..975cd9813 100644
--- a/docs/_templates/layout.html
+++ b/docs/_templates/layout.html
@@ -2,4 +2,4 @@
{% extends "!layout.html" %}
{# Custom CSS overrides #}
-{% set bootswatch_css_custom = ['_static/my-styles.css'] %} \ No newline at end of file
+{% set css_files = css_files + ['_static/my-styles.css'] %}