theme update: footer with dt displayed, removed unneeded svg symbols,

various layout fixes
This commit is contained in:
Peter Molnar 2018-03-29 16:06:52 +00:00
parent fc31ef13f1
commit 12e6866e0f
7 changed files with 57 additions and 88 deletions

View file

@ -27,9 +27,10 @@
<div class="e-summary entry-summary">
{{ post.summary }}
<span class="more">
<a href="/{{ post.slug }}" title="{{ post.title }}">[…]</a>
<a href="/{{ post.slug }}" title="{{ post.title }}">
{% if post.lang == 'hu' %}Tovább »{% else %}Continue »{% endif %}
</a>
</span>
<br class="clear" />
</div>
{% else %}
<div class="e-content entry-content">

View file

@ -29,7 +29,9 @@
<div class="e-summary entry-summary">
{{ post.summary }}
<span class="more">
<a href="/{{ post.slug }}" title="{{ post.title }}">[…]</a>
<a href="/{{ post.slug }}" title="{{ post.title }}">
{% if post.lang == 'hu' %}Tovább »{% else %}Continue »{% endif %}
</a>
</span>
<br class="clear" />
</div>

View file

@ -97,18 +97,10 @@
{% if post.syndicate|length %}
<section class="syndication">
<!-- <h2><a name="syndication"></a>Syndicated copies</h2>
<ul>
{% for url in post.syndicate %}
<li>
<a href="{{ url }}" class="u-syndication"></a>
</li>
{% endfor %}
</ul>
-->
{% for url in post.syndicate %}
<a href="{{ url }}" class="u-syndication"></a>
{% for url in post.syndicate %}
<a href="{{ url }}" class="u-syndication"></a>
{% endfor %}
</section>
{% endif %}

View file

@ -9,7 +9,7 @@
</a>
</span>
{% else %}
<a href="/{{ post.slug }}/" title="{{ post.title }}">
<a href="/{{ post.slug }}/" title="{{ post.title }}" class="{% if post.summary %}has-summary{% endif %}">
<span class="entry-title p-name">{{ post.title }}</span>
</a>
{% endif %}

View file

@ -3,36 +3,52 @@
<nav class="footer-contact p-author h-card vcard limit">
<h2>Author</h2>
<dl>
<dt>name</dt>
<dd>
<dt>
<img class="photo avatar u-photo u-avatar" src="{{ site.author.avatar }}" alt="Photo of {{ site.author.name }}" />
<a class="fn p-name url u-url u-uid" href="{{ site.author.url }}/about.html">{{ site.author.name }}</a>
</dt>
<dd>
<a class="fn p-name url u-url u-uid" href="{{ site.author.url }}/about.html">
{{ site.author.name }}
</a>
</dd>
<dt>email</dt>
<dd>
<a rel="me" class="u-email email" href="mailto:{{ site.author.email }}">{{ site.author.email }}</a>
<a rel="me" class="u-email email" href="mailto:{{ site.author.email }}">
{{ site.author.email }}
</a>
</dd>
{% if site.author.sip %}
<dt>SIP</dt>
<dd>
<a rel="me" class="u-sip sip" href="sip:{{ site.author.sip }}">sip:{{ site.author.sip }}</a>
<a rel="me" class="u-sip sip" href="sip:{{ site.author.sip }}">
{{ site.author.sip }}
</a>
</dd>
{% endif %}
{% if site.author.xmpp %}
<dt>XMPP</dt>
<dd>
<a rel="me" class="u-xmpp xmpp" href="xmpp:{{ site.author.xmpp }}">{{ site.author.xmpp }}</a>
</dd>
{% endif %}
{% if site.author.gpg %}
<dt>GPG/PGP public key</dt>
<dt>GPG</dt>
<dd>
<a rel="me" class="u-gpg gpg" href="{{ site.url }}/{{ site.author.gpg }}">GPG key</a>
<a rel="me" class="u-gpg gpg" href="{{ site.url }}/{{ site.author.gpg }}">key</a>
</dd>
{% endif %}
</dl>
<dl>
{% for silo, url in site.author.socials.items() %}
<dt>{{ silo }}</dt>
{% if site.author.flickr %}
<dt>flickr</dt>
<dd>
<a rel="me" class="u-{{ silo }} url u-url" href="{{ url }}">{{ silo }}</a>
<a rel="me" class="u-flickr" href="https://flickr.com/people/{{ site.author.flickr }}">{{ site.author.flickr }}</a>
</dd>
{% endfor %}
{% endif %}
{% if site.author.github %}
<dt>github</dt>
<dd>
<a rel="me" class="u-github" href="https://github.com/{{ site.author.github }}">{{ site.author.github }}</a>
</dd>
{% endif %}
</dl>
</nav>
</footer>

View file

@ -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;

View file

@ -61,33 +61,4 @@
<symbol id="icon-creative-commons" viewBox="0 0 16 16">
<path d="M5.402 11.009c1.464 0 2.259-0.893 2.295-0.929 0.071-0.089 0.089-0.223 0.027-0.321l-0.402-0.732c-0.036-0.080-0.125-0.134-0.214-0.152-0.089-0.009-0.179 0.027-0.241 0.098-0.009 0-0.571 0.598-1.393 0.598-0.902 0-1.554-0.661-1.554-1.58 0-0.911 0.634-1.563 1.518-1.563 0.741 0 1.232 0.5 1.232 0.5 0.063 0.063 0.143 0.098 0.232 0.089s0.17-0.054 0.214-0.125l0.473-0.696c0.071-0.107 0.063-0.25-0.018-0.348-0.027-0.036-0.75-0.857-2.17-0.857-1.759 0-3.071 1.295-3.071 3.009 0 1.741 1.286 3.009 3.071 3.009zM11.027 11.009c1.473 0 2.259-0.893 2.295-0.929 0.071-0.089 0.089-0.223 0.036-0.321l-0.402-0.732c-0.045-0.080-0.125-0.134-0.223-0.152-0.089-0.009-0.179 0.027-0.241 0.098-0.009 0-0.571 0.598-1.393 0.598-0.902 0-1.554-0.661-1.554-1.58 0-0.911 0.634-1.563 1.518-1.563 0.75 0 1.232 0.5 1.232 0.5 0.063 0.063 0.143 0.098 0.232 0.089s0.17-0.054 0.214-0.125l0.473-0.696c0.071-0.107 0.063-0.25-0.018-0.348-0.027-0.036-0.75-0.857-2.17-0.857-1.75 0-3.071 1.295-3.071 3.009 0 1.741 1.286 3.009 3.071 3.009zM8 1.429c-3.625 0-6.571 2.946-6.571 6.571s2.946 6.571 6.571 6.571 6.571-2.946 6.571-6.571-2.946-6.571-6.571-6.571zM8 0c4.42 0 8 3.58 8 8s-3.58 8-8 8-8-3.58-8-8 3.58-8 8-8z"></path>
</symbol>
<symbol id="icon-xmpp viewBox="0 0 16 16">
<path d="m 3.294034,0.91067195 c 0.0019,0.032294 -0.043928,0.023811 -0.043928,0.056399 0,0.94818985 -1.0999211,2.38162595 -2.2098526,2.66100855 v 0.029074 C 2.51494,3.5216308 4.1572705,2.0141624 4.19441,0.56178395 l -0.9002035,0.3489893 z"></path>
<path d="m 2.8990266,1.0034222 c 0.0019,0.032294 0.00298,0.064761 0.00298,0.09735 0,0.9481903 -0.7550889,2.2258361 -1.8650204,2.5053176 v 0.040264 c 1.4527454,-0.094029 2.6024727,-1.5500934 2.6024727,-2.68585045 0,-0.058412 -0.00307,-0.1163129 -0.00912,-0.1735472 L 2.8991033,1.0032998 Z"></path>
<path d="m 0.84206116,0.91067195 c -0.001895,0.032294 0.0439525,0.023811 0.0439525,0.056399 0,0.94818985 1.14512794,2.39478415 2.25513324,2.67429045 v 0.040311 C 1.6665591,3.5459039 -0.02088005,2.0140853 -0.05801955,0.56170745 l 0.90017901,0.3489892 z"></path>
<path d="m 1.2880309,1.0273292 c -0.00187,0.032294 -0.00295,0.064687 -0.00295,0.097326 0,0.9481898 0.7550642,2.2258361 1.8650204,2.5053169 v 0.040311 C 1.6978718,3.6016613 0.547628,2.1201656 0.547628,0.98443335 c 0,-0.058418 0.003149,-0.1163135 0.009125,-0.1735472 L 1.287984,1.0272792 Z"></path>
<path d="m 0.54971631,0.79738415 0.18734567,0.066949 c -0.001007,0.023664 -0.001625,0.05544 -0.001625,0.079321 0,1.01381135 0.91670742,2.41539535 2.14651852,2.63469105 0.079813,0.02676 0.1854027,0.051083 0.2688806,0.07209 v 0.040287 C 1.5458679,3.5539714 0.41825215,1.9231305 0.54959334,0.79728585 Z"></path>
<path d="m 3.639604,0.77714155 -0.1926584,0.064564 c 0.00101,0.023687 0.0047,0.054186 0.0047,0.078042 0,1.01381125 -0.916732,2.41542005 -2.1465677,2.63469095 -0.079764,0.026784 -0.1854026,0.051084 -0.2688313,0.072114 v 0.040311 C 2.7172147,3.4538648 3.7707972,1.9028867 3.6394561,0.77711565 Z"></path>
</symbol>
<symbol id="icon-flickr" viewBox="0 0 16 16">
<path d="M12.5 6.5c-1.103 0-2 0.897-2 2s0.897 2 2 2c1.103 0 2-0.897 2-2s-0.897-2-2-2zM12.5 5v0c1.933 0 3.5 1.567 3.5 3.5s-1.567 3.5-3.5 3.5-3.5-1.567-3.5-3.5c0-1.933 1.567-3.5 3.5-3.5zM0 8.5c0-1.933 1.567-3.5 3.5-3.5s3.5 1.567 3.5 3.5c0 1.933-1.567 3.5-3.5 3.5s-3.5-1.567-3.5-3.5z"></path>
</symbol>
<symbol id="icon-github" viewBox="0 0 16 16">
<path d="M8 0.198c-4.418 0-8 3.582-8 8 0 3.535 2.292 6.533 5.471 7.591 0.4 0.074 0.547-0.174 0.547-0.385 0-0.191-0.008-0.821-0.011-1.489-2.226 0.484-2.695-0.944-2.695-0.944-0.364-0.925-0.888-1.171-0.888-1.171-0.726-0.497 0.055-0.486 0.055-0.486 0.803 0.056 1.226 0.824 1.226 0.824 0.714 1.223 1.872 0.869 2.328 0.665 0.072-0.517 0.279-0.87 0.508-1.070-1.777-0.202-3.645-0.888-3.645-3.954 0-0.873 0.313-1.587 0.824-2.147-0.083-0.202-0.357-1.015 0.077-2.117 0 0 0.672-0.215 2.201 0.82 0.638-0.177 1.322-0.266 2.002-0.269 0.68 0.003 1.365 0.092 2.004 0.269 1.527-1.035 2.198-0.82 2.198-0.82 0.435 1.102 0.162 1.916 0.079 2.117 0.513 0.56 0.823 1.274 0.823 2.147 0 3.073-1.872 3.749-3.653 3.947 0.287 0.248 0.543 0.735 0.543 1.481 0 1.070-0.009 1.932-0.009 2.195 0 0.213 0.144 0.462 0.55 0.384 3.177-1.059 5.466-4.057 5.466-7.59 0-4.418-3.582-8-8-8z"></path>
</symbol>
<symbol id="icon-gpg" viewBox="0 0 16 16">
<path d="M9.25 7h-0.25v-3c0-1.654-1.346-3-3-3h-2c-1.654 0-3 1.346-3 3v3h-0.25c-0.412 0-0.75 0.338-0.75 0.75v7.5c0 0.412 0.338 0.75 0.75 0.75h8.5c0.412 0 0.75-0.338 0.75-0.75v-7.5c0-0.412-0.338-0.75-0.75-0.75zM3 4c0-0.551 0.449-1 1-1h2c0.551 0 1 0.449 1 1v3h-4v-3z"></path>
</symbol>
<symbol id="icon-email" viewBox="0 0 16 16">
<path d="M13.333 0h-10.666c-1.467 0-2.667 1.2-2.667 2.667v10.666c0 1.467 1.2 2.667 2.667 2.667h10.666c1.468 0 2.667-1.2 2.667-2.667v-10.666c0-1.467-1.199-2.667-2.667-2.667zM4 4h8c0.143 0 0.281 0.031 0.409 0.088l-4.409 5.143-4.409-5.143c0.127-0.058 0.266-0.088 0.409-0.088zM3 11v-6c0-0.021 0.001-0.042 0.002-0.063l2.932 3.421-2.9 2.9c-0.023-0.083-0.034-0.17-0.034-0.258zM12 12h-8c-0.088 0-0.175-0.012-0.258-0.034l2.846-2.846 1.413 1.648 1.413-1.648 2.846 2.846c-0.083 0.023-0.17 0.034-0.258 0.034zM13 11c0 0.088-0.012 0.175-0.034 0.258l-2.9-2.9 2.932-3.421c0.001 0.021 0.002 0.042 0.002 0.063v6z"></path>
</symbol>
<symbol id="icon-qr" viewBox="0 0 16 16">
<path d="M5 1h-4v4h4v-4zM6 0v0 6h-6v-6h6zM2 2h2v2h-2zM15 1h-4v4h4v-4zM16 0v0 6h-6v-6h6zM12 2h2v2h-2zM5 11h-4v4h4v-4zM6 10v0 6h-6v-6h6zM2 12h2v2h-2zM7 0h1v1h-1zM8 1h1v1h-1zM7 2h1v1h-1zM8 3h1v1h-1zM7 4h1v1h-1zM8 5h1v1h-1zM7 6h1v1h-1zM7 8h1v1h-1zM8 9h1v1h-1zM7 10h1v1h-1zM8 11h1v1h-1zM7 12h1v1h-1zM8 13h1v1h-1zM7 14h1v1h-1zM8 15h1v1h-1zM15 8h1v1h-1zM1 8h1v1h-1zM2 7h1v1h-1zM0 7h1v1h-1zM4 7h1v1h-1zM5 8h1v1h-1zM6 7h1v1h-1zM9 8h1v1h-1zM10 7h1v1h-1zM11 8h1v1h-1zM12 7h1v1h-1zM13 8h1v1h-1zM14 7h1v1h-1zM15 10h1v1h-1zM9 10h1v1h-1zM10 9h1v1h-1zM11 10h1v1h-1zM13 10h1v1h-1zM14 9h1v1h-1zM15 12h1v1h-1zM9 12h1v1h-1zM10 11h1v1h-1zM12 11h1v1h-1zM13 12h1v1h-1zM14 11h1v1h-1zM15 14h1v1h-1zM10 13h1v1h-1zM11 14h1v1h-1zM12 13h1v1h-1zM13 14h1v1h-1zM10 15h1v1h-1zM12 15h1v1h-1zM14 15h1v1h-1z"></path>
</symbol>
<symbol id="icon-sip" viewBox="0 0 16 16">
<path d="M11 10c-1 1-1 2-2 2s-2-1-3-2-2-2-2-3 1-1 2-2-2-4-3-4-3 3-3 3c0 2 2.055 6.055 4 8s6 4 8 4c0 0 3-2 3-3s-3-4-4-3z"></path>
</symbol>
</svg>

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 9.7 KiB