summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2012-12-27 22:39:54 -0600
committerDan McGee <dan@archlinux.org>2012-12-27 22:39:54 -0600
commit0a501af0801a8809683c1931d6a1a18ddd863545 (patch)
tree788a2f5d3fe182f5216c102538e8b4a50b32ca04
parentc4d05ebaf17607de64dcbc7887f2edbac083f704 (diff)
downloadarchweb-0a501af0801a8809683c1931d6a1a18ddd863545.tar.gz
archweb-0a501af0801a8809683c1931d6a1a18ddd863545.zip
Ensure cascades in padding CSS happen correctly
Some of the base CSS styles were a bit too specific, causing certain overrides to not take effect. Loosen the specifications a bit so styles are easier to override. Signed-off-by: Dan McGee <dan@archlinux.org>
-rw-r--r--sitestatic/archweb.css20
1 files changed, 10 insertions, 10 deletions
diff --git a/sitestatic/archweb.css b/sitestatic/archweb.css
index 45029f10..6d6e1569 100644
--- a/sitestatic/archweb.css
+++ b/sitestatic/archweb.css
@@ -267,13 +267,13 @@ table.pretty1 {
border: 1px solid #bcd;
}
- table.pretty1 th {
+ .pretty1 th {
padding: 0.35em;
background: #e4eeff;
border: 1px solid #bcd;
}
- table.pretty1 td {
+ .pretty1 td {
padding: 0.35em;
border: 1px dotted #bcd;
}
@@ -286,13 +286,13 @@ table.pretty2 {
border: 1px solid #bbb;
}
- table.pretty2 th {
+ .pretty2 th {
padding: 0.35em;
background: #eee;
border: 1px solid #bbb;
}
- table.pretty2 td {
+ .pretty2 td {
padding: 0.35em;
border: 1px dotted #bbb;
}
@@ -301,7 +301,7 @@ table.compact {
width: auto;
}
- table.compact td {
+ .compact td {
padding: 0.25em 0 0.25em 1.5em;
}
@@ -666,26 +666,26 @@ table.results {
border-bottom: 1px dotted #999;
}
- table.results th {
+ .results th {
padding: 0.5em 1em 0.25em 0.25em;
border-bottom: 1px solid #999;
white-space: nowrap;
background-color:#fff;
}
- table.results td {
+ .results td {
padding: .3em 1em .3em 3px;
}
- table.results tr.odd {
+ .results tr.odd {
background: #fff;
}
- table.results tr.even {
+ .results tr.even {
background: #e4eeff;
}
- table.results .flagged {
+ .results .flagged {
color: red;
}