Update title spacing

This commit is contained in:
Oliver Davies 2020-02-06 02:03:57 +00:00
parent 7456f6a7d3
commit b4b9d6e99a
3 changed files with 8 additions and 8 deletions

View file

@ -1,6 +1,6 @@
<div class="spaced-y-2">
<div class="spaced-y-2px">
<h2 class="text-inherit text-lg m-0">
<div>
<div>
<h2 class="text-inherit text-lg m-0 leading-snug">
<a
href="{{ post.external_url ?: post.url }}"
class="text-inherit"
@ -11,16 +11,16 @@
</h2>
{% if show_date %}
{% include 'posts/post-date' with { class: 'text-sm block mb-1' } %}
{% include 'posts/post-date' with { class: 'mt-1 text-sm block' } %}
{% endif %}
</div>
<div>
<div class="mt-2">
<p>{{ post.excerpt }}</p>
</div>
{% if not post.type == 'tweet' %}
<div>
<div class="mt-1">
<a href="{{ post.url }}" class="text-sm text-gray-600 hover:text-gray-800">
Read more
<span class="visuallyhidden">about '{{ post.title }}'</span>

View file

@ -1,7 +1,7 @@
{% if page.tags %}
<h2 class="visuallyhidden">Tags</h2>
<ul class="list-reset flex flex-wrap spaced-x-3">
<ul class="list-reset flex flex-wrap spaced-y-2 spaced-x-3">
{% for tag in page.tags|sort %}
<li>
<a href="/blog/tags/{{ tag }}" class="text-xs py-1 px-3 border-l-2 border-gray-500 bg-gray-200 text-gray-800 leading-none no-underline hover:underline focus:bg-gray-800 focus:text-white focus:outline-none">

View file

@ -1,5 +1,5 @@
<article>
<h3 class="text-lg text-gray-800">
<h3 class="text-lg leading-snug text-gray-800">
<a href="{{ talk.url }}" class="text-inherit" tabindex="-1">
{{ talk.title }}
</a>