Dave Jarvis' Repositories

git clone https://repo.autonoma.ca/repo/keenwrite.git

Sane enumerated and bullet list styles

AuthorDaveJarvis <email>
Date2021-03-21 18:01:05 GMT-0700
Commitc7285219b95c12d248e25d7ad8550243052acd71
Parentfc909b1
src/main/resources/com/keenwrite/preview/webview.css
}
+/* HEADERS ***/
h1, h2, h3, h4, h5, h6 {
font-weight: bold;
a:hover {
text-decoration: underline;
-}
-
-/* BULLET LISTS ***/
-ul, ol {
- display: block;
- list-style: disc outside none;
- margin: 1em 0;
- padding: 0 0 0 2em;
}
-ol {
- list-style-type: decimal;
-}
+/* ITEMIZED LISTS ***/
-ul ul, ol ul,
-ol ol, ul ol {
- list-style-position: inside;
- margin-left: 1em;
+ol, ul {
+ margin: 0 0 0 2em;
}
-ul ul, ol ul {
- list-style-type: circle;
-}
+ol { list-style-type: decimal; }
+ol ol { list-style-type: lower-alpha; }
+ol ol ol { list-style-type: lower-roman; }
+ol ol ol ol { list-style-type: upper-alpha; }
+ol ol ol ol ol { list-style-type: upper-roman; }
+ol ol ol ol ol ol { list-style-type: lower-greek; }
-ol ol, ul ol {
- list-style-type: lower-latin;
-}
+ul { list-style-type: disc; }
+ul ul { list-style-type: circle; }
+ul ul ul { list-style-type: square; }
+ul ul ul ul { list-style-type: disc; }
+ul ul ul ul ul { list-style-type: circle; }
+ul ul ul ul ul ul { list-style-type: square; }
/* DEFINITION LISTS ***/
}
+/* PREFORMATTED CODE ***/
pre, code, tt {
/* Must be bundled in JAR file. */
}
+/* BLOCKQUOTES ***/
blockquote {
border-left: .25em solid #ccc;
blockquote>:last-child {
margin-bottom: 0;
-}
-
-hr {
- clear: both;
- margin: 1.5em 0 1.5em;
- height: 0;
- overflow: hidden;
- border: none;
- background: transparent;
- border-bottom: .125em solid #ccc;
}
+/* TABLES ***/
table {
width: 100%;
}
+/* IMAGES ***/
img {
max-width: 100%;
/* Tell FlyingSaucer to treat images as block elements.
* See SvgReplacedElementFactory.
*/
display: inline-block;
}
+
+/* TEX ***/
/* Tell FlyingSaucer to treat tex elements as nodes.
p tex {
vertical-align: baseline;
+}
+
+/* RULES ***/
+hr {
+ clear: both;
+ margin: 1.5em 0 1.5em;
+ height: 0;
+ overflow: hidden;
+ border: none;
+ background: transparent;
+ border-bottom: .125em solid #ccc;
}
Delta33 lines added, 31 lines removed, 2-line increase