charset: utf-8 byte function table
[sheet.git] / unicode.plp
index da5b6e8c9f1c2ece098f1484611d9bb816e8cb9f..25f89de638afb27cdbe212c52b7cea65eb9e5d63 100644 (file)
@@ -16,10 +16,16 @@ $header{content_type} = 'text/html; charset=utf-8';
 <head>
 <title>digraph cheat sheet</title>
 <meta http-equiv="content-type" content="utf-8">
-<link rel="stylesheet" type="text/css" media="all" href="/digraphs.css">
+<link rel="stylesheet" type="text/css" media="all" href="/base.css"><:
+       my %styles = map {$_ => $_} qw(dark circus mono red terse);
+       our $style = exists $get{style} && $styles{$get{style}} || 'light';
+       printf(qq{\n<link rel="%s" type="text/css" media="all" href="%s" title="%s">},
+               $_ eq $style ? 'stylesheet' : 'alternate stylesheet', "$_.css", $_
+       ) for keys %styles;
+:>
 </head>
 
-<body>
+<body id="unicode">
 <h1>Common uncommon Unicode</h1>
 
 <p>i^k in <a href="/">Vim</a>.
@@ -269,7 +275,7 @@ print_glyph_tables(
 
 :></div>
 
-<div id="legend">
+<div class="legend">
        <table class="glyphs"><tr>
        <td class="X di-a">ascii
        <td class="X di-d">digraph
@@ -279,11 +285,11 @@ print_glyph_tables(
        </table>
 </div>
 
-<p id="footer">
-       <a href="http://vi.shiar.net/unicode">vi.<strong>shiar.net</strong>/unicode</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"
+<p class="footer">
+       <a href="http://sheet.shiar.nl/" rel="home">sheet.shiar.nl</a>/unicode
+       <a href="git://dev.shiar.nl/sheet" rel="vcs-git" title="Git repository"><:= "v$VERSION" :></a>
+       created by <a href="http://shiar.nl/" rel="author">Shiar</a> •
+       <a title="Licensed under the GNU Affero General Public License, version 3" rel="copyright"
           href="http://www.fsf.org/licensing/licenses/agpl-3.0.html">AGPLv3</a> •
        last update <:
                use Time::Format qw(time_format);