1
0
Fork 0

Small changes

This commit is contained in:
Mo 2023-05-31 10:51:28 +02:00
parent be4b7bac34
commit 9a4f7b7b34
3 changed files with 3 additions and 4 deletions

View file

@ -65,7 +65,7 @@
</main> </main>
<footer class="pt-6 pb-3 mt-auto sm:mx-2"> <footer class="pt-6 pb-3 mt-auto sm:mx-2">
<nav class="flex flex-col gap-y-3 justify-around py-3 text-center bg-gray-200 sm:flex-row sm:rounded-full"> <nav class="flex flex-col gap-y-3 justify-around py-2 text-center bg-gray-200 sm:flex-row sm:rounded-full">
{% for footer_item in config.extra.footer_items %} {% for footer_item in config.extra.footer_items %}
<a class="text-base no-underline" href="{{ footer_item.url | safe }}">{{ footer_item.name }}</a> <a class="text-base no-underline" href="{{ footer_item.url | safe }}">{{ footer_item.name }}</a>
{% endfor %} {% endfor %}

View file

@ -10,8 +10,7 @@
{% block content %} {% block content %}
<div class="grid grid-cols-1 gap-y-4 gap-x-6 justify-items-center items-center mb-5 md:grid-cols-2"> <div class="grid grid-cols-1 gap-y-4 gap-x-6 justify-items-center items-center mb-5 md:grid-cols-2">
{% set image = resize_image(path=config.extra.portrait_path, height=500, op="fit_height") %} {% set image = resize_image(path=config.extra.portrait_path, height=500, op="fit_height") %}
<img src="{{ image.url }}" <img src="{{ image.url }}" class="object-contain rounded drop-shadow-xl" />
class="object-contain rounded drop-shadow-2xl sm:h-[50vh]" />
<p>{{ config.extra.self_introduction }}</p> <p>{{ config.extra.self_introduction }}</p>
</div> </div>

View file

@ -1,4 +1,4 @@
{% macro btn(link, text) %} {% macro btn(link, text) %}
<a class="py-2 px-4 my-1.5 mx-3 w-full max-w-screen-md text-center text-white no-underline bg-green-700 rounded transition duration-500 hover:scale-105" <a class="py-1 px-1 my-1.5 mx-3 w-full max-w-screen-md text-center text-white no-underline bg-green-700 rounded transition duration-500 hover:scale-105"
href="{{ link | safe }}">{{ text }}</a> href="{{ link | safe }}">{{ text }}</a>
{% endmacro %} {% endmacro %}