Dave Jarvis' Repositories

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

Add TODO CSS style in preview, upgrade libraries

AuthorDaveJarvis <email>
Date2022-03-27 13:52:33 GMT-0700
Commit5eae696128b692b9d0417be74c66d1fe73eb59ff
Parentbfa8ad1
Delta25 lines added, 2 lines removed, 23-line increase
src/main/resources/com/keenwrite/preview/webview.css
/* Do not use points (pt): FlyingSaucer on Debian fails to render. */
body {
+ color: #454545;
background-color: #fff;
margin: 0 auto;
- line-height: 1.6;
- color: #454545;
padding: .5em;
+ line-height: 1.6;
font-feature-settings: 'liga' 1;
font-variant-ligatures: normal;
text-align: left;
text-indent: 0;
+ border-style: solid;
+ border-width: 0.05em;
+ border-radius: .25em;
+ background-color: #f8f8f8;
+}
+
+/* TO DO ***/
+div.todo:before {
+ content: "TODO";
+ color: #c00;
+ font-weight: bold;
+ display: block;
+ width: 100%;
+ text-align: center;
+ padding: 0;
+ margin: 0;
+}
+
+div.todo {
+ padding: .5em;
+ padding-top: .25em;
+ padding-bottom: .25em;
border-style: solid;
border-width: 0.05em;
border-radius: .25em;
+ border-color: #c00;
background-color: #f8f8f8;
}