Website redesign

This commit is contained in:
eikek
2022-01-27 20:23:15 +01:00
parent 3fc7f54f1a
commit 261d2af9bb
248 changed files with 3519 additions and 1484 deletions

View File

@ -1,5 +1,5 @@
<div class="is-clearfix">
<a class="button is-pulled-right {{ classes }}" href="{{ href }}">
<div class="flex flex-row justify-end items-center">
<a class="no-default button1" href="{{ href }}">
{{ text }}
</a>
</div>

View File

@ -1,4 +1,4 @@
<figure class="image">
<figure>
{% if page is defined %}
{% set len = page.components | length %}
{% set p = page.components | slice(end=len - 1) | join(sep='/') %}
@ -6,5 +6,5 @@
{% set p = section.components | join(sep='/') %}
{% endif %}
<img src="{{ get_url(path=p ~ "/" ~ file) }}">
<img src="{{ get_url(path=p ~ "/" ~ file) }}" >
</figure>

View File

@ -0,0 +1,14 @@
{% if page is defined %}
{% set len = page.components | length %}
{% set p = page.components | slice(end=len - 1) | join(sep='/') %}
{% else %}
{% set p = section.components | join(sep='/') %}
{% endif %}
<figure class="dark-block" title="{{ dark }}">
<img src="{{ get_url(path=p ~ "/" ~ dark) }}">
</figure>
<figure class="light-block" title="{{ light }}">
<img src="{{ get_url(path=p ~ "/" ~ light) }}" >
</figure>

View File

@ -0,0 +1,4 @@
{% set len = page.components | length %}
{% set p = page.components | slice(end=len - 1) | join(sep='/') %}
<img class="light-block" src="{{ get_url(path=p ~ "/" ~ light) }}" width="{{ width }}">
<img class="dark-block" src="{{ get_url(path=p ~ "/" ~ dark) }}" width="{{ width }}">

View File

@ -0,0 +1,4 @@
{% set len = page.components | length %}
{% set p = page.components | slice(end=len - 1) | join(sep='/') %}
<img class="light-block" style="float:right; padding-left:0.25em;" src="{{ get_url(path=p ~ "/" ~ light) }}">
<img class="dark-block" style="float:right; padding-left:0.25em;" src="{{ get_url(path=p ~ "/" ~ dark) }}">

View File

@ -1,10 +1,10 @@
<div class="notification is-{{ mode }} is-light" style="z-index: 0">
<div class="content ">
<p class="title is-5">
{{ title }}
</p>
<div>
{{ body | markdown | safe }}
</div>
<div class="my-3 rounded border border-indigo-200 bg-indigo-100 bg-opacity-40 text-indigo-400 shadow shadow-indigo-200 dark:bg-cyan-500 dark:bg-opacity-30 dark:text-cyan-100 dark:border-cyan-700 dark:shadow-none">
<div class="px-1 py-1 border-b border-indigo-200 font-medium w-full bg-indigo-200 bg-opacity-60 dark:bg-cyan-700 dark:border-cyan-700">
<i class="fa fa-info mx-2" ></i>
{{ title }}
</div>
<div class="px-2">
{{ body | markdown | safe }}
</div>
</div>

View File

@ -0,0 +1,10 @@
<div class="my-3 rounded border border-yellow-300 bg-yellow-200 bg-opacity-40 text-yellow-600 shadow shadow-yellow-200 dark:bg-amber-500 dark:bg-opacity-30 dark:text-amber-100 dark:border-amber-700 dark:shadow-none">
<div class="px-1 py-1 border-b border-yellow-300 text-yellow-600 dark:text-amber-300 font-medium w-full bg-yellow-300 bg-opacity-50 dark:bg-amber-700 dark:border-amber-700">
<i class="fa fa-info mx-2" ></i>
{{ title }}
</div>
<div class="px-2">
{{ body | markdown | safe }}
</div>
</div>