summaryrefslogtreecommitdiff
path: root/local.css
diff options
context:
space:
mode:
authorThomas Schwinge <tschwinge@gnu.org>2008-11-11 01:57:49 +0100
committerThomas Schwinge <tschwinge@gnu.org>2008-11-11 01:57:49 +0100
commit79bbf399ff5d6a9ae966f0a9b2795fb029c0b79b (patch)
tree2a1a80f6093001fc2d981e8b0964f86e4713bee9 /local.css
parentc9e4724eff28620efd982939c10c6d844062f5eb (diff)
CSS magic for news items. Thanks to Arne Babenhauserheide for a hint.
Diffstat (limited to 'local.css')
-rw-r--r--local.css31
1 files changed, 31 insertions, 0 deletions
diff --git a/local.css b/local.css
index 4b631f8e..032d7de5 100644
--- a/local.css
+++ b/local.css
@@ -129,6 +129,37 @@ pre
margin-right: auto;
}
+/* News items on the front page. */
+.newsitem
+{
+ border: 1px solid black;
+}
+.newsitem + .newsitem
+{
+ /* TODO: Why doesn't this work as I want it to work? */
+// border-top-style: none;
+}
+.newsitemheader
+{
+ max-width: 30%;
+ float: left;
+ margin-right: 10px;
+}
+.newsitem .header,
+.newsitem .author
+{
+ font-size: medium;
+}
+.newsitem .actions ul
+{
+ padding: 0;
+ border-bottom: 0;
+}
+.newsitem .actions li
+{
+ display: block;
+}
+
.table_style_1
{
text-align: left;