From c98b7cbc4e51b0c566fa0cfb5021dbcb50cd2c99 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Fri, 22 Dec 2017 23:31:29 -0500 Subject: bring back dnd-style --- src/main-dnd.scss | 68 ---------------------------------------------------- src/main.scss | 71 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 71 insertions(+), 68 deletions(-) delete mode 100644 src/main-dnd.scss diff --git a/src/main-dnd.scss b/src/main-dnd.scss deleted file mode 100644 index 712ae04..0000000 --- a/src/main-dnd.scss +++ /dev/null @@ -1,68 +0,0 @@ -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; } - } -} diff --git a/src/main.scss b/src/main.scss index 89044e5..3972b74 100644 --- a/src/main.scss +++ b/src/main.scss @@ -202,3 +202,74 @@ body.index { } } } + +/* D&D-style pages ************************************************************/ + +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; } + } +} -- cgit v1.1-4-g5e80