From 12e6866e0f2e6ca9e135bc0f4aea162b6e5b4696 Mon Sep 17 00:00:00 2001 From: Peter Molnar Date: Thu, 29 Mar 2018 16:06:52 +0000 Subject: [PATCH] theme update: footer with dt displayed, removed unneeded svg symbols, various layout fixes --- templates/Category.html | 5 ++-- templates/Category_article.html | 4 ++- templates/Singular.html | 14 +++------- templates/Singular_title.html | 2 +- templates/block_footer.html | 44 ++++++++++++++++++++---------- templates/style-dark.css | 47 ++++++++++++--------------------- templates/symbols.svg | 29 -------------------- 7 files changed, 57 insertions(+), 88 deletions(-) diff --git a/templates/Category.html b/templates/Category.html index d3dead6..d08f15e 100644 --- a/templates/Category.html +++ b/templates/Category.html @@ -27,9 +27,10 @@
{{ post.summary }} - […] + + {% if post.lang == 'hu' %}Tovább »{% else %}Continue »{% endif %} + -
{% else %}
diff --git a/templates/Category_article.html b/templates/Category_article.html index 5e1d62b..d2467b0 100644 --- a/templates/Category_article.html +++ b/templates/Category_article.html @@ -29,7 +29,9 @@
{{ post.summary }} - […] + + {% if post.lang == 'hu' %}Tovább »{% else %}Continue »{% endif %} +
diff --git a/templates/Singular.html b/templates/Singular.html index 8bfc78d..1b53143 100644 --- a/templates/Singular.html +++ b/templates/Singular.html @@ -97,18 +97,10 @@ {% if post.syndicate|length %} {% endif %} diff --git a/templates/Singular_title.html b/templates/Singular_title.html index 6a33523..700ac41 100644 --- a/templates/Singular_title.html +++ b/templates/Singular_title.html @@ -9,7 +9,7 @@ {% else %} - + {{ post.title }} {% endif %} diff --git a/templates/block_footer.html b/templates/block_footer.html index 043d7f6..90fe33e 100644 --- a/templates/block_footer.html +++ b/templates/block_footer.html @@ -3,36 +3,52 @@ diff --git a/templates/style-dark.css b/templates/style-dark.css index 5b44993..2b2cfe0 100644 --- a/templates/style-dark.css +++ b/templates/style-dark.css @@ -213,14 +213,12 @@ code.sourceCode span.ss { color: limegreen; } code.sourceCode span.st { color: magenta; } code.sourceCode span.va { color: turquoise; } - .limit, .content-body { max-width: 72ch; - margin: 1rem auto; + margin: 0 auto; } - .footnoteRef, .footnoteRef:hover { border: 0; @@ -315,14 +313,13 @@ code.sourceCode span.va { color: turquoise; } font-size: 0.86rem; } -.content-footer h2, -.content-footer svg, -.content-footer dl dt { +.content-footer h2 { display:none; visibility: hidden; } -.content-footer dl dd { +.content-footer dl dd, +.content-footer dl dt,{ display:inline-block; } @@ -400,13 +397,12 @@ input[type=submit]:hover { border-bottom: 3px solid #fefefe; } - .h-feed h2 { margin-bottom: 1rem; } .h-feed .h-entry { - margin-left: 1rem; + margin: 0 1rem; } .h-feed .h-entry h3 { @@ -427,17 +423,24 @@ input[type=submit]:hover { font-size: 0.9rem; } -.h-entry.singular .e-content a, -.h-entry.singular .e-summary a { +.h-entry .e-content a, +.h-entry .e-summary a { color:#5193D4; } -.h-feed .h-entry h2 a:hover, -.h-entry.singular .e-content a:hover, -.h-entry.singular .e-summary a:hover { +.h-entry a:hover { color:#71B3F4; } +/* +.h-feed .h-entry a.has-summary::after { + content: '\00BB'; +} +*/ + +.h-entry.singular h1 { + margin: 2rem 0 1rem 0; +} .h-entry.singular footer p { color: #999; @@ -499,24 +502,16 @@ figcaption { } .follow a, -.more a, .pagination a { padding: 0 0 0.3rem 0; border-bottom: 3px solid #999; } .follow a:hover, -.more a:hover, .pagination a:hover { border-bottom-color: #fff; } -/* -.more a:before { - content:'Continue \00BB'; -} -*/ - .pagination ul { text-align:center; list-style-type: none; @@ -560,14 +555,6 @@ figcaption { .w25 { width: 24%; } -/* -.u-in-reply-to::before { - content: 'RE:'; - dislay: inline-block; - margin-right: 0.3rem; - font-weight: bold; -} -*/ .search-section { margin-bottom: 1rem; diff --git a/templates/symbols.svg b/templates/symbols.svg index 491c918..c7cfa11 100644 --- a/templates/symbols.svg +++ b/templates/symbols.svg @@ -61,33 +61,4 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - -