]> ruin.nu Git - ndwebbie.git/commitdiff
minor ui tweaks
authorMichael Andreen <harv@ruin.nu>
Tue, 2 Jan 2007 20:28:40 +0000 (20:28 +0000)
committerMichael Andreen <harv@ruin.nu>
Tue, 2 Jan 2007 20:28:40 +0000 (20:28 +0000)
nd.css
templates/forum.tmpl

diff --git a/nd.css b/nd.css
index 787519e530560c4616af76f4b9e19eeda452d24d..20c84de3b4628abda22b6123e96b1eebeaec1b38 100644 (file)
--- a/nd.css
+++ b/nd.css
@@ -1,5 +1,5 @@
 body {
-       padding-left: 14em;
+       padding-left: 15em;
        /*padding-right: 12em;*/
        font-family: sans-serif;
        color: black;
@@ -27,14 +27,23 @@ legend {
        padding: 1px;
 }
 table.boards td {
-       border-style: solid;
-       border-width: 1px;
-       padding: 1px;
+       /*border-style: solid;
+       border-width: 1px;*/
+       padding: 2px;
+       border-collapse: separate;
+       border-spacing: 15pt;
        font-size: larger;
 }
+table.boards{
+       border-collapse: separate;
+       border-spacing: 5px;
+}
 table.boards th {
        font-size: larger;
 }
+table.boards tr.even {
+       background: white;
+}
 fieldset.forum-post {
        width: 40em;
 }
index 52814fdaccc7649b525406f7638ed4f94fbb32d9..126e845018ffb3f1505941cc593c6d83304a9cd4 100644 (file)
@@ -38,9 +38,9 @@
 </TMPL_LOOP>
 </table>
 <TMPL_IF Post>
-<form action="<TMPL_VAR NAME=PAGE>#NewPosts" method="post"><fieldset> <legend>New Thread</legend>
+<form action="<TMPL_VAR NAME=PAGE>#NewPosts" method="post"><fieldset class="forum-post"> <legend>New Thread</legend>
        <p>Subject: <input type="text" name="subject" value=""/></p>
-       <textarea rows="25" cols="80" name="message"></textarea>
+       <textarea rows="25" cols="60" name="message"></textarea>
        <input type="hidden" name="cmd" value="submit"/>
        <input type="hidden" name="b" value="<TMPL_VAR NAME=Id>"/>
        <input type="hidden" name="page" value="<TMPL_VAR NAME=PAGE>"/>
        </TMPL_LOOP>
 </TMPL_LOOP>
 </table>
-<TMPL_IF Post>
-<form action="<TMPL_VAR NAME=PAGE>#NewPosts" method="post"><fieldset> <legend>New Thread</legend>
-       <p>Subject: <input type="text" name="subject" value=""/></p>
-       <textarea rows="25" cols="80" name="message"></textarea>
-       <input type="hidden" name="cmd" value="submit"/>
-       <input type="hidden" name="b" value="<TMPL_VAR NAME=Id>"/>
-       <input type="hidden" name="page" value="<TMPL_VAR NAME=PAGE>"/>
-       <br/>
-       <input type="submit" value="Submit"/>
-</fieldset></form>
-</TMPL_IF>
 </TMPL_IF>
 <TMPL_IF AllUnread>
 <h2>All new posts</h2>