diff css/mpiwg.css @ 66:68b3d71eed27

formatting for preprint list. javascript for foldable divs.
author casties
date Fri, 03 May 2013 22:10:10 +0200
parents 63184d71c014
children e5d722305380
line wrap: on
line diff
--- a/css/mpiwg.css	Fri May 03 18:23:01 2013 +0200
+++ b/css/mpiwg.css	Fri May 03 22:10:10 2013 +0200
@@ -479,7 +479,7 @@
 
 div.tool.box div.searchbox input.text {
     height: 20px;
-    width: 380px;
+    width: 370px;
     background-color: #9fa0a7;
     color: white;
     font-size: 14px;
@@ -697,6 +697,12 @@
     height: 87px;
 }
 
+div.row.triple div.mini.source div.thumb img {
+    /* thumb size for sources given by digilib */
+    width: auto;
+    height: auto;
+}
+
 div.mini div.type {
     color: #9f917a;
     margin-top: 0.5em;
@@ -761,6 +767,62 @@
     line-height: 1.5;
 }
 
+/*
+ * table with articles
+ */
+table.articles {
+    /* no space between cells */
+    border-collapse: collapse;
+}
+
+table.articles td {
+    vertical-align: top;
+    text-align: left;
+    line-height: 1.5;
+    padding: 1em 0.5em 0.5em 0;
+}
+table.articles td:last-child {
+    padding-right: 0;
+}
+
+table.articles th {
+    font-family: Georgia, Times, serif;
+    font-size: 16px;
+    font-weight: normal;
+    font-style: italic;
+    color: #887163;
+    text-align: left;
+    border-bottom: 3px solid #dccbae;
+}
+
+table.articles tr.abstract td {
+    /* abstract has no padding-top */
+    padding: 0 0 0.5em 0;
+}
+
+table.articles td.line {
+    border-bottom: 1px solid #dccbae;
+}
+
+table.articles h3.fold_head {
+    font-size: 12px;
+    background-color: #f6f2eb;
+    padding: 3px;
+}
+
+table.articles h3.fold_head img {
+    margin: 0 5px 0 3px;
+}
+
+table.articles div.fold_body {
+    padding: 0.5em 0 0 20px;
+}
+
+.foldable img.fold_closed {
+    /* fold is initially open */
+    display: none;
+}
+
 /* 
  * sidebar 
  */
@@ -791,6 +853,12 @@
     border-bottom: 1px solid #dccbae;
 }
 
+/* like sidebar without line */
+div.sidebox {
+    width: 220px;
+    padding: 0 0 20px 0;
+}
+
 /*
  * footer
  */