summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorSol Jerome <solj@ices.utexas.edu>2010-03-23 14:49:21 +0000
committerSol Jerome <solj@ices.utexas.edu>2010-03-25 17:19:43 -0500
commit08b6963f5511662441f43dfcc6d7df05fed8a9b0 (patch)
tree6586b12b7b80980061d9716277c2957bca425ab2 /doc
parent723f580e5ea060b87155110ca59c7443f270cbe3 (diff)
downloadbcfg2-08b6963f5511662441f43dfcc6d7df05fed8a9b0.tar.gz
bcfg2-08b6963f5511662441f43dfcc6d7df05fed8a9b0.tar.bz2
bcfg2-08b6963f5511662441f43dfcc6d7df05fed8a9b0.zip
doc: Add some color to html tables
Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5789 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'doc')
-rw-r--r--doc/_static/bcfg2.css34
-rw-r--r--doc/_templates/layout.html4
2 files changed, 38 insertions, 0 deletions
diff --git a/doc/_static/bcfg2.css b/doc/_static/bcfg2.css
new file mode 100644
index 000000000..425be5600
--- /dev/null
+++ b/doc/_static/bcfg2.css
@@ -0,0 +1,34 @@
+/* -- tables ---------------------------------------------------------------- */
+
+table.docutils {
+ border: 0 solid #dce;
+ border-collapse: collapse;
+}
+
+table.docutils td, table.docutils th {
+ padding: 2px 5px 2px 5px;
+ border-left: 0;
+ background-color: #bebebe;
+}
+
+table.field-list td, table.field-list th {
+ border: 0 !important;
+}
+
+table.footnote td, table.footnote th {
+ border: 0 !important;
+}
+
+table.docutils th {
+ border-top: 1px solid #2f4f4f;
+ background-color: #708090;
+}
+
+th {
+ text-align: left;
+ padding-right: 5px;
+}
+
+th.head {
+ text-align: center;
+}
diff --git a/doc/_templates/layout.html b/doc/_templates/layout.html
index ba51646be..eb9f5b821 100644
--- a/doc/_templates/layout.html
+++ b/doc/_templates/layout.html
@@ -1,5 +1,9 @@
{% extends "!layout.html" %}
+{% block extrahead %}
+{{ super() }}
+<link rel="stylesheet" href="{{pathto('_static/bcfg2.css', 1)}}" type=""/>
+{% endblock %}
{% block rootrellink %}
<li><a href="{{ pathto('index') }}">home</a> |&nbsp;</li>