Update CSS
This commit is contained in:
parent
a18e1ee5fb
commit
0e7bfe0a27
4 changed files with 11 additions and 11 deletions
File diff suppressed because one or more lines are too long
|
@ -1,18 +1,18 @@
|
||||||
{% extends "base.html" %}
|
{% extends "base.html" %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<h1 class="text-center mb-5">{{ page.title }}</h1>
|
<h1 class="mb-5 text-center">{{ page.title }}</h1>
|
||||||
|
|
||||||
<div class="grid grid-cols-1 gap-y-4 gap-x-8 items-center mb-5 lg:grid-cols-2">
|
<div class="grid grid-cols-1 gap-y-4 gap-x-8 items-center mb-5 lg:grid-cols-2">
|
||||||
{% set image = resize_image(path=page.assets | first, width=600, height=600, op="fill") %}
|
{% set image = resize_image(path=page.assets | first, width=600, height=600, op="fill") %}
|
||||||
<img src="{{ image.url }}"
|
<img src="{{ image.url }}"
|
||||||
class="object-cover rounded drop-shadow-xl justify-self-center" />
|
class="object-cover justify-self-center rounded drop-shadow-xl" />
|
||||||
|
|
||||||
<div class="divide-y">
|
<div class="divide-y">
|
||||||
{{ page.content | safe }}
|
{{ page.content | safe }}
|
||||||
|
|
||||||
<div class="pt-6 text-center">
|
<div class="pt-6 text-center">
|
||||||
<div class="font-bold text-xl mb-1">Öffnungszeiten</div>
|
<div class="mb-1 text-xl font-bold">Öffnungszeiten</div>
|
||||||
|
|
||||||
<div class="flex justify-center">
|
<div class="flex justify-center">
|
||||||
<table>
|
<table>
|
||||||
|
@ -43,7 +43,7 @@
|
||||||
class="w-full"
|
class="w-full"
|
||||||
title="Kontakt-Formular"></iframe>
|
title="Kontakt-Formular"></iframe>
|
||||||
|
|
||||||
<div class="mt-2 bg-yellow-200/40 p-3 rounded-xl">
|
<div class="p-3 mt-2 rounded-xl bg-yellow-200/40">
|
||||||
<div>Bitte beachten Sie:</div>
|
<div>Bitte beachten Sie:</div>
|
||||||
<p class="mb-0">
|
<p class="mb-0">
|
||||||
Können Sie einen vereinbarten Termin nicht wahrnehmen, so informieren Sie uns darüber bitte spätestens 8 Stunden vor dem Termin. Ansonsten behalten wir uns vor, Ihnen den Ausfall zu berechnen.
|
Können Sie einen vereinbarten Termin nicht wahrnehmen, so informieren Sie uns darüber bitte spätestens 8 Stunden vor dem Termin. Ansonsten behalten wir uns vor, Ihnen den Ausfall zu berechnen.
|
||||||
|
|
|
@ -60,12 +60,12 @@
|
||||||
</div>
|
</div>
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
<main class="px-4 max-w-screen-xl w-full mx-auto leading-relaxed">
|
<main class="px-4 mx-auto w-full max-w-screen-xl leading-relaxed">
|
||||||
{% block content %}{% endblock %}
|
{% block content %}{% endblock %}
|
||||||
</main>
|
</main>
|
||||||
|
|
||||||
<footer class="mt-6 sm:mb-3 mt-auto sm:mx-2">
|
<footer class="mt-6 mt-auto sm:mx-2 sm:mb-3">
|
||||||
<nav class="flex flex-col gap-y-3 justify-around py-5 sm:py-2 text-center bg-gray-200 sm:flex-row sm:rounded-full">
|
<nav class="flex flex-col gap-y-3 justify-around py-5 text-center bg-gray-200 sm:flex-row sm:py-2 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 %}
|
||||||
|
|
|
@ -3,12 +3,12 @@
|
||||||
{% import "macros.html" as macros %}
|
{% import "macros.html" as macros %}
|
||||||
|
|
||||||
{% macro offer(image_filename, name, description) %}
|
{% macro offer(image_filename, name, description) %}
|
||||||
<div class="my-16 grid grid-cols-1 gap-y-4 gap-x-8 items-center mb-5 md:grid-cols-2">
|
<div class="grid grid-cols-1 gap-y-4 gap-x-8 items-center my-16 mb-5 md:grid-cols-2">
|
||||||
{% set dir = page.path | trim_start_matches(pat="/") %}
|
{% set dir = page.path | trim_start_matches(pat="/") %}
|
||||||
{% set image_path = dir ~ image_filename %}
|
{% set image_path = dir ~ image_filename %}
|
||||||
{% set image = resize_image(path=image_path, width=400, height=400, op="fill") %}
|
{% set image = resize_image(path=image_path, width=400, height=400, op="fill") %}
|
||||||
<img src="{{ image.url }}"
|
<img src="{{ image.url }}"
|
||||||
class="object-cover rounded drop-shadow-xl justify-self-center" />
|
class="object-cover justify-self-center rounded drop-shadow-xl" />
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<h3>{{ name }}</h3>
|
<h3>{{ name }}</h3>
|
||||||
|
@ -108,7 +108,7 @@
|
||||||
{{ macros::btn(link=get_url(path='@/termin/index.md') , text="Terminvereinbarung") }}
|
{{ macros::btn(link=get_url(path='@/termin/index.md') , text="Terminvereinbarung") }}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="my-6 text-center text-red-500 font-bold text-xl">
|
<div class="my-6 text-xl font-bold text-center text-red-500">
|
||||||
Wichtig: Jegliche Nachfrage nach Erotik ist unerwünscht und respektlos!
|
Wichtig: Jegliche Nachfrage nach Erotik ist unerwünscht und respektlos!
|
||||||
</div>
|
</div>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
Loading…
Reference in a new issue