From df58b12a32dca01caa162fd332c1380436f7cb6d Mon Sep 17 00:00:00 2001 From: Mischa POSLAWSKY Date: Mon, 15 Sep 2008 23:27:00 +0000 Subject: [PATCH] unicode: use common digraphs stylesheet Less code (or styling actually) duplication is always good. Unlike the vim (keyboard) page, the digraphs and unicode (character) pages mostly have identical styling requirements. --- digraphs.css | 6 ++++-- unicode.plp | 45 ++++++++++++++++++++++++++------------------- 2 files changed, 30 insertions(+), 21 deletions(-) diff --git a/digraphs.css b/digraphs.css index f7a1d9c..cf81ad7 100644 --- a/digraphs.css +++ b/digraphs.css @@ -18,11 +18,13 @@ a:active, a:hover { h1 { text-align: center; - font-size: 200%; - margin: 0 0 0.2em; + font-size: 180%; /* 200% * 90% */ + margin: 0 0 0.5ex; } p { text-align: center; + font-size: 90%; /* like base.css body */ + margin: 1ex 0 1em; } p#footer { margin: 1em 0 0; diff --git a/unicode.plp b/unicode.plp index c7b85c2..4d48bb4 100644 --- a/unicode.plp +++ b/unicode.plp @@ -15,17 +15,36 @@ $header{content_type} = 'text/html; charset=utf-8'; digraph cheat sheet - +