summaryrefslogtreecommitdiff
path: root/src/main.scss
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2017-01-03 19:05:27 -0500
committerLuke Shumaker <lukeshu@sbcglobal.net>2017-01-03 19:05:27 -0500
commit4e1129f36187897e2154edbe4c68f5e0e0c21a5e (patch)
tree4ecd6909b4aeed9769a23dcae6dd0a2e9600fd64 /src/main.scss
parent9436b60185b7ec661e2ee47186679339249f0aa6 (diff)
Add "class" metadata attribute; use it instead of separate CSS files.
Diffstat (limited to 'src/main.scss')
-rw-r--r--src/main.scss54
1 files changed, 54 insertions, 0 deletions
diff --git a/src/main.scss b/src/main.scss
index 4917724..c40cb52 100644
--- a/src/main.scss
+++ b/src/main.scss
@@ -139,3 +139,57 @@ footer {
margin: 0 2em;
font-size: smaller;
}
+
+body.dnd {
+ background: url(dnd/Background.png) repeat-y;
+ background-size: 100%;
+
+ /* This bit is taken from the defaults of org-mode export */
+ article {
+ font-family: Times, serif; font-size: 12pt;
+ .title { text-align: center; }
+ .todo { color: red; }
+ .done { color: green; }
+ .tag { background-color: #add8e6; font-weight:normal }
+ .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; }
+ }
+}