summaryrefslogtreecommitdiff
path: root/src/main-dnd.scss
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2017-12-22 21:05:44 -0500
committerLuke Shumaker <lukeshu@lukeshu.com>2017-12-22 21:05:44 -0500
commit61ac134ab6fc68166b2fddeec16914d28e40aa26 (patch)
tree2a4f41e0a6a5705cad4d420ab26f5149823b11e8 /src/main-dnd.scss
parenta7df47f1ca6226bfb67ccc59a72aafc1f18ecfd1 (diff)
Re-do CSS.
I also add a few <section> tags, and added classes to a couple of <span>s. I moved the dnd CSS to a separate file that is currently unused. I assume I'll add it back soon.
Diffstat (limited to 'src/main-dnd.scss')
-rw-r--r--src/main-dnd.scss68
1 files changed, 68 insertions, 0 deletions
diff --git a/src/main-dnd.scss b/src/main-dnd.scss
new file mode 100644
index 0000000..712ae04
--- /dev/null
+++ b/src/main-dnd.scss
@@ -0,0 +1,68 @@
+body.dnd {
+ background: url(dnd/background.png) repeat-y;
+ background-size: 100%;
+
+ /* This bit mostly taken from the defaults of org-mode export */
+ article {
+ font-family: Baskerville, "Goudy Old Style", "Palatino", "Book Antiqua", "Warnock Pro", serif;
+ font-size: 12pt;
+
+ table {
+ border-spacing: 0;
+ &, tr:last-child td, tr:last-child th {
+ border-bottom: solid 1px black;
+ }
+ &, tr:first-child td, tr:first-child th {
+ border-top: solid 1px black;
+ }
+ td, th {
+ padding: 6px;
+ }
+ }
+
+ p { text-align: justify; }
+ .title { text-align: center; }
+ .todo { color: red; }
+ .done { color: green; }
+ .target { }
+ .timestamp { color: #bebebe; }
+ .timestamp-kwd { color: #5f9ea0; }
+ .right {margin-left:auto; margin-right:0px; text-align:right;}
+ .left {margin-left:0px; margin-right:auto; text-align:left;}
+ .center {margin-left:auto; margin-right:auto; text-align:center;}
+ p.verse { margin-left: 3% }
+ pre {
+ border: 1pt solid #AEBDCC;
+ background-color: #F3F5F7;
+ padding: 5pt;
+ //font-family: courier, monospace;
+ font-size: 90%;
+ overflow:auto;
+ }
+ table { border-collapse: collapse; }
+ td, th { vertical-align: top; }
+ th.right { text-align:center; }
+ th.left { text-align:center; }
+ th.center { text-align:center; }
+ td.right { text-align:right; }
+ td.left { text-align:left; }
+ td.center { text-align:center; }
+ dt { font-weight: bold; }
+ div.figure { padding: 0.5em; }
+ div.figure p { text-align: center; }
+ div.inlinetask {
+ padding:10px;
+ border:2px solid gray;
+ margin:10px;
+ background: #ffffcc;
+ }
+ textarea { overflow-x: auto; }
+ .linenr { font-size:smaller }
+ .code-highlighted {background-color:#ffff00;}
+ .org-info-js_info-navigation { border-style:none; }
+ #org-info-js_console-label { font-size:10px; font-weight:bold;
+ white-space:nowrap; }
+ .org-info-js_search-highlight {background-color:#ffff00; color:#000000;
+ font-weight:bold; }
+ }
+}