Bump theme.

This commit is contained in:
Julien Palard 2021-05-17 23:37:15 +02:00
parent dbb65921a4
commit 5f9f10e57f
5 changed files with 51 additions and 52 deletions

View File

@ -1,6 +1,8 @@
---
Title: Reversing coffee machine key
Title: Reversing a coffee machine key
Date: 2021-05-07 12:12:55
Summary: At $DAYJOB, a long time ago, we had big a coffee machine allowing us
to store money in NFC keys…
---

View File

@ -341,46 +341,8 @@ li:last-child .hentry, #content > .hentry {border: 0; margin: 0;}
#about-author .photo {border: 1px solid #ddd; float: left; margin: 5px 1em 0 0;}
/* Comments */
#comments-list {list-style: none; margin: 0 1em;}
#comments-list blockquote {
background: #f8f8f8;
clear: both;
font-style: normal;
margin: 0;
padding: 15px 20px;
border-radius: 5px;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
}
#comments-list footer {color: #888; padding: .5em 1em 0 0; text-align: right;}
#comments-list li:nth-child(2n) blockquote {background: #F5f5f5;}
/* Add a Comment */
#add-comment label {clear: left; float: left; text-align: left; width: 150px;}
#add-comment input[type='text'],
#add-comment input[type='email'],
#add-comment input[type='url'] {float: left; width: 200px;}
#add-comment textarea {float: left; height: 150px; width: 495px;}
#add-comment p.req {clear: both; margin: 0 .5em 1em 0; text-align: right;}
#add-comment input[type='submit'] {float: right; margin: 0 .5em;}
#add-comment * {margin-bottom: .5em;}
div.codehilite {
# position: relative;
# display: block;
# padding: 1em;
# font: normal 10pt Consolas, Monaco, monospace;
# overflow-x: auto;
background-color: #002B36;
# margin-top: 1em;
# margin-bottom: 1em;
}
footer a[href="https://psfmember.org/"] {
@ -393,3 +355,36 @@ footer a[href="https://psfmember.org/"] img {
width: 100px;
height: 100px;
}
.clear {
clear: both
}
.post-title {
margin: 0 0 0.5em;
font-size: 2em;
line-height: 1em;
font-weight: 700;
text-indent: -1px;
color: #000
}
.post-title a {
text-decoration: none;
color: inherit;
font-weight: inherit
}
.post-meta {
display: block;
margin-bottom: 1.333em;
font-family: 'Fira Sans', sans-serif;
font-size: 0.75em;
font-weight: 400;
line-height: 1.333em;
opacity: 0.5
}
.post-title a:hover {
text-decoration: none;
}

View File

@ -9,18 +9,14 @@
<link charset="utf-8" type="text/css" href="/theme/css/reset.css" rel="stylesheet">
<link charset="utf-8" type="text/css" href="/theme/css/monokai.css" rel="stylesheet">
<link charset="utf-8" type="text/css" href="/theme/css/typogrify.css" rel="stylesheet">
<link charset="utf-8" type="text/css" href="/theme/css/main.css" rel="stylesheet">
<link charset="utf-8" type="text/css" href="/theme/css/github-markdown.css" rel="stylesheet">
<link charset="utf-8" type="text/css" href="/theme/css/main.css" rel="stylesheet">
{% if FEED_ALL_ATOM %}
<link href="{{ FEED_DOMAIN }}/{{ FEED_ALL_ATOM }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} Atom Feed" />
{% endif %}
{% if FEED_ALL_RSS %}
<link href="{{ FEED_DOMAIN }}/{{ FEED_ALL_RSS }}" type="application/rss+xml" rel="alternate" title="{{ SITENAME }} RSS Feed" />
{% endif %}
<!--[if IE]>
<script src="https://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
{% block header %}{%endblock%}
</head>

View File

@ -1 +0,0 @@
{% if DISQUS_SITENAME %}<p>There are <a href="{{ SITEURL }}/{{ article.url }}#disqus_thread">comments</a>.</p>{% endif %}

View File

@ -10,15 +10,22 @@
{% endif %}
<li><article class="hentry">
<header>
<h1><a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark"
title="Permalink to {{ article.title|striptags }}">{{ article.title }}</a></h1>
<h2 class="post-title">
<a href="{{ SITEURL }}/{{ article.url }}"
rel="bookmark"
title="Permalink to {{ article.title|striptags }}">{{ article.title }}</a>
</h2>
<span class="post-meta">
{% for author in article.authors %}
<a href="{{ SITEURL }}/{{ author.url }}">{{ author|capitalize }}</a>
{% endfor %}
| <time datetime="{{ article.locale_date }}">{{ article.locale_date }}</time>
</span>
</header>
<div>
<div class="clear"></div>
<section class="post-content">
{{ article.summary }}
<a class="readmore" href="{{ SITEURL }}/{{ article.url }}">read more</a>
{% include 'comments.html' %}
</div>
</section>
</article></li>
{% if loop.last %}