[llvm-commits] CVS: llvm/docs/llvm.css

Chris Lattner lattner at cs.uiuc.edu
Sun May 23 16:05:01 PDT 2004


Changes in directory llvm/docs:

llvm.css updated: 1.16 -> 1.17

---
Log message:

Various changes to make the docs look nicer.  Add a new doc_author class.

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. :)


---
Diffs of the changes:  (+10 -9)

Index: llvm/docs/llvm.css
diff -u llvm/docs/llvm.css:1.16 llvm/docs/llvm.css:1.17
--- llvm/docs/llvm.css:1.16	Thu May 13 11:37:52 2004
+++ llvm/docs/llvm.css	Sun May 23 16:03:30 2004
@@ -28,27 +28,28 @@
 }
 
 .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 }





More information about the llvm-commits mailing list