many cleanups and fixed, contributed by Sam Bishop
[oota-llvm.git] / docs / llvm.css
index fcde70df71bb91333054508a15c7069a13fe2634..3564171126d680f846dadd75dde9c47ca9122692 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * LLVM website style sheet
+ * LLVM documentation style sheet
  */
 
 /* Common styles */
@@ -11,13 +11,21 @@ a:link img, a:visited img {border-style: none}
 address img { float: right; width: 88px; height: 31px; }
 address     { clear: right; }
 
+TR, TD      { border: 2px solid gray; padding: 4pt 4pt 2pt 2pt; }
+TH          { border: 2px solid gray; font-weight: bold; font-size: 105%; 
+              background: url("img/lines.gif");
+              font-family: "Georgia,Palatino,Times,Roman,SanSerif"; text-align:center;
+              vertical-align: middle; }
+TABLE       { text-align: center; border: 2px solid black; 
+              border-collapse: collapse; margin-top: 1em; margin-left: 1em; 
+              margin-right: 1em; margin-bottom: 1em; }
 /* 
  * Documentation 
  */
 /* Common for title and header */
 .doc_title, .doc_section, .doc_subsection { 
   color: black; background: url("img/lines.gif");
-  font-family: "Georgia,Palatino,Times,Roman"; font-weight: bold;
+  font-family: "Georgia,Palatino,Times,Roman,SanSerif"; font-weight: bold;
   border-width: 1px;
   border-style: solid none solid none;
   text-align: center;
@@ -39,11 +47,11 @@ address     { clear: right; }
                      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_text       { text-align: left; padding-left: 20pt; padding-right: 10pt }
 
 .doc_footer     { text-align: left; padding: 0 0 0 0 }
 
-.doc_red        { color: red }
+.doc_hilite     { color: blue; font-weight: bold; }
 
 .doc_table      { text-align: center; width: 90%; 
                   padding: 1px 1px 1px 1px; border: 1px; }
@@ -58,3 +66,19 @@ address     { clear: right; }
                   padding: 0 1em 0 1em;
                   display:table;
                 }
+.doc_notes      { background: #fafafa; border: 1px solid #cecece; padding: 0.1em }
+
+TABLE.layout    { text-align: left; border: none; border-collapse: collapse;
+                  padding: 4px 4px 4px 4px; }
+TR.layout       { border: none; padding: 4pt 4pt 2pt 2pt; }
+TD.layout       { border: none; padding: 4pt 4pt 2pt 2pt; 
+                  vertical-align: top;}
+TD.left         { border: none; padding: 4pt 4pt 2pt 2pt; text-align: left; 
+                  vertical-align: top;}
+TD.right        { border: none; padding: 4pt 4pt 2pt 2pt; text-align: right; 
+                  vertical-align: top;}
+TH.layout       { border: none; font-weight: bold; font-size: 105%; 
+                  text-align:center; vertical-align: middle; }
+
+/* Left align table cell */
+.td_left        { border: 2px solid gray; text-align: left; }