From 64ff825aec91fd0f914d05cf17cd299be83b165c Mon Sep 17 00:00:00 2001 From: Christian Weiske Date: Mon, 26 Mar 2012 23:55:46 +0200 Subject: anchors for file names --- data/templates/base.htm | 2 +- data/templates/display.htm | 2 +- data/templates/exception.htm | 2 +- www/phorkie.css | 16 ++++++++++++++++ 4 files changed, 19 insertions(+), 3 deletions(-) create mode 100644 www/phorkie.css diff --git a/data/templates/base.htm b/data/templates/base.htm index f406f00..d0c3cee 100644 --- a/data/templates/base.htm +++ b/data/templates/base.htm @@ -1,7 +1,7 @@ - + {% block title %}{% endblock %} - Phorkie diff --git a/data/templates/display.htm b/data/templates/display.htm index 6575617..afdc75c 100644 --- a/data/templates/display.htm +++ b/data/templates/display.htm @@ -9,7 +9,7 @@ {% for file in repo.getFiles %}
-

{{file.getFilename}}

+

{{file.getFilename}}

raw

diff --git a/data/templates/exception.htm b/data/templates/exception.htm index 805342a..410c3c0 100644 --- a/data/templates/exception.htm +++ b/data/templates/exception.htm @@ -1,7 +1,7 @@ - + Error - Phorkie diff --git a/www/phorkie.css b/www/phorkie.css new file mode 100644 index 0000000..d6d1173 --- /dev/null +++ b/www/phorkie.css @@ -0,0 +1,16 @@ +/* show IDs for anchors */ +h1[id]:hover a.anchorlink:before, +h2[id]:hover a.anchorlink:before, +h3[id]:hover a.anchorlink:before, +h4[id]:hover a.anchorlink:before, +h5[id]:hover a.anchorlink:before, +h6[id]:hover a.anchorlink:before { + content: "\00B6";/* pilcrow */ + color: #888; + font-size: smaller; +} +a.anchorlink { + text-decoration: none; + margin-left: 0.5em; + font-size: smaller; +} -- cgit v1.2.3