diff options
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | README.org | 1 | ||||
-rw-r--r-- | TODO.org | 5 | ||||
-rw-r--r-- | bin/index.md.erb | 3 | ||||
-rw-r--r-- | bin/page.html.erb | 2 | ||||
-rw-r--r-- | bin/util.rb | 1 | ||||
-rw-r--r-- | out/dnd/DND.css | 86 | ||||
-rw-r--r-- | out/dnd/PsionicSchools.html | 4 | ||||
-rw-r--r-- | out/dnd/Psionist.html | 4 | ||||
-rw-r--r-- | out/dnd/SpellGauntlet.html | 4 | ||||
-rw-r--r-- | out/dnd/Tastavi.html | 4 | ||||
-rw-r--r-- | out/dnd/index.atom | 10 | ||||
-rw-r--r-- | out/dnd/index.html | 10 | ||||
-rw-r--r-- | out/dnd/index.md | 9 | ||||
-rw-r--r-- | out/index.atom | 10 | ||||
-rw-r--r-- | out/index.html | 12 | ||||
-rw-r--r-- | out/index.md | 11 | ||||
-rw-r--r-- | out/main.css | 134 | ||||
l---------[-rw-r--r--] | src/dnd/Background.png | bin | 2403525 -> 15 bytes | |||
-rw-r--r-- | src/dnd/Background1.png (renamed from src/dnd/Background.orig.png) | bin | 4791704 -> 4791704 bytes | |||
-rw-r--r-- | src/dnd/Background2.png (renamed from src/dnd/Background.orig.small.png) | bin | 1302911 -> 1302911 bytes | |||
-rw-r--r-- | src/dnd/Background3.png | bin | 0 -> 2403525 bytes | |||
-rw-r--r-- | src/dnd/DND.scss | 54 | ||||
-rw-r--r-- | src/dnd/PsionicSchools.org | 2 | ||||
-rw-r--r-- | src/dnd/Psionist.md | 2 | ||||
-rw-r--r-- | src/dnd/SpellGauntlet.org | 2 | ||||
-rw-r--r-- | src/dnd/Tastavi.md | 2 | ||||
-rw-r--r-- | src/main.scss | 123 |
28 files changed, 241 insertions, 256 deletions
@@ -19,7 +19,7 @@ html.out += $(foreach d,$(sort $(dir $(patsubst src/%,out/%,$(html.src)))),$dind mydir = $(patsubst %/,%,$(patsubst out/%,%,$(dir $@))) -all: $(html.out) out/main.css out/dnd/DND.css +all: $(html.out) out/main.css .PHONY: all bin/page = bin/page bin/util.rb bin/pandoc.rb @@ -59,6 +59,7 @@ generator: | pandoc_flags | "" | no | string ("--foo --bar") | | pandoc_format | either "markdown" or "org" | no | string ("markdown+extnsn1+extnsns2") | | html_head_extra | "" | Org-mode | string | +| class | "" | no | string (CSS class to apply to ~<body>~) | | tags | "" | LaTeX, kinda[fn:1] | string ("ES HB") or list (["ES", "HB"]) | | published[fn:2] | most recent git commit for file | no | string (Ruby ~Date.parse()~) or date[fn:3] | | updated[fn:2] | first git commit for file | no | string (Ruby ~Date.parse()~) or date[fn:3] | @@ -5,12 +5,7 @@ - categories (writing/programming/dnd) * style - org tables -- alignment (justify) - external link (and wiki-style icon!) - move breadcrumbs -- single-space footer (and possible box) -- tags on right -- no bullets on indexes -- make dates hover text * wish - case insenstive URLs diff --git a/bin/index.md.erb b/bin/index.md.erb index f7a463b..621a323 100644 --- a/bin/index.md.erb +++ b/bin/index.md.erb @@ -1,6 +1,7 @@ --- title: "<%= @path %>" +class: "index" --- <% @pages.sort_by{|a|a.published}.reverse.each do |a| %> - * <time><%= a.published.strftime('%Y-%m-%d') %></time> - [<%= a.title %>](<%= a.url %>)<% if a.updated != a.published %> (last updated <time><%= a.updated.strftime('%Y-%m-%d') %></time>)<% end %> <% a.tags.each do |t| %><%= t.html %><% end %><% end %> + * <a href="<%= a.url %>" title="Published on <%= a.published.strftime('%Y-%m-%d') %><% if a.updated != a.published %> (updated on<%= a.updated.strftime('%Y-%m-%d') %>)<% end %>"><%= a.title %></a><span><% a.tags.each do |t| %><%= t.html %><% end %></span><% end %> diff --git a/bin/page.html.erb b/bin/page.html.erb index 64afdf0..354b123 100644 --- a/bin/page.html.erb +++ b/bin/page.html.erb @@ -7,7 +7,7 @@ <link rel="alternate" type="application/atom+xml" href="./index.atom" name="web log entries"/> <%= @page.head %> </head> - <body> + <body<% if @page.class %> class="<%= @page.class %>"<% end %>> <header> <p class=breadcrumbs><%= @page.breadcrumbs %></p> <h1>AndrewDM</h1> diff --git a/bin/util.rb b/bin/util.rb index 3376699..1318f28 100644 --- a/bin/util.rb +++ b/bin/util.rb @@ -118,6 +118,7 @@ class Page def slug ; @slug ||= infile.sub(/\..*$/,'').sub(/^.*\//,'') ; end def content ; @content ||= pandoc.to('html5 '+(pandoc['pandoc_flags']||'')) ; end def head ; @head ||= pandoc['html_head_extra'] ; end + def class ; @class ||= pandoc['class'] ; end def tags if @tags.nil? diff --git a/out/dnd/DND.css b/out/dnd/DND.css deleted file mode 100644 index 400cee9..0000000 --- a/out/dnd/DND.css +++ /dev/null @@ -1,86 +0,0 @@ -/* This bit is taken from the defaults of org-mode export */ -body > article { - font-family: Times, serif; - font-size: 12pt; } - body > article .title { - text-align: center; } - body > article .todo { - color: red; } - body > article .done { - color: green; } - body > article .tag { - background-color: #add8e6; - font-weight: normal; } - body > article .timestamp { - color: #bebebe; } - body > article .timestamp-kwd { - color: #5f9ea0; } - body > article .right { - margin-left: auto; - margin-right: 0px; - text-align: right; } - body > article .left { - margin-left: 0px; - margin-right: auto; - text-align: left; } - body > article .center { - margin-left: auto; - margin-right: auto; - text-align: center; } - body > article p.verse { - margin-left: 3%; } - body > article pre { - border: 1pt solid #AEBDCC; - background-color: #F3F5F7; - padding: 5pt; - font-family: courier, monospace; - font-size: 90%; - overflow: auto; } - body > article table { - border-collapse: collapse; } - body > article td, body > article th { - vertical-align: top; } - body > article th.right { - text-align: center; } - body > article th.left { - text-align: center; } - body > article th.center { - text-align: center; } - body > article td.right { - text-align: right; } - body > article td.left { - text-align: left; } - body > article td.center { - text-align: center; } - body > article dt { - font-weight: bold; } - body > article div.figure { - padding: 0.5em; } - body > article div.figure p { - text-align: center; } - body > article div.inlinetask { - padding: 10px; - border: 2px solid gray; - margin: 10px; - background: #ffffcc; } - body > article textarea { - overflow-x: auto; } - body > article .linenr { - font-size: smaller; } - body > article .code-highlighted { - background-color: #ffff00; } - body > article .org-info-js_info-navigation { - border-style: none; } - body > article #org-info-js_console-label { - font-size: 10px; - font-weight: bold; - white-space: nowrap; } - body > article .org-info-js_search-highlight { - background-color: #ffff00; - color: #000000; - font-weight: bold; } - -/* Andrew wrote the following */ -body { - background: url(Background.png) repeat-y; - background-size: 100%; } diff --git a/out/dnd/PsionicSchools.html b/out/dnd/PsionicSchools.html index 54a4060..aefd0bc 100644 --- a/out/dnd/PsionicSchools.html +++ b/out/dnd/PsionicSchools.html @@ -5,9 +5,9 @@ <title>Schools of Psionics — AndrewDM</title> <link rel="stylesheet" href="/main.css"> <link rel="alternate" type="application/atom+xml" href="./index.atom" name="web log entries"/> - <link rel="stylesheet" href="DND.css"> + </head> - <body> + <body class="dnd"> <header> <p class=breadcrumbs><a href="/">Andrew D. Murrell</a> » <a href="/dnd">dnd</a> » <a href="/dnd/PsionicSchools.html">PsionicSchools</a></p> <h1>AndrewDM</h1> diff --git a/out/dnd/Psionist.html b/out/dnd/Psionist.html index b660283..21fc53c 100644 --- a/out/dnd/Psionist.html +++ b/out/dnd/Psionist.html @@ -5,9 +5,9 @@ <title>Psionist — AndrewDM</title> <link rel="stylesheet" href="/main.css"> <link rel="alternate" type="application/atom+xml" href="./index.atom" name="web log entries"/> - <link rel=stylesheet href=DND.css> + </head> - <body> + <body class="dnd"> <header> <p class=breadcrumbs><a href="/">Andrew D. Murrell</a> » <a href="/dnd">dnd</a> » <a href="/dnd/Psionist.html">Psionist</a></p> <h1>AndrewDM</h1> diff --git a/out/dnd/SpellGauntlet.html b/out/dnd/SpellGauntlet.html index 9f5d073..4c6eb23 100644 --- a/out/dnd/SpellGauntlet.html +++ b/out/dnd/SpellGauntlet.html @@ -5,9 +5,9 @@ <title>Spell Gauntlet: Practical Spellcasting — AndrewDM</title> <link rel="stylesheet" href="/main.css"> <link rel="alternate" type="application/atom+xml" href="./index.atom" name="web log entries"/> - <link rel="stylesheet" href="DND.css"> + </head> - <body> + <body class="dnd"> <header> <p class=breadcrumbs><a href="/">Andrew D. Murrell</a> » <a href="/dnd">dnd</a> » <a href="/dnd/SpellGauntlet.html">SpellGauntlet</a></p> <h1>AndrewDM</h1> diff --git a/out/dnd/Tastavi.html b/out/dnd/Tastavi.html index 05bf298..35c77e7 100644 --- a/out/dnd/Tastavi.html +++ b/out/dnd/Tastavi.html @@ -5,9 +5,9 @@ <title>Tastavi D'Maelnor of Llolethane — AndrewDM</title> <link rel="stylesheet" href="/main.css"> <link rel="alternate" type="application/atom+xml" href="./index.atom" name="web log entries"/> - <link rel=stylesheet href=DND.css> + </head> - <body> + <body class="dnd"> <header> <p class=breadcrumbs><a href="/">Andrew D. Murrell</a> » <a href="/dnd">dnd</a> » <a href="/dnd/Tastavi.html">Tastavi</a></p> <h1>AndrewDM</h1> diff --git a/out/dnd/index.atom b/out/dnd/index.atom index bcbbc73..0688a32 100644 --- a/out/dnd/index.atom +++ b/out/dnd/index.atom @@ -5,7 +5,7 @@ <link rel="self" type="application/atom+xml" href="./index.atom"/> <link rel="alternate" type="text/html" href="./"/> <link rel="alternate" type="text/markdown" href="./index.md"/> - <updated>2017-01-03T18:31:41-05:00</updated> + <updated>2017-01-03T19:05:27-05:00</updated> <author><name>Andrew Murrell</name><uri>https://andrewdm.me/</uri><email>ImFromNASA@gmail.com</email></author> <id>https://lukeshu.com/blog/</id> @@ -14,8 +14,8 @@ <link rel="alternate" type="text/html" href="./PsionicSchools.html"/> <link rel="alternate" type="text/markdown" href="./PsionicSchools.md"/> <id>https://lukeshu.com/blog/PsionicSchools.html</id> - <updated>2017-01-03T18:31:41-05:00</updated> - <published>2017-01-03T18:31:41-05:00</published> + <updated>2017-01-03T19:05:27-05:00</updated> + <published>2017-01-03T19:05:27-05:00</published> <title>Schools of Psionics</title> <content type="html"><p>From what I've seen, the most recent few 5e Unearthed Arcana dealing with &quot;Psionics and the Mystic&quot; have been getting somewhat mixed reviews. I don't think this is because of the mechanics--or rather not COMPLETELY because of the mechanics. Mechanics for psionics have always been weird, and the 5e style is good for D&amp;D, so maintaining that is good and won't get any gripes from me.</p> <p>But I think that no matter what purely mechanical tweaks the UA team has planned for the Mystic, the general lukewarm reception isn't going to change unless we get something else squared away first. Something a little deeper--something that helps us grasp Psionics in the same way we grasp Magic: with a complete and intuitive system.</p> @@ -98,8 +98,8 @@ <link rel="alternate" type="text/html" href="./SpellGauntlet.html"/> <link rel="alternate" type="text/markdown" href="./SpellGauntlet.md"/> <id>https://lukeshu.com/blog/SpellGauntlet.html</id> - <updated>2017-01-03T18:31:41-05:00</updated> - <published>2017-01-03T18:31:41-05:00</published> + <updated>2017-01-03T19:05:27-05:00</updated> + <published>2017-01-03T19:05:27-05:00</published> <title>Spell Gauntlet: Practical Spellcasting</title> <content type="html"><h1 id="teleport">Teleport</h1> <h2 id="wizard---ft.-ula-mindis">Wizard - ft. Ula Mindis</h2> diff --git a/out/dnd/index.html b/out/dnd/index.html index d414b44..f3b0bf4 100644 --- a/out/dnd/index.html +++ b/out/dnd/index.html @@ -7,7 +7,7 @@ <link rel="alternate" type="application/atom+xml" href="./index.atom" name="web log entries"/> </head> - <body> + <body class="index"> <header> <p class=breadcrumbs><a href="/">Andrew D. Murrell</a> » <a href="/dnd">dnd</a></p> <h1>AndrewDM</h1> @@ -27,10 +27,10 @@ <h1 class=title>dnd</h1> <ul> -<li><time>2017-01-03</time> - <a href="/dnd/PsionicSchools.html">Schools of Psionics</a> <a class="tag ES" href="/tags/ES.html">Essay</a><a class="tag HB" href="/tags/HB.html">Homebrew</a></li> -<li><time>2017-01-03</time> - <a href="/dnd/SpellGauntlet.html">Spell Gauntlet: Practical Spellcasting</a> <a class="tag FF" href="/tags/FF.html">Flash Fiction</a><a class="tag SS" href="/tags/SS.html">Short Story</a><a class="tag WP" href="/tags/WP.html">WIP</a></li> -<li><time>2016-08-30</time> - <a href="/dnd/Tastavi.html">Tastavi D'Maelnor of Llolethane</a> <a class="tag SS" href="/tags/SS.html">Short Story</a></li> -<li><time>2016-07-16</time> - <a href="/dnd/Psionist.html">Psionist</a> <a class="tag ES" href="/tags/ES.html">Essay</a><a class="tag HB" href="/tags/HB.html">Homebrew</a></li> +<li><a href="/dnd/PsionicSchools.html" title="Published on 2017-01-03">Schools of Psionics</a><span><a class="tag ES" href="/tags/ES.html">Essay</a><a class="tag HB" href="/tags/HB.html">Homebrew</a></span></li> +<li><a href="/dnd/SpellGauntlet.html" title="Published on 2017-01-03">Spell Gauntlet: Practical Spellcasting</a><span><a class="tag FF" href="/tags/FF.html">Flash Fiction</a><a class="tag SS" href="/tags/SS.html">Short Story</a><a class="tag WP" href="/tags/WP.html">WIP</a></span></li> +<li><a href="/dnd/Tastavi.html" title="Published on 2016-08-30">Tastavi D'Maelnor of Llolethane</a><span><a class="tag SS" href="/tags/SS.html">Short Story</a></span></li> +<li><a href="/dnd/Psionist.html" title="Published on 2016-07-16">Psionist</a><span><a class="tag ES" href="/tags/ES.html">Essay</a><a class="tag HB" href="/tags/HB.html">Homebrew</a></span></li> </ul> </article> diff --git a/out/dnd/index.md b/out/dnd/index.md index 0fcd88b..edd0226 100644 --- a/out/dnd/index.md +++ b/out/dnd/index.md @@ -1,9 +1,10 @@ --- title: "dnd" +class: "index" --- - * <time>2017-01-03</time> - [Schools of Psionics](/dnd/PsionicSchools.html) <a class="tag ES" href="/tags/ES.html">Essay</a><a class="tag HB" href="/tags/HB.html">Homebrew</a> - * <time>2017-01-03</time> - [Spell Gauntlet: Practical Spellcasting](/dnd/SpellGauntlet.html) <a class="tag FF" href="/tags/FF.html">Flash Fiction</a><a class="tag SS" href="/tags/SS.html">Short Story</a><a class="tag WP" href="/tags/WP.html">WIP</a> - * <time>2016-08-30</time> - [Tastavi D'Maelnor of Llolethane](/dnd/Tastavi.html) <a class="tag SS" href="/tags/SS.html">Short Story</a> - * <time>2016-07-16</time> - [Psionist](/dnd/Psionist.html) <a class="tag ES" href="/tags/ES.html">Essay</a><a class="tag HB" href="/tags/HB.html">Homebrew</a> + * <a href="/dnd/PsionicSchools.html" title="Published on 2017-01-03">Schools of Psionics</a><span><a class="tag ES" href="/tags/ES.html">Essay</a><a class="tag HB" href="/tags/HB.html">Homebrew</a></span> + * <a href="/dnd/SpellGauntlet.html" title="Published on 2017-01-03">Spell Gauntlet: Practical Spellcasting</a><span><a class="tag FF" href="/tags/FF.html">Flash Fiction</a><a class="tag SS" href="/tags/SS.html">Short Story</a><a class="tag WP" href="/tags/WP.html">WIP</a></span> + * <a href="/dnd/Tastavi.html" title="Published on 2016-08-30">Tastavi D'Maelnor of Llolethane</a><span><a class="tag SS" href="/tags/SS.html">Short Story</a></span> + * <a href="/dnd/Psionist.html" title="Published on 2016-07-16">Psionist</a><span><a class="tag ES" href="/tags/ES.html">Essay</a><a class="tag HB" href="/tags/HB.html">Homebrew</a></span> diff --git a/out/index.atom b/out/index.atom index 9131e66..859062d 100644 --- a/out/index.atom +++ b/out/index.atom @@ -5,7 +5,7 @@ <link rel="self" type="application/atom+xml" href="./index.atom"/> <link rel="alternate" type="text/html" href="./"/> <link rel="alternate" type="text/markdown" href="./index.md"/> - <updated>2017-01-03T18:31:41-05:00</updated> + <updated>2017-01-03T19:05:27-05:00</updated> <author><name>Andrew Murrell</name><uri>https://andrewdm.me/</uri><email>ImFromNASA@gmail.com</email></author> <id>https://lukeshu.com/blog/</id> @@ -14,8 +14,8 @@ <link rel="alternate" type="text/html" href="./PsionicSchools.html"/> <link rel="alternate" type="text/markdown" href="./PsionicSchools.md"/> <id>https://lukeshu.com/blog/PsionicSchools.html</id> - <updated>2017-01-03T18:31:41-05:00</updated> - <published>2017-01-03T18:31:41-05:00</published> + <updated>2017-01-03T19:05:27-05:00</updated> + <published>2017-01-03T19:05:27-05:00</published> <title>Schools of Psionics</title> <content type="html"><p>From what I've seen, the most recent few 5e Unearthed Arcana dealing with &quot;Psionics and the Mystic&quot; have been getting somewhat mixed reviews. I don't think this is because of the mechanics--or rather not COMPLETELY because of the mechanics. Mechanics for psionics have always been weird, and the 5e style is good for D&amp;D, so maintaining that is good and won't get any gripes from me.</p> <p>But I think that no matter what purely mechanical tweaks the UA team has planned for the Mystic, the general lukewarm reception isn't going to change unless we get something else squared away first. Something a little deeper--something that helps us grasp Psionics in the same way we grasp Magic: with a complete and intuitive system.</p> @@ -98,8 +98,8 @@ <link rel="alternate" type="text/html" href="./SpellGauntlet.html"/> <link rel="alternate" type="text/markdown" href="./SpellGauntlet.md"/> <id>https://lukeshu.com/blog/SpellGauntlet.html</id> - <updated>2017-01-03T18:31:41-05:00</updated> - <published>2017-01-03T18:31:41-05:00</published> + <updated>2017-01-03T19:05:27-05:00</updated> + <published>2017-01-03T19:05:27-05:00</published> <title>Spell Gauntlet: Practical Spellcasting</title> <content type="html"><h1 id="teleport">Teleport</h1> <h2 id="wizard---ft.-ula-mindis">Wizard - ft. Ula Mindis</h2> diff --git a/out/index.html b/out/index.html index c54d882..49e59df 100644 --- a/out/index.html +++ b/out/index.html @@ -7,7 +7,7 @@ <link rel="alternate" type="application/atom+xml" href="./index.atom" name="web log entries"/> </head> - <body> + <body class="index"> <header> <p class=breadcrumbs><a href="/">Andrew D. Murrell</a></p> <h1>AndrewDM</h1> @@ -27,11 +27,11 @@ <h1 class=title></h1> <ul> -<li><time>2017-01-03</time> - <a href="/dnd/PsionicSchools.html">Schools of Psionics</a> <a class="tag ES" href="/tags/ES.html">Essay</a><a class="tag HB" href="/tags/HB.html">Homebrew</a></li> -<li><time>2017-01-03</time> - <a href="/dnd/SpellGauntlet.html">Spell Gauntlet: Practical Spellcasting</a> <a class="tag FF" href="/tags/FF.html">Flash Fiction</a><a class="tag SS" href="/tags/SS.html">Short Story</a><a class="tag WP" href="/tags/WP.html">WIP</a></li> -<li><time>2016-12-31</time> - <a href="/Andrew.html">Hello Internet Person!</a></li> -<li><time>2016-08-30</time> - <a href="/dnd/Tastavi.html">Tastavi D'Maelnor of Llolethane</a> <a class="tag SS" href="/tags/SS.html">Short Story</a></li> -<li><time>2016-07-16</time> - <a href="/dnd/Psionist.html">Psionist</a> <a class="tag ES" href="/tags/ES.html">Essay</a><a class="tag HB" href="/tags/HB.html">Homebrew</a></li> +<li><a href="/dnd/PsionicSchools.html" title="Published on 2017-01-03">Schools of Psionics</a><span><a class="tag ES" href="/tags/ES.html">Essay</a><a class="tag HB" href="/tags/HB.html">Homebrew</a></span></li> +<li><a href="/dnd/SpellGauntlet.html" title="Published on 2017-01-03">Spell Gauntlet: Practical Spellcasting</a><span><a class="tag FF" href="/tags/FF.html">Flash Fiction</a><a class="tag SS" href="/tags/SS.html">Short Story</a><a class="tag WP" href="/tags/WP.html">WIP</a></span></li> +<li><a href="/Andrew.html" title="Published on 2016-12-31">Hello Internet Person!</a><span></span></li> +<li><a href="/dnd/Tastavi.html" title="Published on 2016-08-30">Tastavi D'Maelnor of Llolethane</a><span><a class="tag SS" href="/tags/SS.html">Short Story</a></span></li> +<li><a href="/dnd/Psionist.html" title="Published on 2016-07-16">Psionist</a><span><a class="tag ES" href="/tags/ES.html">Essay</a><a class="tag HB" href="/tags/HB.html">Homebrew</a></span></li> </ul> </article> diff --git a/out/index.md b/out/index.md index 4d54044..c68c94c 100644 --- a/out/index.md +++ b/out/index.md @@ -1,10 +1,11 @@ --- title: "" +class: "index" --- - * <time>2017-01-03</time> - [Schools of Psionics](/dnd/PsionicSchools.html) <a class="tag ES" href="/tags/ES.html">Essay</a><a class="tag HB" href="/tags/HB.html">Homebrew</a> - * <time>2017-01-03</time> - [Spell Gauntlet: Practical Spellcasting](/dnd/SpellGauntlet.html) <a class="tag FF" href="/tags/FF.html">Flash Fiction</a><a class="tag SS" href="/tags/SS.html">Short Story</a><a class="tag WP" href="/tags/WP.html">WIP</a> - * <time>2016-12-31</time> - [Hello Internet Person!](/Andrew.html) - * <time>2016-08-30</time> - [Tastavi D'Maelnor of Llolethane](/dnd/Tastavi.html) <a class="tag SS" href="/tags/SS.html">Short Story</a> - * <time>2016-07-16</time> - [Psionist](/dnd/Psionist.html) <a class="tag ES" href="/tags/ES.html">Essay</a><a class="tag HB" href="/tags/HB.html">Homebrew</a> + * <a href="/dnd/PsionicSchools.html" title="Published on 2017-01-03">Schools of Psionics</a><span><a class="tag ES" href="/tags/ES.html">Essay</a><a class="tag HB" href="/tags/HB.html">Homebrew</a></span> + * <a href="/dnd/SpellGauntlet.html" title="Published on 2017-01-03">Spell Gauntlet: Practical Spellcasting</a><span><a class="tag FF" href="/tags/FF.html">Flash Fiction</a><a class="tag SS" href="/tags/SS.html">Short Story</a><a class="tag WP" href="/tags/WP.html">WIP</a></span> + * <a href="/Andrew.html" title="Published on 2016-12-31">Hello Internet Person!</a><span></span> + * <a href="/dnd/Tastavi.html" title="Published on 2016-08-30">Tastavi D'Maelnor of Llolethane</a><span><a class="tag SS" href="/tags/SS.html">Short Story</a></span> + * <a href="/dnd/Psionist.html" title="Published on 2016-07-16">Psionist</a><span><a class="tag ES" href="/tags/ES.html">Essay</a><a class="tag HB" href="/tags/HB.html">Homebrew</a></span> diff --git a/out/main.css b/out/main.css index 0d2f6ec..05dc89e 100644 --- a/out/main.css +++ b/out/main.css @@ -60,34 +60,14 @@ article { max-width: 6.5in; margin: 0 auto; border-bottom: solid 1px #333333; } - article #constructionBanner { - height: 50px; - background-color: #f89406; } - article #constructionMessage { - text-align: center; - padding: 12px; } - article #search { - padding: 10px; } - article #sidebar { - border: 1px solid black; - padding: 5px; - margin: 5px; - float: right; } - article li { - font-size: 14px; } - article .spacer { - width: 50px; - display: inline; - padding: 0px 50px 0px 50px; } article .tag { - font-size: 11px; - height: 13px; - padding: 4px 7px 5px 7px; - border-radius: 2px; - text-align: center; - text-decoration: none; + font-size: 60%; + font-family: sans-serif; color: white; - font-family: sans-serif; } + text-decoration: none; + text-align: center; + padding: 4px 7px 5px 7px; + border-radius: 2px; } article .tag.FF { background: FireBrick; } article .tag.SS { @@ -103,5 +83,103 @@ article { color: black; } footer { - margin: 0 2em; - font-size: smaller; } + max-width: 6.5in; + margin: 0 auto; + padding: 1em 0; + font-size: 60%; } + footer p { + margin: 0; } + +body.index article ul { + list-style: none; + display: table; } + body.index article ul li { + display: table-row; + line-height: 1.3em; } + body.index article ul li > * { + display: table-cell; + padding-right: 0.1em; } + +body.dnd { + background: url(dnd/Background.png) repeat-y; + background-size: 100%; + /* This bit mostly taken from the defaults of org-mode export */ } + body.dnd article { + font-family: Times, serif; + font-size: 12pt; } + body.dnd article p { + text-align: justify; } + body.dnd article .title { + text-align: center; } + body.dnd article .todo { + color: red; } + body.dnd article .done { + color: green; } + body.dnd article .timestamp { + color: #bebebe; } + body.dnd article .timestamp-kwd { + color: #5f9ea0; } + body.dnd article .right { + margin-left: auto; + margin-right: 0px; + text-align: right; } + body.dnd article .left { + margin-left: 0px; + margin-right: auto; + text-align: left; } + body.dnd article .center { + margin-left: auto; + margin-right: auto; + text-align: center; } + body.dnd article p.verse { + margin-left: 3%; } + body.dnd article pre { + border: 1pt solid #AEBDCC; + background-color: #F3F5F7; + padding: 5pt; + font-family: courier, monospace; + font-size: 90%; + overflow: auto; } + body.dnd article table { + border-collapse: collapse; } + body.dnd article td, body.dnd article th { + vertical-align: top; } + body.dnd article th.right { + text-align: center; } + body.dnd article th.left { + text-align: center; } + body.dnd article th.center { + text-align: center; } + body.dnd article td.right { + text-align: right; } + body.dnd article td.left { + text-align: left; } + body.dnd article td.center { + text-align: center; } + body.dnd article dt { + font-weight: bold; } + body.dnd article div.figure { + padding: 0.5em; } + body.dnd article div.figure p { + text-align: center; } + body.dnd article div.inlinetask { + padding: 10px; + border: 2px solid gray; + margin: 10px; + background: #ffffcc; } + body.dnd article textarea { + overflow-x: auto; } + body.dnd article .linenr { + font-size: smaller; } + body.dnd article .code-highlighted { + background-color: #ffff00; } + body.dnd article .org-info-js_info-navigation { + border-style: none; } + body.dnd article #org-info-js_console-label { + font-size: 10px; + font-weight: bold; + white-space: nowrap; } + body.dnd article .org-info-js_search-highlight { + background-color: #ffff00; + color: #000000; + font-weight: bold; } diff --git a/src/dnd/Background.png b/src/dnd/Background.png Binary files differindex c932f67..4387255 100644..120000 --- a/src/dnd/Background.png +++ b/src/dnd/Background.png diff --git a/src/dnd/Background.orig.png b/src/dnd/Background1.png Binary files differindex 837ce8c..837ce8c 100644 --- a/src/dnd/Background.orig.png +++ b/src/dnd/Background1.png diff --git a/src/dnd/Background.orig.small.png b/src/dnd/Background2.png Binary files differindex becc4c1..becc4c1 100644 --- a/src/dnd/Background.orig.small.png +++ b/src/dnd/Background2.png diff --git a/src/dnd/Background3.png b/src/dnd/Background3.png Binary files differnew file mode 100644 index 0000000..c932f67 --- /dev/null +++ b/src/dnd/Background3.png diff --git a/src/dnd/DND.scss b/src/dnd/DND.scss deleted file mode 100644 index fcb258c..0000000 --- a/src/dnd/DND.scss +++ /dev/null @@ -1,54 +0,0 @@ -/* This bit is taken from the defaults of org-mode export */ - -body > 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; } -} -/* Andrew wrote the following */ - -body { - background: url(Background.png) repeat-y; - background-size: 100%; -} diff --git a/src/dnd/PsionicSchools.org b/src/dnd/PsionicSchools.org index 91f84a1..bd3ab60 100644 --- a/src/dnd/PsionicSchools.org +++ b/src/dnd/PsionicSchools.org @@ -1,5 +1,5 @@ #+TITLE: Schools of Psionics
-#+HTML_HEAD_EXTRA: <link rel="stylesheet" href="DND.css">
+#+CLASS: dnd
#+TAGS: ES HB
From what I've seen, the most recent few 5e Unearthed Arcana dealing
diff --git a/src/dnd/Psionist.md b/src/dnd/Psionist.md index 1c7b9e5..58ac623 100644 --- a/src/dnd/Psionist.md +++ b/src/dnd/Psionist.md @@ -1,7 +1,7 @@ --- title: "Psionist" updated: "2016-07-16T21:01-0400" -html_head_extra: "<link rel=stylesheet href=DND.css>" +class: "dnd" tags: ES HB --- diff --git a/src/dnd/SpellGauntlet.org b/src/dnd/SpellGauntlet.org index cb97497..8cf1c0d 100644 --- a/src/dnd/SpellGauntlet.org +++ b/src/dnd/SpellGauntlet.org @@ -1,5 +1,5 @@ #+TITLE: Spell Gauntlet: Practical Spellcasting -#+HTML_HEAD_EXTRA: <link rel="stylesheet" href="DND.css"> +#+CLASS: dnd #+TAGS: FF SS WP * Teleport diff --git a/src/dnd/Tastavi.md b/src/dnd/Tastavi.md index 0f7eb12..d9b7e86 100644 --- a/src/dnd/Tastavi.md +++ b/src/dnd/Tastavi.md @@ -1,7 +1,7 @@ --- title: "Tastavi D'Maelnor of Llolethane" updated: "2016-08-30 Tue 23:56" -html_head_extra: "<link rel=stylesheet href=DND.css>" +class: "dnd" tags: SS --- diff --git a/src/main.scss b/src/main.scss index 4917724..b4f8681 100644 --- a/src/main.scss +++ b/src/main.scss @@ -84,46 +84,15 @@ article { max-width: 6.5in; margin: 0 auto; - #constructionBanner { - height: 50px; - background-color: #f89406; - } - - #constructionMessage { + .tag { + font-size: 60%; + font-family: sans-serif; + color: white; + text-decoration: none; text-align: center; - padding: 12px; - } - - #search { - padding: 10px; - } - #sidebar { - border: 1px solid black; - padding: 5px; - margin: 5px; - float: right; - } - - li { - font-size: 14px; - } - - .spacer { - width: 50px; - display: inline; - padding: 0px 50px 0px 50px; - } - - .tag { - font-size: 11px; - height: 13px; padding: 4px 7px 5px 7px; border-radius: 2px; - text-align: center; - text-decoration: none; - color: white; - font-family: sans-serif; } .tag.FF { background: FireBrick; } .tag.SS { background: SeaGreen; } @@ -136,6 +105,84 @@ article { } footer { - margin: 0 2em; - font-size: smaller; + max-width: 6.5in; + margin: 0 auto; + padding: 1em 0; + font-size: 60%; + p { + margin: 0; + } +} + +body.index { + article { + ul { + list-style: none; + display: table; + li { + display: table-row; + line-height: 1.3em; + & > * { + display: table-cell; + padding-right: 0.1em; + } + } + } + } +} + +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: Times, serif; + font-size: 12pt; + + 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; } + } } |