styling fixes

This commit is contained in:
timurgordon
2022-02-22 17:27:08 +03:00
parent 4ddb45019a
commit 9affc2371f
6 changed files with 12 additions and 34 deletions

View File

@@ -78,16 +78,6 @@
{% endif %}
{% endfor %}
</nav>
<div class="flex items-center space-x-8">
<span class="inline-flex rounded-md shadow-sm">
<a href="#" class="inline-flex items-center justify-center px-4 py-2 border border-transparent text-sm leading-6 font-normal rounded-md text-white bg-indigo-600 hover:bg-indigo-500 focus:outline-none focus:border-indigo-700 focus:shadow-outline-indigo active:bg-indigo-700 transition ease-in-out duration-150">
English
</a>
</span>
</div>
</div>
</div>
</div>
{% for header_item in header_items %}

View File

@@ -5,29 +5,24 @@
<div class="flex-1 bg-white p-6 flex flex-col justify-between">
<div class="flex-1">
<a href={{ post.permalink }} class="block">
<h3 class="mt-2 text-xl leading-7 font-semibold text-gray-900 text-left not-italic">
<h3 class="mt-2 text-xl leading-7 font-medium text-gray-900 text-left not-italic">
{{ post.title }}
</h3>
{% if post.description %}
<p class="mt-3 text-base leading-6 text-gray-500">
<p class="mt-3 text-sm leading-6 text-gray-500 text-left">
{{ post.description }}
</p>
{% endif %}
</a>
</div>
<div class="mt-6 flex items-center">
<div class="flex-shrink-0">
<a href="#">
<img class="h-10 w-10 rounded-full" src="/https://images.unsplash.com/photo-1472099645785-5658abf4ff4e?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=facearea&facepad=2&w=256&h=256&q=80" alt="" />
</a>
</div>
<div class="ml-3">
<p class="text-sm leading-5 font-medium text-gray-900">
<div>
<p class="text-sm leading-5 font-medium text-gray-900 text-left">
<a href="#" class="hover:underline">
{{ post.extra.author }}
</a>
</p>
<div class="flex text-sm leading-5 text-gray-500">
<div class="flex text-sm leading-5 text-gray-500 text-left">
<time datetime="2020-03-16">
{{ post.date | date(format="%B %e, %Y", timezone="America/Chicago") }}
</time>