Skip to content

Commit

Permalink
Merge pull request #20 from awinterstein/style-fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
tchartron authored Aug 2, 2024
2 parents 67889a4 + fe4afc2 commit 3a01898
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 14 deletions.
4 changes: 2 additions & 2 deletions templates/categories/list.html
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{% extends "layout.html" %}

{% block content %}
<div class="flex items-center flex-col mt-10">
<div class="flex items-center flex-col mt-10 px-4">
<h1 class="text-2xl text-bold">
Categories
</h1>
<p class="text-bold text-xl mt-4">{{ terms | length }} categories</p>

<div class="flex sm:flex-row flex-col sm:gap-x-7 gap-y-5 mt-6">
<div class="flex flex-wrap sm:flex-row flex-col sm:gap-x-7 gap-y-5 mt-6">
{% for category in terms %}
<a href="{{ category.permalink | safe }}" class="flex items-center space-x-2">
<svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
Expand Down
4 changes: 2 additions & 2 deletions templates/categories/single.html
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{% extends "layout.html" %}

{% block content %}
<div class="flex items-center flex-col mt-10">
<div class="flex items-center flex-col mt-10 px-4">
<h1 class="text-2xl text-bold mb-6">
Category : {{ term.name }}
</h1>
<div class="flex flex-col gap-y-6 w-full px-4 sm:w-2/3">
<div class="flex flex-col gap-y-6 w-full sm:w-2/3">
{% if paginator %}
{% set pages = paginator.pages %}
{% else %}
Expand Down
4 changes: 2 additions & 2 deletions templates/index.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{% extends "layout.html" %}

{% block content %}
<div class="flex items-center flex-col mt-40">
<div class="flex items-center flex-col mt-16">
<h1 class="text-xl text-bold">
{{ config.extra.index.title }}
</h1>
Expand Down Expand Up @@ -74,7 +74,7 @@ <h1 class="text-xl text-bold">
</div>

<!-- Content -->
<div class="text-bold mt-2">
<div class="text-bold mt-2 w-2/3 text-center p-4">
{{ section.content | safe }}
</div>
</div>
Expand Down
4 changes: 2 additions & 2 deletions templates/layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@

<!----------------------------- Mobile menu ----------------------------->
<div id="mobile-menu" class="sm:hidden fixed z-10 overflow-hidden">
<div class="nav-links flex flex-col space-y-4 items-center w-screen dark:bg-gray-800 transition-all ease-out duration-500 h-0">
<div class="nav-links flex flex-col space-y-4 items-center w-screen bg-gray-200 dark:bg-gray-800 transition-all ease-out duration-500 h-0">
<!-- Current: "bg-gray-900 text-white", Default: "text-gray-300 hover:bg-gray-700 hover:text-white" -->
{% for item in config.extra.navbar.items %}
{% if lang == item.lang %}
Expand Down Expand Up @@ -297,7 +297,7 @@
<div class="mt-16 border-t-2 border-gray-300 flex flex-col items-center">
<div class="sm:w-2/3 text-center py-6">
<p class="text-sm text-black dark:text-white font-bold mb-2">
© 2023 <a href="https://www.getzola.org/themes/blow/">blow</a> theme made with <a href="https://tailwindcss.com/" target="_blank">tailwindcss</a> for <a href="https://www.getzola.org/" target="_blank">Zola</a>
© {{ now() | date(format="%Y") }} <a href="https://www.getzola.org/themes/blow/">blow</a> theme made with <a href="https://tailwindcss.com/" target="_blank">tailwindcss</a> for <a href="https://www.getzola.org/" target="_blank">Zola</a>
</p>
</div>
</div>
Expand Down
4 changes: 2 additions & 2 deletions templates/page.html
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{% extends "layout.html" %}

{% block content %}
<div class="flex">
<div class="flex px-4">
<h1 class="text-2xl text-bold my-6 mx-auto">
{{ page.title }}
</h1>
</div>
<div class="flex gap-x-8">
<div class="flex gap-x-8 p-4 justify-center">
<div class="flex flex-col sm:w-3/4 w-full border border-2 border-gray-200 dark:border-black rounded-xl p-5 shadow-2xl bg-gray-200 dark:bg-gray-800">

<div class="flex flex-col py-2 justify-center">
Expand Down
4 changes: 2 additions & 2 deletions templates/tags/list.html
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{% extends "layout.html" %}

{% block content %}
<div class="flex items-center flex-col mt-10">
<div class="flex items-center flex-col mt-10 px-4">
<h1 class="text-2xl text-bold">
Tags
</h1>
<p class="text-bold text-xl mt-4">{{ terms | length }} tags</p>

<div class="flex sm:flex-row flex-col sm:gap-x-7 gap-y-5 mt-6">
<div class="flex flex-wrap sm:flex-row flex-col sm:gap-x-7 gap-y-5 mt-6">
{% for tag in terms %}
<a href="{{ tag.permalink | safe }}" class="flex items-center space-x-2">
<svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
Expand Down
4 changes: 2 additions & 2 deletions templates/tags/single.html
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{% extends "layout.html" %}

{% block content %}
<div class="flex items-center flex-col mt-10">
<div class="flex items-center flex-col mt-10 px-4">
<h1 class="text-2xl text-bold mb-6">
Tag : {{ term.name }}
</h1>
<div class="flex flex-col gap-y-6 w-full px-4 sm:w-2/3">
<div class="flex flex-col gap-y-6 w-full sm:w-2/3">
{% if paginator %}
{% set pages = paginator.pages %}
{% else %}
Expand Down

0 comments on commit 3a01898

Please sign in to comment.