This commit is contained in:
2022-11-15 16:43:55 +02:00
parent bcbdbb38c1
commit 14eb9f2aa8
18 changed files with 73 additions and 37 deletions

View File

@@ -7,13 +7,13 @@
{% set subsections_str = section.subsections | join(sep=" ") %}
<footer class="bottom-0 mx-20">
<footer class="bottom-0">
{% if "footer/_index.md" in subsections_str %}
{%- set section = get_section(path="footer/_index.md") %}
{{ section.content | safe }}
{% else %}
{% set footer_class = config.extra.footer_class | default(value='') %}
<div class="{{ footer_class ~ ' -mx-20'}}">
<div class="{{ footer_class }}">
{# <img src="{{get_url(path='images/')}}" class="w-60" alt=""> #}
<p class="text-center">ALL RIGHTS RESERVED 2022</p>
</div>

View File

@@ -97,7 +97,7 @@
{% else %}
<header id="header-container">
{% set header_class = config.extra.header_class | default(value='') %}
<div class="{{'z-10 bg-white fixed w-screen ' ~ header_class}}">
<div class="{{'z-10 bg-white fixed w-screen max-w-full ' ~ header_class}}">
<div class="relative z-50 shadow">
<div class="mx-auto flex z-50 shadow justify-between items-center pl-6 pr-2 md:pr-0 lg:py-5 md:px-12 py-2 lg:px-20 lg:justify-start lg:space-x-20">
<div>
@@ -173,7 +173,7 @@
<div id="hamburger" class="hidden fixed mt-16 z-20 top-0 inset-x-0 transition transform origin-top-right lg:hidden">
<div>
<div class="shadow-xs h-screen bg-white divide-y-2 divide-gray-50">
<div class="pb-6 sm:px-12 md:px-16 lg:px-20 space-y-6 sm:space-y-8 sm:pb-8 max-h-screen overflow-y-auto">
<div class="pt-6 sm:px-12 md:px-16 lg:px-20 space-y-6 sm:space-y-8 sm:pb-8 max-h-screen overflow-y-auto">
<nav class="flex flex-col justify-around pb-12">
{% for page in section.pages %}

View File

@@ -66,7 +66,7 @@ Parameters:
{% elif "bottom" in padding %}
{% set padding_class = " py-2 md:py-4 lg:pb-28" %}
{% elif "both" in padding %}
{% set padding_class = " py-2 md:py-4 lg:py-28" %}
{% set padding_class = " py-8 md:py-4 lg:py-28" %}
{% endif %}
{% endif %}