summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorg Kunz <georg.kunz@ericsson.com>2017-10-07 01:43:49 +0200
committerGeorg Kunz <georg.kunz@ericsson.com>2017-10-23 17:26:16 +0200
commit3f1a6971c04ae31f78866cea39e92b6098f9553a (patch)
tree8b2ff7535fcddb0df2c1a7aeb42020bc73ab6710
parentd93289fdf9530dfb8213aa96ea72f991b4761544 (diff)
Applying OPNFV style also to stable/danube branch
This patchset applies the OPNFV-like style to the documentation in the stable/danube branch. 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 and increases the fontsize to 16px. It also alignes the font families used by just sticking to Helvetica. Change-Id: I9736ec1109ba272104f861758fd7215124dc631b Signed-off-by: Georg Kunz <georg.kunz@ericsson.com>
-rw-r--r--docs/_static/my-styles.css25
-rw-r--r--docs/_templates/layout.html2
2 files changed, 16 insertions, 11 deletions
diff --git a/docs/_static/my-styles.css b/docs/_static/my-styles.css
index 94e72cdb7..8feb45bfd 100644
--- a/docs/_static/my-styles.css
+++ b/docs/_static/my-styles.css
@@ -1,18 +1,23 @@
-body{
- font-family:"Arial", Helvetica, sans-serif;
+body {
+ font-family: Helvetica, sans-serif;
+ font-size: 16px;
}
-.navbar-brand img {
- height: 200%;
- margin-top: -5%;
+body a {
+ color: #27CCC0;
}
-.navbar, h1, h2, h3, h4, h5, h6 {
- font-family: "Arial",sans-serif;
+body a:hover {
+ color: #676767;
+}
+
+.navbar-brand img {
+ height: 200%;
+ margin-top: -5%;
}
-.navbar-fixed-top {
- top: 10px
+.navbar, h1, h2, h3, h4, h5, h6 {
+ font-family: Helvetica, sans-serif;
}
.navbar-text{
@@ -25,4 +30,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'] %}