Skip to content

Commit 994555f

Browse files
committed
Style updates
1 parent 55d3be1 commit 994555f

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

website/static/sphinx.css

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
@import url("default.css");
22

3+
/* These style tweaks are probably going to turn out to be a little fragile.
4+
They're currently based on the default theme from sphinx 1.0.7.
5+
*/
6+
37
div.body h1,
48
div.body h2,
59
div.body h3,
@@ -9,6 +13,7 @@ div.body h6,
913
div.sphinxsidebar h3,
1014
div.sphinxsidebar h4 {
1115
font-weight: bold;
16+
border-bottom: none;
1217
}
1318

1419
pre {
@@ -29,4 +34,24 @@ div.body p, div.body dd, div.body li {
2934

3035
th.field-name {
3136
background: #fff;
37+
}
38+
39+
/* "related" = top header */
40+
div.related {
41+
position: fixed;
42+
}
43+
44+
/* body settings copied from div.sphinxsidebar so following a link to a
45+
specific object positions that object below the fixed header */
46+
div.body {
47+
top: 30px;
48+
bottom: 0;
49+
margin: 0;
50+
position: fixed;
51+
overflow: auto;
52+
height: auto;
53+
}
54+
55+
div.related, div.sphinxsidebar {
56+
font-family: Calibri, sans-serif;
3257
}

0 commit comments

Comments
 (0)