summaryrefslogtreecommitdiffstats
path: root/userContent
diff options
context:
space:
mode:
Diffstat (limited to 'userContent')
-rw-r--r--userContent/static/style.css12
1 files changed, 12 insertions, 0 deletions
diff --git a/userContent/static/style.css b/userContent/static/style.css
index e28cb94e..fb9b8192 100644
--- a/userContent/static/style.css
+++ b/userContent/static/style.css
@@ -129,6 +129,7 @@ h3 {
}
table {
+ counter-reset: rowNumber; /* used for automatic row count with CSS */
border: 1px solid #ddd;
border-radius: 0.5em;
border-collapse: collapse;
@@ -161,6 +162,17 @@ tr:nth-child(odd) {
background-color: #fafafa;
}
+/* automatic row count with CSS */
+table.scheduled tr:not(:first-child) {
+ counter-increment: rowNumber;
+}
+table.scheduled tr td:first-child::before {
+ content: counter(rowNumber);
+ min-width: 1em;
+ margin-right: 0.5em;
+}
+/* end automatic row count with CSS */
+
a.bug-patch:after {
content: "+";
color: red;