Various changes to make the docs look nicer. Add a new doc_author class.
authorChris Lattner <sabre@nondot.org>
Sun, 23 May 2004 21:03:30 +0000 (21:03 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 23 May 2004 21:03:30 +0000 (21:03 +0000)
The one thing that someone (misha?) should look at is fixing doc_code so that it sizes to fit the code instead of going to the right margin all of the way.  Fixing it at a particular number of pixels was just wrong. :)

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13668 91177308-0d34-0410-b5e6-96231b3b80d8

docs/llvm.css

index b5073e1ca37235b3a8c3b2abf9b1307bb681d0f8..793c431d331b78d0326449c26e126856e74a2b95 100644 (file)
@@ -28,27 +28,28 @@ address     { clear: right; }
 }
 
 .doc_title      { text-align: left;   font-size: 25pt }
-.doc_section    { text-align: center; font-size: 22pt; }
-.doc_subsection { width: 50%;
+.doc_section    { text-align: center; font-size: 22pt;
+                  margin: 20pt 0pt 5pt 0pt; }
+.doc_subsection { width: 75%;
                   text-align: left;  font-size: 12pt; padding: 4pt 4pt 4pt 4pt;
-                  margin: 1.5em 0.5em 1.5em 0.5em }
+                  margin: 1.5em 0.5em 0.5em 0.5em }
 
-.doc_subsubsection { margin: 1.5em 0.5em 1.5em 0.5em;
-                     padding: 20pt 4pt 4pt 4pt;
+.doc_subsubsection { margin: 2.0em 0.5em 0.5em 0.5em;
                      font-weight: bold; font-style: oblique;
-                     border-bottom: 1px solid #999999; font-size: 12pt }
-
+                     border-bottom: 1px solid #999999; font-size: 12pt;
+                     width: 75%; }
+.doc_author     { text-align: left; font-weight: bold; padding-left: 20pt }
 .doc_text       { text-align: left; padding-left: 20pt }
 
 .doc_footer     { text-align: left; padding: 0 0 0 0 }
 
 .doc_red        { color: red }
 
-.doc_table         { text-align: center; width: 90%; 
+.doc_table      { text-align: center; width: 90%; 
                   padding: 1px 1px 1px 1px; border: 1px; }
 
 .doc_warning    { color: red; font-weight: bold }
 
 .doc_code       { border: solid 1px gray; background: #eeeeee;
-                  width: 700px; margin: 0 0 0 1em; 
+                  margin: 0 0 0 1em; 
                   padding: 0 0 0 1em }