This commit is contained in:
Peter Molnar 2018-06-01 09:48:03 +00:00
parent 5e0dc9e0d9
commit e5cb408bb1
10 changed files with 421 additions and 439 deletions

View file

@ -67,23 +67,17 @@
<dt>License</dt> <dt>License</dt>
<dd class="license"> <dd class="license">
{% if post.licence.text == 'CC BY 4.0' %} {% if post.licence.text == 'CC BY 4.0' %}
<a rel="license" href="https://creativecommons.org/licenses/by/4.0/" class="u-license">CC BY 4.0</a>
<svg class="icon" width="16" height="16"> <svg class="icon" width="16" height="16">
<use xlink:href="#icon-creative-commons" /> <use xlink:href="#icon-creative-commons" />
</svg><br /> </svg><a rel="license" href="https://creativecommons.org/licenses/by/4.0/" class="u-license">CC BY 4.0</a> You are free to share or republish, even if modified, if you link back here and indicate the modifications, even for commercial use.
Licensed under <a href="https://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution 4.0 International</a>. You are free to share or republish, even if modified, if you link back here and indicate the modifications, even for commercial use.
{% elif post.licence.text == 'CC BY-NC 4.0' %} {% elif post.licence.text == 'CC BY-NC 4.0' %}
<a rel="license" href="https://creativecommons.org/licenses/by-nc/4.0/" class="u-license">CC BY-NC 4.0</a>
<svg class="icon" width="16" height="16"> <svg class="icon" width="16" height="16">
<use xlink:href="#icon-creative-commons" /> <use xlink:href="#icon-creative-commons" />
</svg><br /> </svg><a rel="license" href="https://creativecommons.org/licenses/by-nc/4.0/" class="u-license">CC BY-NC 4.0</a> You are free to share or republish, even if modified, if you link back here and indicate the modifications, for non commercial use. For commercial use please contact the author.
Licensed under <a href="https://creativecommons.org/licenses/by-nc/4.0/">Creative Commons Attribution-NonCommercial 4.0 International</a>. You are free to share or republish, even if modified, if you link back here and indicate the modifications, for non commercial use. For commercial use please contact the author.
{% else %} {% else %}
<a rel="license" href="https://creativecommons.org/licenses/by-nc-nd/4.0/" class="u-license">CC BY-NC-ND 4.0</a>
<svg class="icon" width="16" height="16"> <svg class="icon" width="16" height="16">
<use xlink:href="#icon-creative-commons" /> <use xlink:href="#icon-creative-commons" />
</svg><br /> </svg><a rel="license" href="https://creativecommons.org/licenses/by-nc-nd/4.0/" class="u-license">CC BY-NC-ND 4.0</a> You are free to share if you link back here for non commercial use, but you can't publish any altered versions of it. For commercial use please contact the author.
Licensed under <a href="https://creativecommons.org/licenses/by-nc-nd/4.0/">Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International</a>. You are free to share if you link back here for non commercial use, but you can't publish any altered versions of it. For commercial use please contact the author.
{% endif %} {% endif %}
</dd> </dd>
<dt class="noprint">Leave a tip</dt> <dt class="noprint">Leave a tip</dt>
@ -115,6 +109,7 @@
{% endfor %} {% endfor %}
</ul> </ul>
</dd> </dd>
</dl>
</footer> </footer>
@ -129,7 +124,7 @@
{% if post.replies|length %} {% if post.replies|length %}
<section class="replies"> <section class="replies">
<h2><a name="replies"></a>Replies</h2> <h2><a id="replies"></a>Replies</h2>
<ol> <ol>
{% for mtime, comment in post.replies %} {% for mtime, comment in post.replies %}
{% include 'Comment.html' %} {% include 'Comment.html' %}
@ -139,7 +134,7 @@
{% endif %} {% endif %}
{% if post.reactions|length %} {% if post.reactions|length %}
<section class="reactions"> <section class="reactions">
<h2><a name="reactions"></a>Reactions</h2> <h2><a id="reactions"></a>Reactions</h2>
<dl> <dl>
{% for character, comments in post.reactions.items() %} {% for character, comments in post.reactions.items() %}
<dt>{{ character }}</dt> <dt>{{ character }}</dt>

View file

@ -1,7 +1,7 @@
{% if post.is_reply %} {% if post.is_reply %}
<span class="p-name"> <span class="p-name">
<svg class="icon" width="16" height="16"><use xlink:href="#icon-reply" /></svg> <svg class="icon" width="16" height="16"><use xlink:href="#icon-reply" /></svg>
<a href="{{ post.slug }}" class="u-url" title="{{ post.title }}"> <a href="/{{ post.slug }}/" class="u-url" title="{{ post.title }}">
RE: RE:
</a> </a>
<a href="{{ post.is_reply }}" class="u-in-reply-to" title="Reply to: {{ post.is_reply }}"> <a href="{{ post.is_reply }}" class="u-in-reply-to" title="Reply to: {{ post.is_reply }}">

View file

@ -293,7 +293,7 @@ code.sourceCode span.va { color: turquoise; }
.content-footer { .content-footer {
margin-top: 2em; margin-top: 2em;
padding: 1em 0 0.6em 0; padding: 1.6em 0;
text-align: center; text-align: center;
} }
@ -332,6 +332,8 @@ code.sourceCode span.va { color: turquoise; }
.content-footer dl dd:last-of-type:after { .content-footer dl dd:last-of-type:after {
content: ''; content: '';
display: none;
visibility: hidden;
} }
input { input {
@ -455,25 +457,10 @@ input.search-submit:hover {
color: #eee; color: #eee;
} }
.h-entry.singular footer dl,
.h-entry.singular footer dt,
.h-entry.singular footer dd { .h-entry.singular footer dd {
vertical-align:top; margin: 0 0 1em 0;
} }
.h-entry.singular footer dt {
display: inline-block;
width: 18%;
margin: 0 1% 0 0;
text-align: right;
}
.h-entry.singular footer dd {
display: inline-block;
width: 80%;
}
.h-entry.singular footer img { .h-entry.singular footer img {
width: 1em; width: 1em;
height: auto; height: auto;