From cbc45d7a82f0c5fe107f33a303638d5f5f222c40 Mon Sep 17 00:00:00 2001 From: Yorik van Havre Date: Sun, 18 Aug 2013 16:56:30 -0300 Subject: [PATCH] Small fixes to styling of sphinx docs --- src/Doc/sphinx/_static/freecad.css | 19 +++++++++++++------ src/Doc/sphinx/conf.py | 2 +- 2 files changed, 14 insertions(+), 7 deletions(-) diff --git a/src/Doc/sphinx/_static/freecad.css b/src/Doc/sphinx/_static/freecad.css index 4f78bb38e..f7a7e94a7 100644 --- a/src/Doc/sphinx/_static/freecad.css +++ b/src/Doc/sphinx/_static/freecad.css @@ -1,5 +1,7 @@ /* FreeCAD sphinx CSS file */ +@import url("/freecad.css"); + body { background: #191b26; background-attachment: fixed; @@ -31,12 +33,8 @@ a.headerlink { h1 { font-size: 24px; - font-weight: bold; - margin: 0; - background: url("/images/freecad.png") top left no-repeat; - color: #000; - padding-left: 40px; - border-bottom: 1px solid #444; + letter-spacing: 1px; + border-bottom: 1px solid #888; } h2 { @@ -44,6 +42,10 @@ h2 { margin: 30px 0 0 0; } +ul { + margin: 0px 0px 0px; +} + .document { background-color: #eee; display: table; @@ -86,6 +88,11 @@ h2 { padding: 10px; } +.footer { + background: transparent; + color: #aaa; +} + @media print { .document { diff --git a/src/Doc/sphinx/conf.py b/src/Doc/sphinx/conf.py index 52c32f05d..838eb45bf 100644 --- a/src/Doc/sphinx/conf.py +++ b/src/Doc/sphinx/conf.py @@ -160,7 +160,7 @@ html_title = "FreeCAD API documentation" # The name of an image file (within the static path) to use as favicon of the # docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32 # pixels large. -html_favicon = None +html_favicon = "../images/favicon.ico" # Add any paths that contain custom static files (such as style sheets) here, # relative to this directory. They are copied after the builtin static files,