index: only use common stylesheet
authorMischa POSLAWSKY <perl@shiar.org>
Mon, 19 Oct 2009 15:21:19 +0000 (15:21 +0000)
committerMischa POSLAWSKY <perl@shiar.org>
Mon, 19 Oct 2009 15:23:10 +0000 (15:23 +0000)
base.css
index.plp

index 5958cedf3208567c16325b1e02b953012770c589..2529b0b1664ad88de3a3c6258bbd60624e3bb9a9 100644 (file)
--- a/base.css
+++ b/base.css
@@ -36,6 +36,9 @@ hr {
        margin: 0;
 }
 
        margin: 0;
 }
 
+.section ul {
+       margin-bottom: 1ex;
+}
 .section h2 {
        margin: 0 1ex;
        clear: both;
 .section h2 {
        margin: 0 1ex;
        clear: both;
index d3c03adb4af7c1c0551cab490be631237fb00118..50130f705992a6866ffe6140edcd9bff49214107 100644 (file)
--- a/index.plp
+++ b/index.plp
@@ -9,14 +9,9 @@
 <meta http-equiv="content-type" content="<:= $header{content_type} :>">
 <title>cheat sheets</title>
 <:= stylesheet(qw'light dark red') :>
 <meta http-equiv="content-type" content="<:= $header{content_type} :>">
 <title>cheat sheets</title>
 <:= stylesheet(qw'light dark red') :>
-<style type="text/css">
-       ul {
-               margin-bottom: 1ex;
-       }
-</style>
 </head>
 
 </head>
 
-<body id="vim">
+<body id="index">
 
 <h1>Shiar's cheat sheets</h1>
 
 
 <h1>Shiar's cheat sheets</h1>
 
@@ -28,6 +23,7 @@ Originally created by Mischa <span style="font-variant:small-caps">Poslawsky</sp
 but you're free to use, print, alter, and redistribute under the AGPL license.
 </p>
 
 but you're free to use, print, alter, and redistribute under the AGPL license.
 </p>
 
+<div class="section">
 <h2>Keyboard maps</h2>
 <ul>
 <li><a href="/readline">readline</a>
 <h2>Keyboard maps</h2>
 <ul>
 <li><a href="/readline">readline</a>
@@ -37,13 +33,16 @@ but you're free to use, print, alter, and redistribute under the AGPL license.
 <li><a href="/nethack">nethack</a>
 <li><a href="/mplayer">mplayer</a>
 </ul>
 <li><a href="/nethack">nethack</a>
 <li><a href="/mplayer">mplayer</a>
 </ul>
+</div>
 
 
+<div class="section">
 <h2>Unicode characters</h2>
 <ul>
 <li><a href="/digraphs">digraphs</a>
 <li><a href="/charset">charsets</a>
 <li><a href="/unicode">common glyphs</a>
 </ul>
 <h2>Unicode characters</h2>
 <ul>
 <li><a href="/digraphs">digraphs</a>
 <li><a href="/charset">charsets</a>
 <li><a href="/unicode">common glyphs</a>
 </ul>
+</div>
 
 <p class="footer">
        <a href="http://sheet.shiar.nl/" rel="home">sheet.shiar.nl</a>/index.<a
 
 <p class="footer">
        <a href="http://sheet.shiar.nl/" rel="home">sheet.shiar.nl</a>/index.<a