Permalink
Browse files

PDF guts: Make definition lists (like in type reference) match what w…

…e see in normal CSS.
  • Loading branch information...
1 parent 30e69fe commit fec45945cb88b187cca00132a44498617b594324 @nfagerlund nfagerlund committed Mar 15, 2013
Showing with 24 additions and 0 deletions.
  1. +24 −0 pdf_mask/files/stylesheets/replacementstyle.css
@@ -378,6 +378,30 @@ p img {
max-width: 640px;
}
+/* NF: Also, images that are the only thing in their paragraph should be centered. */
+p > img:only-child, p > a:only-child > img {
+ display: block;
+ margin-right: auto;
+ margin-left: auto;
+}
+
+dl dt{
+ font-weight: bold;
+ margin-top: 1.5em;
+ margin-bottom: 1em;
+}
+
+dl dd{
+ line-height: 1.5em;
+ border-left: 4px solid #eee;
+ padding-left: 20px;
+}
+
+dd > p {
+ margin-top: 1em; /* This is necessary for setting off the second paragraph in any dd element, since the first "paragraph" of any dd isn't inside a <p> element. */
+}
+
+
/* Classes for spans that warn about version incompatibilities */
.versionnote {
background-color: #ff9;

0 comments on commit fec4594

Please sign in to comment.