From f26bdd7bbfe02bc7007974b902e89943dcb2ef61 Mon Sep 17 00:00:00 2001 From: ShubhamRathi Date: Thu, 16 Mar 2017 02:48:37 +0530 Subject: [PATCH] CSS Changes to layout 1. Logo has been scaled up 2. Font has been defaulted to 'Arial' Change-Id: I7d729009649ba59394f5a78c6909b6af21bae0ab Signed-off-by: ShubhamRathi (cherry picked from commit 6e4ba246bfa93f285cabd242d392dccfbaee03ce) --- docs/_static/my-styles.css | 20 ++++++++++++++++++++ docs/_templates/layout.html | 5 +++++ docs/conf.py | 2 +- 3 files changed, 26 insertions(+), 1 deletion(-) create mode 100644 docs/_static/my-styles.css create mode 100644 docs/_templates/layout.html diff --git a/docs/_static/my-styles.css b/docs/_static/my-styles.css new file mode 100644 index 000000000..86e7ea822 --- /dev/null +++ b/docs/_static/my-styles.css @@ -0,0 +1,20 @@ +body{ + font-family:"Arial", Helvetica, sans-serif; +} + +.navbar-brand img { + 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; +} \ No newline at end of file diff --git a/docs/_templates/layout.html b/docs/_templates/layout.html new file mode 100644 index 000000000..08baa3ec5 --- /dev/null +++ b/docs/_templates/layout.html @@ -0,0 +1,5 @@ +{# Import the theme's layout. #} +{% extends "!layout.html" %} + +{# Custom CSS overrides #} +{% set bootswatch_css_custom = ['_static/my-styles.css'] %} \ No newline at end of file diff --git a/docs/conf.py b/docs/conf.py index 3060d82a1..5cf18ddf3 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -31,7 +31,7 @@ source_suffix = '.rst' master_doc = 'index' # General information about the project. -project = 'Documentation' +project = '' copyright = '2017, OPNFV. Licensed under CC BY 4.0' author = 'Open Platform for NFV' -- 2.16.6