summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@open-infrastructure.net>2020-06-20 18:17:19 +0000
committerDaniel Baumann <daniel.baumann@open-infrastructure.net>2020-06-21 11:25:27 +0000
commitedf253c8d5ae06eba8bb5d5a8cd4c2b188770e4c (patch)
tree8c86927c7c006a1d2a07a55a92245d0738903cb0
parentAdding bootstrap starter-template example. (diff)
downloadhtml-template-edf253c8d5ae06eba8bb5d5a8cd4c2b188770e4c.tar.xz
html-template-edf253c8d5ae06eba8bb5d5a8cd4c2b188770e4c.zip
Adding static: local CSS/JS
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
-rw-r--r--_static/local/font.css23
-rw-r--r--_static/local/footer.css9
-rw-r--r--_static/local/table.js4
3 files changed, 36 insertions, 0 deletions
diff --git a/_static/local/font.css b/_static/local/font.css
new file mode 100644
index 0000000..4c9b109
--- /dev/null
+++ b/_static/local/font.css
@@ -0,0 +1,23 @@
+a.a-hover-red {
+ color: inherit;
+}
+
+a.a-hover-red:hover {
+ color: #cc0000 !important;
+ text-decoration: none;
+}
+
+html,
+body,
+.tooltip,
+.popover {
+ font-family: 'DejaVuSans';
+}
+
+pre,
+code,
+kbd,
+samp,
+.text-monospace {
+ font-family: 'DejaVuSansMono';
+}
diff --git a/_static/local/footer.css b/_static/local/footer.css
new file mode 100644
index 0000000..a604ff4
--- /dev/null
+++ b/_static/local/footer.css
@@ -0,0 +1,9 @@
+body {
+ padding-bottom: 0;
+}
+
+.footer {
+ padding: 2.5rem 0;
+ color: #999;
+ background-color: #212529;
+}
diff --git a/_static/local/table.js b/_static/local/table.js
new file mode 100644
index 0000000..469f3b7
--- /dev/null
+++ b/_static/local/table.js
@@ -0,0 +1,4 @@
+$(function() {
+ $("thead").addClass("thead-dark");
+ $("table").addClass("table table-striped table-bordered table-hover table-sm table-responsive");
+});