blob: f764c9d99b9230f2c9aafa3eec11c6950b9b1e4c [file] [log] [blame]
Misha Brukmanb8363bb2003-10-22 23:23:49 +00001/*
2 * LLVM website style sheet
3 */
4
5/* Common styles */
Misha Brukman03d4b0f2003-10-24 17:34:50 +00006.body { color: black; background: white; margin: 0 0 0 0 }
Misha Brukmanb8363bb2003-10-22 23:23:49 +00007
Misha Brukmanbff60322003-11-22 00:59:08 +00008/* No borders on image links */
9a:link img, a:visited img {border-style: none}
10
Misha Brukmanb8363bb2003-10-22 23:23:49 +000011/*
12 * Documentation
13 */
14/* Common for title and header */
15.doc_title, .doc_section, .doc_subsection {
Chris Lattnera146c312003-11-12 20:24:39 +000016 color: #ffffff; background: #330077;
Misha Brukmanb8363bb2003-10-22 23:23:49 +000017 font-family: "Georgia,Palatino,Times,Roman"; font-weight: bold;
Brian Gaeke56d3cc52003-11-12 20:31:18 +000018 padding-left: 8pt;
19 padding-top: 1px;
20 padding-bottom: 2px
Misha Brukmanb8363bb2003-10-22 23:23:49 +000021}
22
23.doc_title { text-align: left; font-size: 25pt }
Misha Brukman03d4b0f2003-10-24 17:34:50 +000024.doc_section { text-align: center; font-size: 22pt; }
Misha Brukmanb8363bb2003-10-22 23:23:49 +000025.doc_subsection { background: #441188; width: 50%;
Misha Brukman03d4b0f2003-10-24 17:34:50 +000026 text-align: left; font-size: 12pt; padding: 4pt 4pt 4pt 4pt;
27 margin: 1.5em 0.5em 1.5em 0.5em }
28
29/* In the future, the 2nd level subsection style may want to become this:
30.doc_subsubsection { margin: 1.5em 0.5em 1.5 0.5em;
31 font-weight: bold; font-style: oblique;
32 border-bottom: 2px dotted #999999 }
33*/
34
35/* However, to be consistent with the rest of current documentation which is not
36 all yet using stylesheets, we try to emulate the former layout. */
37.doc_subsubsection { margin: 1.5em 0.5em 1.5em 0.5em;
38 font-weight: bold;
39 border-top: 2px solid #cecece }
40
Misha Brukman2ca41fb2003-10-24 17:56:09 +000041.doc_text { text-align: left; padding-left: 20pt }
42
Misha Brukmanbff60322003-11-22 00:59:08 +000043.doc_footer { text-align: left; padding: 0 0 0 0 }
Misha Brukmanb8363bb2003-10-22 23:23:49 +000044
Misha Brukmanf314a4b2003-10-24 19:58:36 +000045.doc_red { color: red }
46