digraphs: page footer
authorMischa POSLAWSKY <perl@shiar.org>
Sat, 13 Sep 2008 03:52:17 +0000 (03:52 +0000)
committerMischa POSLAWSKY <perl@shiar.org>
Tue, 16 Sep 2008 03:31:31 +0000 (03:31 +0000)
Output a footer (version, copyright, etc) similar to the vim page.

digraphs.css
digraphs.plp

index 7feb88d77e64a5e687d95b6c57a780d25d0bf3a1..4b9588d8cf33c49ea2e3750ca643071a2b943b82 100644 (file)
@@ -1,8 +1,29 @@
+body {
+       background: #FFF;
+       color: #000;
+}
+
+a, a:visited {
+       color: #000;
+       text-decoration: underline;
+}
+a:active, a:hover {
+       color: #00F;
+       text-decoration: none;
+}
+
 h1 {
        text-align: center;
-       margin: 0 auto 0.2em;
+       font-size: 200%;
+       margin: 0 0 0.2em;
+}
+p.footer {
+       margin: 1em 0 0;
+       text-align: center;
 }
 
+/* digraph table */
+
 table {
        border-collapse: collapse;
        table-layout: fixed; /* prevent resizing, notably in msie6 */
index 937228ca77ee6b44e29a85b892ec61be8165fc59..6e8a30a867f4900289f22bd64caffa2ae4566244 100644 (file)
@@ -97,4 +97,16 @@ print "</table>\n";
        </table>
 </div>
 
+<p class="footer">
+       <a href="http://vi.shiar.net/digraphs">vi.<strong>shiar.net</strong>/digraphs</a>
+       <a href="git://dev.shiar.net/vi-cheat"><:= "v$VERSION" :></a>
+       created by Shiar •
+       <a title="Licensed under the GNU Affero General Public License, version 3"
+          href="http://www.fsf.org/licensing/licenses/agpl-3.0.html">AGPLv3</a> •
+       last update <:
+               use Time::Format qw(time_format);
+               print time_format('yyyy-mm-dd', (stat 'digraphs.inc.pl')[9]);
+       :>
+</p>
+
 </html>