/3rd_party/llvm/docs/llvm.css

https://code.google.com/p/softart/ · CSS · 112 lines · 73 code · 21 blank · 18 comment · 0 complexity · 9eea2aa5ca7ef9b5e8a41bf2df0a091e MD5 · raw file

  1. /*
  2. * LLVM documentation style sheet
  3. */
  4. /* Common styles */
  5. .body { color: black; background: white; margin: 0 0 0 0 }
  6. /* No borders on image links */
  7. a:link img, a:visited img { border-style: none }
  8. address img { float: right; width: 88px; height: 31px; }
  9. address { clear: right; }
  10. table { text-align: center; border: 2px solid black;
  11. border-collapse: collapse; margin-top: 1em; margin-left: 1em;
  12. margin-right: 1em; margin-bottom: 1em; }
  13. tr, td { border: 2px solid gray; padding: 4pt 4pt 2pt 2pt; }
  14. th { border: 2px solid gray; font-weight: bold; font-size: 105%;
  15. background: url("img/lines.gif");
  16. font-family: "Georgia,Palatino,Times,Roman,SanSerif";
  17. text-align: center; vertical-align: middle; }
  18. /*
  19. * Documentation
  20. */
  21. /* Common for title and header */
  22. .doc_title, .doc_section, .doc_subsection, h1, h2, h3 {
  23. color: black; background: url("img/lines.gif");
  24. font-family: "Georgia,Palatino,Times,Roman,SanSerif"; font-weight: bold;
  25. border-width: 1px;
  26. border-style: solid none solid none;
  27. text-align: center;
  28. vertical-align: middle;
  29. padding-left: 8pt;
  30. padding-top: 1px;
  31. padding-bottom: 2px
  32. }
  33. h1, .doc_title, .title { text-align: left; font-size: 25pt }
  34. h2, .doc_section { text-align: center; font-size: 22pt;
  35. margin: 20pt 0pt 5pt 0pt; }
  36. h3, .doc_subsection { width: 75%;
  37. text-align: left; font-size: 12pt;
  38. padding: 4pt 4pt 4pt 4pt;
  39. margin: 1.5em 0.5em 0.5em 0.5em }
  40. h4, .doc_subsubsection { margin: 2.0em 0.5em 0.5em 0.5em;
  41. font-weight: bold; font-style: oblique;
  42. border-bottom: 1px solid #999999; font-size: 12pt;
  43. width: 75%; }
  44. .doc_author { text-align: left; font-weight: bold; padding-left: 20pt }
  45. .doc_text { text-align: left; padding-left: 20pt; padding-right: 10pt }
  46. .doc_footer { text-align: left; padding: 0 0 0 0 }
  47. .doc_hilite { color: blue; font-weight: bold; }
  48. .doc_table { text-align: center; width: 90%;
  49. padding: 1px 1px 1px 1px; border: 1px; }
  50. .doc_warning { color: red; font-weight: bold }
  51. /* <div class="doc_code"> would use this class, and <div> adds more padding */
  52. .doc_code, .literal-block
  53. { border: solid 1px gray; background: #eeeeee;
  54. margin: 0 1em 0 1em;
  55. padding: 0 1em 0 1em;
  56. display: table;
  57. }
  58. blockquote pre {
  59. padding: 1em 2em 1em 1em;
  60. border: solid 1px gray;
  61. background: #eeeeee;
  62. margin: 0 1em 0 1em;
  63. display: table;
  64. }
  65. h2+div, h2+p {text-align: left; padding-left: 20pt; padding-right: 10pt;}
  66. h3+div, h3+p {text-align: left; padding-left: 20pt; padding-right: 10pt;}
  67. h4+div, h4+p {text-align: left; padding-left: 20pt; padding-right: 10pt;}
  68. /* It is preferrable to use <pre class="doc_code"> everywhere instead of the
  69. * <div class="doc_code"><pre>...</ptr></div> construct.
  70. *
  71. * Once all docs use <pre> for code regions, this style can be merged with the
  72. * one above, and we can drop the [pre] qualifier.
  73. */
  74. pre.doc_code, .literal-block { padding: 1em 2em 1em 1em }
  75. .doc_notes { background: #fafafa; border: 1px solid #cecece;
  76. display: table; padding: 0 1em 0 .1em }
  77. table.layout { text-align: left; border: none; border-collapse: collapse;
  78. padding: 4px 4px 4px 4px; }
  79. tr.layout, td.layout, td.left, td.right
  80. { border: none; padding: 4pt 4pt 2pt 2pt; vertical-align: top; }
  81. td.left { text-align: left }
  82. td.right { text-align: right }
  83. th.layout { border: none; font-weight: bold; font-size: 105%;
  84. text-align: center; vertical-align: middle; }
  85. /* Left align table cell */
  86. .td_left { border: 2px solid gray; text-align: left; }
  87. /* ReST-specific */
  88. .title { margin-top: 0 }
  89. .topic-title{ display: none }
  90. div.contents ul { list-style-type: decimal }
  91. .toc-backref { color: black; text-decoration: none; }