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>
<dd class="license">
{% 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">
<use xlink:href="#icon-creative-commons" />
</svg><br />
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.
</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.
{% 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">
<use xlink:href="#icon-creative-commons" />
</svg><br />
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.
</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.
{% 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">
<use xlink:href="#icon-creative-commons" />
</svg><br />
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.
</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.
{% endif %}
</dd>
<dt class="noprint">Leave a tip</dt>
@ -115,6 +109,7 @@
{% endfor %}
</ul>
</dd>
</dl>
</footer>
@ -129,7 +124,7 @@
{% if post.replies|length %}
<section class="replies">
<h2><a name="replies"></a>Replies</h2>
<h2><a id="replies"></a>Replies</h2>
<ol>
{% for mtime, comment in post.replies %}
{% include 'Comment.html' %}
@ -139,7 +134,7 @@
{% endif %}
{% if post.reactions|length %}
<section class="reactions">
<h2><a name="reactions"></a>Reactions</h2>
<h2><a id="reactions"></a>Reactions</h2>
<dl>
{% for character, comments in post.reactions.items() %}
<dt>{{ character }}</dt>

View file

@ -1,7 +1,7 @@
{% if post.is_reply %}
<span class="p-name">
<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:
</a>
<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 {
margin-top: 2em;
padding: 1em 0 0.6em 0;
padding: 1.6em 0;
text-align: center;
}
@ -332,6 +332,8 @@ code.sourceCode span.va { color: turquoise; }
.content-footer dl dd:last-of-type:after {
content: '';
display: none;
visibility: hidden;
}
input {
@ -455,25 +457,10 @@ input.search-submit:hover {
color: #eee;
}
.h-entry.singular footer dl,
.h-entry.singular footer dt,
.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 {
width: 1em;
height: auto;