]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/commitdiff
some stylesheet improvements for the table, also add a bit more border
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Thu, 6 Jul 2006 19:50:32 +0000 (19:50 +0000)
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Thu, 6 Jul 2006 19:50:32 +0000 (19:50 +0000)
between items to avoid them running together in some cases

basewiki/style.css
templates/recentchanges.tmpl

index c7988b7b7aa95d0c74b2da8db758c90783834cde..74186ab3b290444697272637f46d86a8a0eeccb0 100644 (file)
 }      
 
 /* Stuff for the RecentChanges table. */
-.changeheader {
+tr.changeheader {
        background: #eee;
        color: black !important;
 }
-.changetime {
+tr.changeinfo {
+       background: #eee;
+       color: black !important;
+}
+th.changeheader {
+       padding: 1px .3em;
+}
+td.changeinfo { 
+       padding: 1px .3em;
+}
+td.changetime {
        white-space: nowrap;
+       padding: 1px .3em;
+}
+td.changelog {
+       font-style: italic;
 }
 
 /* Used for adding a blog page. */
index fe01822da090753f68214a8a39565ebd3e228427..250e5de51c450aad8724fcdf0a04db7650360b74 100644 (file)
 <table border="1" frame="border" rules="groups">
 <thead>
        <tr class="changeheader">
-               <th align="left">user</th>
-               <th align="left">time</th>
-               <th align="left" colspan="2">changes</th>
+               <th class="changeheader" align="left">user</th>
+               <th class="changeheader" align="left">time</th>
+               <th class="changeheader" align="left" colspan="2">changes</th>
        </tr>
 </thead>
 <tbody>
 <TMPL_LOOP NAME="CHANGELOG">
        <!-- <TMPL_VAR NAME="REV"> -->
-       <tr class="changeheader">
-               <td><TMPL_VAR NAME="USER"></td>
+       <tr class="changeinfo">
+               <td class="changeinfo"><TMPL_VAR NAME="USER"></td>
                <td class="changetime"><TMPL_VAR NAME="WHEN"></td>
-               <td>
+               <td class="changeinfo">
                <TMPL_LOOP NAME="PAGES">
                        <TMPL_IF NAME="DIFFURL">
                                <a href="<TMPL_VAR NAME="DIFFURL">">
                        </TMPL_IF>
                </TMPL_LOOP>
                </td>
-               <td><TMPL_VAR NAME="COMMITTYPE"></td>
+               <td class="changeinfo"><TMPL_VAR NAME="COMMITTYPE"></td>
        </tr>
        <tr>
-               <td colspan="4">
-                       <i>
+               <td class="changelog" colspan="4">
                        <TMPL_LOOP NAME="MESSAGE">
                                <TMPL_IF NAME="LINE">
                                        <TMPL_VAR NAME="LINE"><br />
                                </TMPL_IF>
                        </TMPL_LOOP>
-                       </i>
                </td>
        </tr>
 </TMPL_LOOP>