From 9d8dba5acd00edec29e385ac859bc28c9991dae9 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sun, 26 Oct 2014 21:42:22 -0700 Subject: Added (interact) links to spec, to open examples in dingus. --- template.html | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'template.html') diff --git a/template.html b/template.html index 0eaf299..b17d285 100644 --- a/template.html +++ b/template.html @@ -47,6 +47,7 @@ pre.html span.space:after { border: 1px solid #666; } div.examplenum { font-size: 82%; text-align: left; } +a.dingus { color: red; } a.footnoteRef > sup:before { content: "["; } @@ -58,6 +59,20 @@ a.footnoteRef > sup { font-size: 100%; } + + $if(title)$ -- cgit v1.2.3 From 103d3d37324d8629d7dc1d549a38fbb8981b1f00 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Mon, 27 Oct 2014 11:23:20 -0700 Subject: Watermark old versions of the spec. --- template.html | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'template.html') diff --git a/template.html b/template.html index b17d285..4c64524 100644 --- a/template.html +++ b/template.html @@ -46,6 +46,19 @@ pre.html { background-color: #C9CaCE; } pre.html span.space:after { border: 1px solid #666; } +#watermark { + position:fixed; + bottom:0px; + left:0px; + padding: 1em; + width: 100%; + font-size: 120%; + opacity:0.7; + z-index:99; + background-color: black; + color: white; +} +#watermark a { color: white; } div.examplenum { font-size: 82%; text-align: left; } a.dingus { color: red; } a.footnoteRef > sup:before { @@ -87,6 +100,7 @@ $for(author)$$author$$sep$; $endfor$
$toc$
+
$body$ -- cgit v1.2.3 From cc7788cf62999d317626301960f83d42219acb7e Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Mon, 27 Oct 2014 12:38:01 -0700 Subject: Improved (interact) links in spec. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Link now has pointer cursor. - → is converted to tab. Closes #174. --- template.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'template.html') diff --git a/template.html b/template.html index 4c64524..24b2372 100644 --- a/template.html +++ b/template.html @@ -60,7 +60,7 @@ pre.html span.space:after { } #watermark a { color: white; } div.examplenum { font-size: 82%; text-align: left; } -a.dingus { color: red; } +a.dingus { color: red; cursor: pointer; } a.footnoteRef > sup:before { content: "["; } @@ -78,7 +78,8 @@ $$(document).ready(function() { $$("div.example").each(function(e) { var t = $$(this).find('pre.markdown > code').text(); $$(this).find('a.dingus').click(function(f) { - window.open('/dingus.html?text=' + encodeURIComponent(t)); + window.open('/dingus.html?text=' + + encodeURIComponent(t.replace(/→/g,"\t"))); }); }); $$("pre.markdown").dblclick(function(e) { window.open('/dingus.html?text=' + -- cgit v1.2.3 From 388b70aac60e9058e86ab922ab95d254e9f64a7b Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Mon, 27 Oct 2014 13:58:55 -0700 Subject: Fixed watermark. - No longer shows blank watermark on recent version. - Fixed broken Makefile. --- template.html | 1 - 1 file changed, 1 deletion(-) (limited to 'template.html') diff --git a/template.html b/template.html index 24b2372..bc5ba26 100644 --- a/template.html +++ b/template.html @@ -55,7 +55,6 @@ pre.html span.space:after { font-size: 120%; opacity:0.7; z-index:99; - background-color: black; color: white; } #watermark a { color: white; } -- cgit v1.2.3