X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=docs%2Fllvm.css;h=f572b5e5714178faf9034706debe3dcbca68c080;hb=f2d754bb382cba0bad2774144ddac84be5354d16;hp=e48f0a1a7c927d82b67d4b3386d775f9965ab5f3;hpb=98a4ec700e8e6e9d465b38d85ca6e104df23b503;p=oota-llvm.git diff --git a/docs/llvm.css b/docs/llvm.css index e48f0a1a7c9..f572b5e5714 100644 --- a/docs/llvm.css +++ b/docs/llvm.css @@ -62,6 +62,7 @@ h3, .doc_subsubsection { margin: 2.0em 0.5em 0.5em 0.5em; .doc_warning { color: red; font-weight: bold } +/*
would use this class, and
adds more padding */ .doc_code, .literal-block { border: solid 1px gray; background: #eeeeee; margin: 0 1em 0 1em; @@ -69,8 +70,16 @@ h3, .doc_subsubsection { margin: 2.0em 0.5em 0.5em 0.5em; display: table; } +/* It is preferrable to use
 everywhere instead of the
+ * 
...
construct. + * + * Once all docs use
 for code regions, this style can  be merged with the
+ * one above, and we can drop the [pre] qualifier.
+ */
+pre.doc_code, .literal-block { padding: 1em 2em 1em 1em }
+
 .doc_notes      { background: #fafafa; border: 1px solid #cecece;
-                  padding: 0.1em }
+                  display: table; padding: 0 1em 0 .1em }
 
 table.layout    { text-align: left; border: none; border-collapse: collapse;
                   padding: 4px 4px 4px 4px; }
@@ -86,7 +95,6 @@ th.layout       { border: none; font-weight: bold; font-size: 105%;
 
 /* ReST-specific */
 .title { margin-top: 0 }
-#contents { display: none }
+.topic-title{ display: none }
 div.contents ul { list-style-type: decimal }
-.literal-block { padding: 1em 2em 1em 1em }
 .toc-backref    { color: black; text-decoration: none; }