Add div.hanging-indent CSS to HTML templates.
commit381654a7043184c0b0ddf1c2e3fe5c35bfb1cd47
authorJohn MacFarlane <jgm@berkeley.edu>
dateThu 5 Sep 2019, 12:42 (7 years ago)
parentbb362fd
data/templates/styles.html+1
@@ -2,6 +2,7 @@ code{white-space: pre-wrap;}
22span.smallcaps{font-variant: small-caps;}
33span.underline{text-decoration: underline;}
44div.column{display: inline-block; vertical-align: top; width: 50%;}
5+div.hanging-indent{margin-left: 1.5em; text-indent: -1.5em;}
56$if(quotes)$
67q { quotes: "“" "”" "‘" "’"; }
78$endif$
test/lhs-test.html+1
@@ -10,6 +10,7 @@
1010 span.smallcaps{font-variant: small-caps;}
1111 span.underline{text-decoration: underline;}
1212 div.column{display: inline-block; vertical-align: top; width: 50%;}
13+ div.hanging-indent{margin-left: 1.5em; text-indent: -1.5em;}
1314 pre > code.sourceCode { white-space: pre; position: relative; }
1415 pre > code.sourceCode > span { display: inline-block; line-height: 1.25; }
1516 pre > code.sourceCode > span:empty { height: 1.2em; }
test/lhs-test.html+lhs+1
@@ -10,6 +10,7 @@
1010 span.smallcaps{font-variant: small-caps;}
1111 span.underline{text-decoration: underline;}
1212 div.column{display: inline-block; vertical-align: top; width: 50%;}
13+ div.hanging-indent{margin-left: 1.5em; text-indent: -1.5em;}
1314 pre > code.sourceCode { white-space: pre; position: relative; }
1415 pre > code.sourceCode > span { display: inline-block; line-height: 1.25; }
1516 pre > code.sourceCode > span:empty { height: 1.2em; }
test/s5-basic.html+1
@@ -15,6 +15,7 @@
1515 span.smallcaps{font-variant: small-caps;}
1616 span.underline{text-decoration: underline;}
1717 div.column{display: inline-block; vertical-align: top; width: 50%;}
18+ div.hanging-indent{margin-left: 1.5em; text-indent: -1.5em;}
1819 </style>
1920 <!-- configuration parameters -->
2021 <meta name="defaultView" content="slideshow" />
test/s5-fancy.html+1
@@ -15,6 +15,7 @@
1515 span.smallcaps{font-variant: small-caps;}
1616 span.underline{text-decoration: underline;}
1717 div.column{display: inline-block; vertical-align: top; width: 50%;}
18+ div.hanging-indent{margin-left: 1.5em; text-indent: -1.5em;}
1819 </style>
1920 <!-- configuration parameters -->
2021 <meta name="defaultView" content="slideshow" />
test/s5-inserts.html+1
@@ -13,6 +13,7 @@
1313 span.smallcaps{font-variant: small-caps;}
1414 span.underline{text-decoration: underline;}
1515 div.column{display: inline-block; vertical-align: top; width: 50%;}
16+ div.hanging-indent{margin-left: 1.5em; text-indent: -1.5em;}
1617 </style>
1718 <link rel="stylesheet" href="main.css" type="text/css" />
1819 STUFF INSERTED
test/writer.html4+1
@@ -13,6 +13,7 @@
1313 span.smallcaps{font-variant: small-caps;}
1414 span.underline{text-decoration: underline;}
1515 div.column{display: inline-block; vertical-align: top; width: 50%;}
16+ div.hanging-indent{margin-left: 1.5em; text-indent: -1.5em;}
1617 </style>
1718</head>
1819<body>
test/writer.html5+1
@@ -13,6 +13,7 @@
1313 span.smallcaps{font-variant: small-caps;}
1414 span.underline{text-decoration: underline;}
1515 div.column{display: inline-block; vertical-align: top; width: 50%;}
16+ div.hanging-indent{margin-left: 1.5em; text-indent: -1.5em;}
1617 </style>
1718 <!--[if lt IE 9]>
1819 <script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv-printshiv.min.js"></script>