Add CSS to style the diff viewer.
[matthijs/projects/wipi.git] / static / exodus / css / screen.css
index 0fb84e8133f91fcb339e1b46f6a9e4c0990a626a..bf50b2edca7523fa6edcda95798fe040e9f938b6 100644 (file)
@@ -57,7 +57,7 @@ ul#menubar {
        list-style-type:none;
        list-style-position:outside;
        /* Set the font size to fit exactly */
-       font-size: 15px;
+       font-size: 12px;
        font-weight: bold;
 }
 
@@ -75,6 +75,11 @@ ul#menubar li a {
        text-decoration:none;
 }
 
+/* Give the menu bar links a hover color */
+ul#menubar li a:hover {
+       color:#FFD200;
+}
+
 #page, #footer{
        /* Center the page and footer, just like the header */
        width:1024px;
@@ -82,7 +87,70 @@ ul#menubar li a {
        margin-left: auto;
 }
 
-h1 { margin: 0; padding: 0; }
+
+#pagetop {
+       width: 694px;
+       height:39px;
+       background-image:url('../img/perkamentTop.gif');
+}
+
+#pagemiddle {
+       background-image:url('../img/perkamentCenter.gif');
+       background-repeat:repeat-y;
+       /* Force a new block-formatting context, to prevent any margins from
+        * content to stick out of this div, causing a gap between #pagetop
+        * and #pagemiddle */
+       overflow: hidden;
+       /* Indent the text a bit, so it skips the jagged edges of the
+        * background */
+       padding:0px 45px 0px 45px;
+       /* 694px image width minus two times 45px padding*/
+       width: 604px;
+       /* Set a font colour that's readable on the background image. We
+        * should really also set a background colour here (for when images
+        * are disabled), but it seems it's impossible to do that without the
+        * colour showing always */
+       color:#731E01;
+       font-weight:bold;
+}
+
+#pagemiddle h1,
+#pagemiddle h2,
+#pagemiddle h3 {
+       color:#3F3426;
+}
+
+#pagemiddle h1 {
+       font-size:17px;
+}
+#pagemiddle h2 {
+       font-size:15px;
+}
+
+#pagemiddle a, #pagemiddle a:visited {color: #9F2900;}
+#pagemiddle a:hover, #pagemiddle a:visited:hover {color: #ffd200;}
+
+table {
+       border:0px;
+}
+/*Vaardigheden table*/
+table.border td {
+       border:0px;
+       border-bottom:1px solid #5A1800;
+}
+/* Header row of vaardigheden table*/
+tr.kop1 {
+       background-color:#BEAA76;
+}
+
+tr.kop2 {
+       background-color:#F1E5CB;
+}
+#pagebottom {
+       width: 694px;
+       height:37px;
+       background-image:url('../img/perkamentBottom.gif');
+}
 
 #footer {
        /* Put a dotted line at the top of the footer */
@@ -163,7 +231,7 @@ h1 { margin: 0; padding: 0; }
 }
 
 .editbar li {
-    display: inline;
+ /*   display: inline;*/
     padding: 0;
     margin: 4px 6px;
 }
@@ -211,4 +279,30 @@ img.Decorative {
        border:3px double #cc8900;
 }
 
+/* Diff view, copied from modern/screen.css */
+.diff-header {
+    font-weight: bold;
+}
+
+.diff-title {
+    background-color: #C0C0C0;
+}
+
+.diff-added {
+    background-color: #E0FFE0;
+    vertical-align: sub;
+}
+
+.diff-removed {
+    background-color: #FFFFE0;
+    vertical-align: sub;
+}
+
+.diff-added span {
+    background-color: #80FF80;
+}
+
+.diff-removed span {
+    background-color: #FFFF80;
+}
 /* vim: set sw=4 sts=4 expandtab */