From f8d86726986b69e7c190de94dba085b081e00e6d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20=27Necoro=27=20Neumann?= Date: Wed, 7 Apr 2010 03:08:54 +0200 Subject: Enhanced design --- static/css/style.css | 11 +++++++---- templates/page.mako | 5 ++++- templates/pages/index.mako | 6 +++--- 3 files changed, 14 insertions(+), 8 deletions(-) diff --git a/static/css/style.css b/static/css/style.css index 614f473..45cf21e 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -32,9 +32,8 @@ h2 { } p, ul, ol { - margin: 0 0 2em 0; text-align: justify; - line-height: 26px; + line-height: 20px; } a:link { @@ -167,6 +166,10 @@ img.right { #logo p a:hover { text-decoration: underline; } +.hstart { + font: 18px Georgia, "Times New Roman", Times, serif; + color: #8BD80E; +} /* Page */ @@ -226,8 +229,8 @@ img.right { overflow: auto; } -p + .box, ul { - margin-top: -1.5em; +p + h2,h3,h4 { + margin-top: 1.5em; } /* Footer */ diff --git a/templates/page.mako b/templates/page.mako index 14728a3..264ddee 100644 --- a/templates/page.mako +++ b/templates/page.mako @@ -3,7 +3,10 @@ %> <%inherit file="/root.mako" /> -<%namespace file="/root.mako" inheritable="True" import="hl"/>

${self.attr.title}

${next.body()} + +<%def name="h2()"> +

ยป ${caller.body()}

+ diff --git a/templates/pages/index.mako b/templates/pages/index.mako index 825de7e..2ed2cd6 100644 --- a/templates/pages/index.mako +++ b/templates/pages/index.mako @@ -11,7 +11,7 @@ As the current portage development is quite fast-paced, Portato is not able to keep step. Thus it might be that the released version(s) do not behave as expected. In these cases also try the development version.

-

Installation

+<%self:h2>Installation

Portato is delivered with the standard portage tree and can be installed using emerge portato. If you want to use the development version, you need to do the following (given you have installed and configured layman ... if not: see this guide): @@ -24,7 +24,7 @@ echo "=app-portage/portato-9999" >> /etc/portage/package.keywords emerge -av portato -

Translations

+<%self:h2>Translations

Portato does know about the so called Native Language Support. It currently supports the following languages: Catalan, English, Italian, German, Polish, Portugese, and Turkish.

@@ -32,7 +32,7 @@ emerge -av portato If you want to add support for another language, please see the translation howto.

-

Similar projects

+<%self:h2>Similar projects

Of course there are other projects too, which do the same or at least a similar job. These are for example:

-- cgit v1.2.3