summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Zimniewicz <michzimny@gmail.com>2018-02-03 23:18:48 +0100
committerMichal Zimniewicz <michzimny@gmail.com>2018-02-03 23:20:44 +0100
commit179574d7d2ee03d9d7cfa9f37ad62e96fcbd4656 (patch)
tree5dfc6a9671f67563409519713419259929ba5f3f
parentdde71870a6e65427db72bc550c4e795b1d29a5d7 (diff)
move inline style to .css
-rw-r--r--css/tdd.css4
-rw-r--r--tdd-bootstrap.php2
2 files changed, 5 insertions, 1 deletions
diff --git a/css/tdd.css b/css/tdd.css
index 94ee73b..3ebce4f 100644
--- a/css/tdd.css
+++ b/css/tdd.css
@@ -1,3 +1,7 @@
+body > table > tbody > tr.tdd-header > td {
+ border-bottom: 1px solid #006;
+ padding-top: 30px;
+}
body > table > tbody > tr {
opacity: 0.2
}
diff --git a/tdd-bootstrap.php b/tdd-bootstrap.php
index 79320b6..9f874a3 100644
--- a/tdd-bootstrap.php
+++ b/tdd-bootstrap.php
@@ -53,7 +53,7 @@ class Protocol {
$insert .= '<p>...</p>';
}
- $tr->outertext = '<tr class="tdd-header"><td colspan="7" style="border-bottom:1px solid #006;padding-top:30px;">' . $insert . '</td></tr>' . $tr->outertext;
+ $tr->outertext = '<tr class="tdd-header"><td colspan="7">' . $insert . '</td></tr>' . $tr->outertext;
}
$tr = @$tr->next_sibling();
}