From ae7932a75b1db0f1e588b1c2cef11c439fbc927b Mon Sep 17 00:00:00 2001 From: Peter Molnar Date: Mon, 12 Jun 2017 14:19:09 +0000 Subject: [PATCH] RSS cleanup, exif to definition list, style additions for favs & stuff --- archive.html | 12 +++++----- block_exif.html | 39 +++++++++++++++++++------------- block_footer.html | 2 +- block_header_close.html | 2 +- rss.html | 50 +++++++++++++++++++++-------------------- singular.html | 2 +- style.css | 47 +++++++++++++++++++++++++++++++------- 7 files changed, 97 insertions(+), 57 deletions(-) diff --git a/archive.html b/archive.html index 9a23ac6..956dee2 100644 --- a/archive.html +++ b/archive.html @@ -33,11 +33,11 @@ - + - . All rights reserved."> + {% include 'block_header_close.html' %} @@ -95,8 +95,8 @@ @@ -109,7 +109,7 @@ {{ post.title }} {% else %} - {% endif %} {{ post.summary }} + {% endif %} {{ post.sumhtml }} @@ -199,4 +199,4 @@ {% endif %} -{% include 'block_footer.html' %} \ No newline at end of file +{% include 'block_footer.html' %} diff --git a/block_exif.html b/block_exif.html index 3c49c8c..71acb07 100644 --- a/block_exif.html +++ b/block_exif.html @@ -1,49 +1,56 @@ diff --git a/block_footer.html b/block_footer.html index 9e183f8..4902846 100644 --- a/block_footer.html +++ b/block_footer.html @@ -33,7 +33,7 @@
RSS feed
- RSS + RSS
diff --git a/block_header_close.html b/block_header_close.html index e378428..5412174 100644 --- a/block_header_close.html +++ b/block_header_close.html @@ -143,4 +143,4 @@
- \ No newline at end of file + diff --git a/rss.html b/rss.html index 1fd7fa4..93bf3d4 100644 --- a/rss.html +++ b/rss.html @@ -1,11 +1,7 @@ {%- if taxonomy.name -%} @@ -16,37 +12,43 @@ {{ title }} - {{ site.url }}{{ taxonomy.url }}feed/ - {{ description }} - {{ site.lang }} - daily - 1 - {% if taxonomy.url|length > 0 %} + + {{ site.author.email }} ({{ site.author.name }}) + {{ site.author.email }} ({{ site.author.name }}) + {{ taxonomy.lastmod|date("%a, %d %b %Y %T %z") }} + Copyright {{ taxonomy.lastmod|date("%Y") }} {{ site.author.name }} +{% if taxonomy.url|length > 0 -%} - {% endif %} +{%- endif %} {% for post in posts %} {% if post.title %}{{ post.title }}{% endif%} {{ site.url }}/{{ post.slug }}/ - {{ post.published|date("%a, %d %b %Y %T %z") }} - - {{ site.url }}/{{ post.slug }} - +{%- if post.summary|length > 0 %} + - {{ post.lang }} - {% if post.tags %} - {% for tname in post.tags %} - - {% endfor %} - {% endif %} - {% if post.rssenclosure %} - - {% endif %} +{%- else %} + +{% endif -%} + {{ site.author.email }} ({{ site.author.name }}) + {{ post.published|date("%a, %d %b %Y %T %z") }} + {{ site.url }}/{{ post.slug }} + {{ post.lang }} +{%- if post.tags %}{% for tname in post.tags %} + {{ tname }}> +{% endfor %}{% endif -%} +{%- if post.rssenclosure %} + +{% endif -%} {% endfor %} diff --git a/singular.html b/singular.html index 768c7ad..25502ac 100644 --- a/singular.html +++ b/singular.html @@ -67,7 +67,7 @@ {% if post.summary %}
- {{ post.summary }} + {{ post.sumhtml }}
{% endif %} diff --git a/style.css b/style.css index 552b282..2eccc8c 100644 --- a/style.css +++ b/style.css @@ -1,11 +1,9 @@ - - * { +* { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; } - html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, @@ -593,6 +591,7 @@ input[type=submit]:hover { font-size: 0.8rem; } +.favurl img, .adaptimg { display: block; max-height: 98vh; @@ -604,6 +603,38 @@ input[type=submit]:hover { outline: 1px solid #333; } +.favurl, +.favurl:hover { + border: none; + position: relative; + display: block; +} + +.favurl img { + z-index:1; + opacity: 0.7; +} + +.favurl::after, +.favurl:hover::after { + display: block; + position: absolute; + opacity: 0.6; + right: 0; + left: 0; + bottom: 1rem; + content:attr(href); + padding: 0.5rem 1rem; + font-weight: bold; + color: #fff; + background-color: #000; +} + +.favurl:hover::after { + opacity: 0.8; +} + + .w25, .w33 { display: inline-block; @@ -637,14 +668,15 @@ input[type=submit]:hover { font-size: 0.7rem; text-align:center; } -.exif ul { - list-style-type: none; +.exif dt { + display: none; + visibility: hidden; } -.exif ul li { +.exif dd { display: inline-block; margin: 0 0.3rem; } -.exif ul li i { +.exif dd i { margin-right: 0.3rem; } @@ -912,4 +944,3 @@ input[type=submit]:hover { } } - \ No newline at end of file