Small fixes to styling of sphinx docs

This commit is contained in:
Yorik van Havre 2013-08-18 16:56:30 -03:00
parent 96ab84c1dc
commit cbc45d7a82
2 changed files with 14 additions and 7 deletions

View File

@ -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 {

View File

@ -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,