1
0

style changes

This commit is contained in:
Philip Wagner
2024-09-30 15:49:49 +02:00
parent c62879cd62
commit ceb95139ac
6 changed files with 21 additions and 17 deletions

View File

@@ -8,7 +8,7 @@
<a href="https://www.thealit.de/newsletter" class="block link">Newsletter</a>
</div>
<div class="text-12">
<div class="text-12" style="word-spacing: 1rem">
<?php $impressum = $pages->findBy('uid', 'impressum') ?>
<a href="<?= $impressum->url() ?>" class="link"><?= $impressum->title() ?></a>
<?php $datenschutz = $pages->findBy('uid', 'datenschutzerklaerung') ?>

View File

@@ -1,7 +1,7 @@
<?php snippet('header') ?>
<div class="bg-white-green container headline" style="padding-bottom: 79pt">
<h4 class="uppercase font-kobata leading-none"><?= $page->title() ?></h4>
<div class="bg-white-green headline" style="padding-bottom: 79pt">
<h3 class="uppercase font-kobata leading-none"><?= $page->title() ?></h4>
</div>
<?php $colors = [

View File

@@ -1,6 +1,6 @@
<?php snippet('header') ?>
<div class="<?= randomBg() ?> container headline" style="padding-bottom: 79pt">
<div class="<?= randomBg() ?> headline" style="padding-bottom: 79pt">
<h4 class="uppercase font-kobata leading-none"><?= $page->title() ?></h4>
</div>

View File

@@ -173,19 +173,19 @@ start()
</script>
<style>
#info { display: none; position: absolute; left: 498px; top: 0; bottom: 0 }
#info-button { padding-left: calc(498px + 22pt) }
#info { display: none; position: absolute; left: 498px; top: 0; bottom: 0; padding: 22pt }
#info-button { padding-left: calc(498px + 22pt); padding-top: 22pt }
@media (max-width: 750px) {
#info { left: 0; overflow-y: scroll; }
#info-button { padding-left: 79pt }
}
</style>
<div id="info-button" class="container">
<div id="info-button">
<button id="info_open" aria-label="Info Open" class="menu-button no-button flex font-kobata text-40 uppercase">Info</button>
</div>
<div id="info" class="bg-white-green container">
<div id="info" class="bg-white-green">
<button id="info_close" aria-label="Info Close" class="menu-button no-button flex" style="margin-top: 4px"><div style="transform: rotate(45deg); "></div><div style="transform: translate(0,-6px) rotate(135deg);"></div></button>
<div class="text-22" style="margin-top: 34pt">
<?= $page->text() ?>

View File

@@ -3,13 +3,13 @@
/** @var Kirby\Cms\Site $site */
/** @var Kirby\Cms\Page $page */ ?>
<div class="bg-orange-white container headline">
<h4 class="uppercase font-kobata leading-none"><?= $page->title() ?></h4>
<div class="bg-orange-white headline">
<h3 class="uppercase font-kobata leading-none"><?= $page->title() ?></h4>
</div>
<div class="bg-orange-white container project-list">
<?php foreach ($page->children()->listed() as $project): ?>
<a href="<?= $project->url() ?>" class="link" style="line-height: 57pt">
<a href="<?= $project->url() ?>" class="link" style="line-height: 57pt; padding-right: 1rem;">
<span class="font-kobata"><?= $project->start_date()->toDate('d.m.') ?>-<?= $project->end_date()->toDate('d.m.') ?></span>
<span class="text-40 leading-none"><?= $project->title() ?></span>
</a>
@@ -17,7 +17,7 @@
</div>
<div class="container bg-white-lila headline">
<h4 class="uppercase font-kobata leading-none">ART RESIDENCIES + INTERMISSIONS</h4>
<h3 class="uppercase font-kobata leading-none">ART RESIDENCIES + INTERMISSIONS</h4>
</div>
<?php snippet('layouts', ['layouts' => $page->layout()->toLayouts()]) ?>