Skip to content

Commit dcc663b

Browse files
committed
add custom CSS
1 parent 681b2b3 commit dcc663b

File tree

2 files changed

+20
-1
lines changed

2 files changed

+20
-1
lines changed

doc/.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
11
*.fig.bak
2-
_static/

doc/_static/css/custom.css

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
/* Center equations with equation numbers on the right */
2+
.math {
3+
text-align: center;
4+
}
5+
.eqno {
6+
float: right;
7+
}
8+
9+
/* Make code blocks show up in in dark grey, rather than RTD default (red) */
10+
code.literal {
11+
color: #404040 !important;
12+
}
13+
/* Make py:obj objects non-bold by default */
14+
.py-obj .pre {
15+
font-weight: normal;
16+
}
17+
/* Turn bold back on for py:obj objects that actually link to something */
18+
a .py-obj .pre {
19+
font-weight: bold;
20+
}

0 commit comments

Comments
 (0)