From b9e41eb483405740e20712e45d5e7a7c73d69d92 Mon Sep 17 00:00:00 2001 From: Misha Brukman Date: Wed, 12 May 2004 21:20:56 +0000 Subject: [PATCH] Finally, switch to a stylesheet that makes the documentation easier on the eyes and consistent with the LLVM website. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13508 91177308-0d34-0410-b5e6-96231b3b80d8 --- docs/llvm.css | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) diff --git a/docs/llvm.css b/docs/llvm.css index 06be5830795..e6b34faba5c 100644 --- a/docs/llvm.css +++ b/docs/llvm.css @@ -16,8 +16,12 @@ address { clear: right; } */ /* Common for title and header */ .doc_title, .doc_section, .doc_subsection { - color: #ffffff; background: #330077; + color: black; background: url("img/lines.gif"); font-family: "Georgia,Palatino,Times,Roman"; font-weight: bold; + border-width: 1px; + border-style: solid none solid none; + text-align: center; + vertical-align: middle; padding-left: 8pt; padding-top: 1px; padding-bottom: 2px @@ -25,21 +29,13 @@ address { clear: right; } .doc_title { text-align: left; font-size: 25pt } .doc_section { text-align: center; font-size: 22pt; } -.doc_subsection { background: #441188; width: 50%; - text-align: left; font-size: 12pt; padding: 4pt 4pt 4pt 4pt; +.doc_subsection { width: 50%; + text-align: left; font-size: 12pt; padding: 4pt 4pt 4pt 4pt; margin: 1.5em 0.5em 1.5em 0.5em } -/* In the future, the 2nd level subsection style may want to become this: .doc_subsubsection { margin: 1.5em 0.5em 1.5 0.5em; font-weight: bold; font-style: oblique; - border-bottom: 2px dotted #999999 } -*/ - -/* However, to be consistent with the rest of current documentation which is not - all yet using stylesheets, we try to emulate the former layout. */ -.doc_subsubsection { margin: 1.5em 0.5em 1.5em 0.5em; - font-weight: bold; - border-top: 2px solid #cecece } + border-bottom: 1px solid #999999 } .doc_text { text-align: left; padding-left: 20pt }