Commits

Thomas Waldmann  committed adc727e

replace tt tag by usage of css

  • Participants
  • Parent commits dbab084

Comments (0)

Files changed (2)

File MoinMoin/templates/history.html

                 {% for doc in history %}
                 <tr>
                     <td class="moin-wordbreak">{{ doc.name }}</td>
-                    <td class="moin-integer"><tt>{{ doc.revid | shorten_id }}</tt></td>
+                    <td class="moin-integer monospaced">{{ doc.revid | shorten_id }}</td>
                     <td>{{ doc.mtime|datetimeformat }}</td>
                     <td class="moin-integer">{{ doc.size }}</td>
                     <td>

File MoinMoin/themes/modernized/static/css/common.css

 pre.comment { background-color: #CCC; color: red; padding: 0; margin: 0; border: 0; }
 pre.comment:before { content: url(../img/attention.png); }
 
+/* tt (teletype) replacement */
+.monospaced {
+    font-family: monospace;
+}
+
 /* tables */
 table { margin: 0.5em; border-collapse: collapse; }
 th, td { padding: 0.3em 0.4em; vertical-align: middle; text-align: left; }