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

Misha Brukman brukman at cs.uiuc.edu
Wed May 12 16:21:02 PDT 2004


Changes in directory llvm/docs:

llvm.css updated: 1.13 -> 1.14

---
Log message:

Finally, switch to a stylesheet that makes the documentation easier on the eyes
and consistent with the LLVM website.


---
Diffs of the changes:  (+8 -12)

Index: llvm/docs/llvm.css
diff -u llvm/docs/llvm.css:1.13 llvm/docs/llvm.css:1.14
--- llvm/docs/llvm.css:1.13	Thu Apr 15 15:49:32 2004
+++ llvm/docs/llvm.css	Wed May 12 16:20:56 2004
@@ -16,8 +16,12 @@
  */
 /* 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 @@
 
 .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 }
 





More information about the llvm-commits mailing list