From 973c14cab6d54341cdb83177a5f97f41bc28ae72 Mon Sep 17 00:00:00 2001 From: Stefan Imhoff Date: Mon, 16 Sep 2013 08:59:02 +0200 Subject: [PATCH] Add base styles for readme html file --- gitweb.css | 55 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) diff --git a/gitweb.css b/gitweb.css index a062934..51eaf8f 100644 --- a/gitweb.css +++ b/gitweb.css @@ -320,9 +320,64 @@ th .header { } .readme h1 { + display: block; + font-size: 2em; + font-weight: bold; + margin-bottom: 0.67em; margin-top: 0; } +.readme h2 { + font-size: 1.5em; + font-weight: bold; + margin-bottom: 0.83em; +} + + +.readme h3 { + font-size: 1.17em; + font-weight: bold; + margin-bottom: 1em; +} + +.readme p { + margin-bottom: 1em; +} + +.readme ul { + list-style: disc; + margin-bottom: 1em; + margin-left: 1.5em; +} + +.readme ul ul { + margin-bottom: 0; +} + +.readme ol { + list-style: decimal; + margin-bottom: 1em; + margin-left: 1.5em; +} + +.readme ol ol { + margin-bottom: 0; +} + +.readme pre { + font-family: monospace; + margin: 1em 0; + white-space: pre; +} + +.readme tt, .readme code, .readme kbd, .readme samp { + font-family: monospace; +} + +.readme blockquote { + margin: 1em; +} + .projects_list, .tags { width: 95%; -- 2.30.2