changeset 9:4dddc1f05ace

Nice editor, with help on the side
author Radomir Dopieralski <devel@sheep.art.pl>
date Sat, 17 May 2008 00:51:26 +0200
parents fd22b76d8696
children 86983b7a2472
files css/screen.css gugiel.py
diffstat 2 files changed, 36 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/css/screen.css	Sat May 17 00:30:18 2008 +0200
+++ b/css/screen.css	Sat May 17 00:51:26 2008 +0200
@@ -43,6 +43,11 @@
 }
 #searchform {
     margin: 0.125em 0;
+    font-size: 90%;
+}
+#searchform input {
+    font-size: 100%;
+    vertical-align: middle;
 }
 #logo {
     float: left;
@@ -177,7 +182,7 @@
 }
 
 #message {
-    font-size; 90%;
+    font-size: 80%;
     clear: both;
     padding: 0.5em;
     margin: 0.5em 0;
@@ -255,8 +260,36 @@
     letter-spacing: 0.05em;
 }
 .sidebar ul, 
-.sidebar dl, 
 .sidebar ol {
     margin: 0;
     padding: 0 0 0 1.5em;
 }
+#editor textarea {
+    display: block;
+    font-size: 100%;
+    width: 100%;
+}
+#editor {
+    float: left;
+    width: 79%;
+    margin: 0;
+}
+#editor-help {
+    -moz-border-radius: 0.5em;
+    background: #ffffcc;
+    font-size: 80%;
+    border: 1px solid #aaaa79;
+    padding: 0.5em;
+    float: right;
+    width: 19%;
+}
+#editor-help dl {
+    margin: 0;
+}
+#editor-help dd {
+    margin: 0 0 0 1em;
+    padding: 0;
+}
+#previewbelow, #preview {
+    clear: both;
+}
--- a/gugiel.py	Sat May 17 00:30:18 2008 +0200
+++ b/gugiel.py	Sat May 17 00:51:26 2008 +0200
@@ -129,6 +129,7 @@
 
             # Header
             u'<div id="header">',
+            self.logo(),
             u'<h1 id="locationline">',
             self.interwiki(d),
             self.title(d),