diff --git a/assets/style.css b/assets/style.css index 64ef2e1..cd2de22 100644 --- a/assets/style.css +++ b/assets/style.css @@ -101,12 +101,12 @@ code { font-family: Kobata !important; font-weight: normal; word-break: break-wo #menu-container button, #menu-container a { pointer-events: initial } nav { display: none } nav { height: 100%; padding-top: 89pt !important; justify-content: space-between; flex-direction: column; box-sizing: border-box; } -nav > div { margin-left: -2px } #lang-switch { position: absolute; top: -7px; right: 0 } #lang-switch a { line-height: 1rem !important } -#content { position: relative; padding-bottom: calc(22pt + 40pt + 22pt); overflow-wrap: break-word; hyphens: auto } +#content { position: relative; overflow-wrap: break-word; hyphens: auto } +#inner-content { display: grid; grid-template-rows: auto 1fr auto; min-height: calc(100vh - 22pt - 40pt - 22pt); padding-bottom: calc(22pt + 40pt + 22pt) } footer { background: var(--white); padding: 22pt; position: fixed; left: 0; right: 0; bottom: 0; line-height: 1 !important; } footer a { line-height: 1 !important; text-align-last: justify; display: block; white-space: nowrap; letter-spacing: 2.8vw } @media (max-width: 1700px) { footer a { letter-spacing: 2vw } } @@ -118,7 +118,7 @@ footer a { line-height: 1 !important; text-align-last: justify; display: block; @media (max-width: 750px) { #menu { overflow-y: scroll; } - #content { padding-bottom: calc(11pt + 22pt + 11pt) } + #inner-content { min-height: calc(100vh - 11pt - 22pt - 11pt); padding-bottom: calc(11pt + 22pt + 11pt) } footer { font-size: 22pt !important; letter-spacing: 0 !important; padding: 11pt !important } .headline { padding-left: 79pt } .headline h3 { font-size: 16pt; max-width: calc(100dvw - 22pt - 37pt - 37pt - 37pt - 22pt) } diff --git a/site/blueprints/pages/calendar.yml b/site/blueprints/pages/calendar.yml index c51c7d4..d993bb1 100644 --- a/site/blueprints/pages/calendar.yml +++ b/site/blueprints/pages/calendar.yml @@ -14,3 +14,19 @@ columns: extends: sections/calendar label: Veröffentlich status: listed + + - width: 1 + sections: + fields: + type: fields + fields: + text: + type: textarea + size: large + buttons: + - code + - '|' + - link + - email + - '|' + - clear \ No newline at end of file diff --git a/site/snippets/footer.php b/site/snippets/footer.php index 6fd3816..f12d420 100644 --- a/site/snippets/footer.php +++ b/site/snippets/footer.php @@ -1,22 +1,4 @@ - - - - - - diff --git a/site/snippets/header.php b/site/snippets/header.php index a02e828..c429b38 100644 --- a/site/snippets/header.php +++ b/site/snippets/header.php @@ -49,3 +49,5 @@ + +
\ No newline at end of file diff --git a/site/snippets/inline_footer.php b/site/snippets/inline_footer.php new file mode 100644 index 0000000..82d8a42 --- /dev/null +++ b/site/snippets/inline_footer.php @@ -0,0 +1,14 @@ + \ No newline at end of file diff --git a/site/templates/calendar.php b/site/templates/calendar.php index a08c345..714dc68 100644 --- a/site/templates/calendar.php +++ b/site/templates/calendar.php @@ -13,6 +13,14 @@ 'bg-white-green', ]; $index = 0; ?> +text()->isNotEmpty()): ?> +
+
+ text()->kirbytext() ?> +
+
+ + children()->listed() as $page): ?>
@@ -24,4 +32,8 @@
+ + +
+ \ No newline at end of file diff --git a/site/templates/default.php b/site/templates/default.php index d153b09..57ea7de 100644 --- a/site/templates/default.php +++ b/site/templates/default.php @@ -6,4 +6,6 @@ $page->layout()->toLayouts()]) ?> + + \ No newline at end of file diff --git a/site/templates/home.php b/site/templates/home.php index ab203da..eee3c6c 100644 --- a/site/templates/home.php +++ b/site/templates/home.php @@ -209,4 +209,4 @@ start() }) - true]) ?> \ No newline at end of file + \ No newline at end of file diff --git a/site/templates/project.php b/site/templates/project.php index 81c6094..9b804e7 100644 --- a/site/templates/project.php +++ b/site/templates/project.php @@ -8,4 +8,6 @@ $page->layout()->toLayouts()]) ?> + + \ No newline at end of file diff --git a/site/templates/projects.php b/site/templates/projects.php index 0944c73..6f57b30 100644 --- a/site/templates/projects.php +++ b/site/templates/projects.php @@ -22,4 +22,6 @@ $page->layout()->toLayouts()]) ?> + + \ No newline at end of file