feat: Applies 40c3 style to website

Rebased onto main after the bottom navigation bar (#68). Main's markup and behaviour win; this commit only contributes the 40c3 look.

- Jersey 10 and Hack fonts, the 40c3 palette and light/dark schemes, theme-color metas, web manifest and the 40c3 logo/footer.
- Header: site name as green chip; nav row with the language switch as amber chip. The tagline stays out of the header, as in main.
- Mobile (up to 666px): main's bottom navigation bar is kept and restyled (2px borders and dividers, current page green, language switch amber, visible keyboard focus). The old button-and-sheet styling is dropped.
- Start pages: 40C3 heading; stale commented-out 39C3 block removed.
- layouts/home-baseof.html removed; it was identical to baseof.html.
- Removed the leftover 'h2 a' margin that made the news list 2px wider than a 390px viewport.
- README: describe the bottom navigation bar.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
Vincent Mahnke 2026-11-07 10:34:09 +01:00
commit 6cbf724fce
Signed by: ViMaSter
GPG key ID: 6D787326BA7D6469
25 changed files with 587 additions and 216 deletions

View file

@ -18,10 +18,11 @@ Then open http://localhost:1313
The header uses the logo dimensions in `hugo.yaml` in both languages, without
shrinking the logo to fit the text. With JavaScript enabled, screens up to 666px
wide use a flat, borderless full-width menu button at the bottom and a scrollable
panel above it. The language link spans the panel's content width, includes the
translation icon, and uses the same font size as the menu links.
The page reserves space for the button so it does not cover content.
wide swap the main menu and the language link in the header for a bottom
navigation bar (`layouts/_partials/mobilemenu.html`): one box per menu entry plus
one for the language switch. The current page is filled green and the language
switch amber, as in the header menu. The page reserves space for the bar so it
does not cover content.
## Brand spelling check

View file

@ -1,31 +1,183 @@
@import './_schedule.css';
@import './_gallery.css';
/*
* 40C3 "MODEL_CITIZENS" design, after the 40C3 styleguide.
* Key colours: green (0), paper (A) and ink (B); the other colours are accents.
* Dark: ink background, paper text, green accents.
* Light: #e2eed6 background and #010801 text (picked for this site, not from the styleguide).
* WCAG AA contrast: on ink every palette colour works as text, but on the light background
* only the foreground does. So in the light scheme green is only ever a fill or a line,
* with foreground-coloured text on it.
*/
:root {
--c40-green: #75b44b;
--c40-teal: #15ada3;
--c40-periwinkle: #9fa4e8;
--c40-lilac: #c892d6;
--c40-pink: #ee5da2;
--c40-coral: #ea6f82;
--c40-orange: #f88a30;
--c40-amber: #ffbc40;
--c40-paper: #ebedf0;
--c40-ink: #001300;
--c40-light-bg: #e2eed6;
--c40-light-fg: #010801;
/* Text on green and amber fills. */
--c40-on-fill: light-dark(var(--c40-light-fg), var(--c40-ink));
/* Hack has a large x-height, so 16px reads about as big as the old 18px serif. */
--base-font-size: 16;
/* Jersey 10 is a small pixel font; it needs about this much more size to match Hack. */
--display-scale: 1.45;
--ff-body: 'Hack', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
--ff-headings: var(--ff-body);
--ff-alt: var(--ff-body);
--ff-monospace: var(--ff-body);
--ff-display: 'Jersey 10', var(--ff-body);
/* Square corners, like the pixel boxes in the styleguide. */
--radius-xl: 0;
--radius-l: 0;
--radius-m: 0;
--radius-s: 0;
--radius-xs: 0;
--color-body-bg: light-dark(var(--c40-light-bg), var(--c40-ink));
--color-page-bg: transparent;
--color-header-bg: transparent;
--color-footer-bg: transparent;
--color-text: light-dark(var(--c40-light-fg), var(--c40-paper));
--color-text-bg: light-dark(var(--c40-light-bg), var(--c40-ink));
--color-text-meta: light-dark(
color-mix(in srgb, var(--c40-light-fg) 78%, var(--c40-light-bg)),
color-mix(in srgb, var(--c40-paper) 80%, var(--c40-ink))
);
--color-headings: var(--color-text);
--color-code: var(--color-text);
--color-link: light-dark(var(--c40-light-fg), var(--c40-green));
--color-link-visited: var(--color-link);
--color-link-hover: var(--c40-on-fill);
--color-link-active: var(--c40-on-fill);
--color-button: var(--c40-green);
--color-button-text: var(--c40-on-fill);
--color-button-hover: var(--c40-amber);
--color-button-text-hover: var(--c40-on-fill);
--color-border: light-dark(var(--c40-light-fg), var(--c40-green));
--color-border-light: var(--color-border);
--color-border-dark: var(--color-border);
--color-mobile-menu: var(--color-body-bg);
--color-accent: var(--c40-green);
--color-highlight: var(--c40-amber);
--color-mark-highlight: var(--c40-amber);
--color-row-odd: light-dark(
color-mix(in srgb, var(--c40-light-fg) 7%, var(--c40-light-bg)),
color-mix(in srgb, var(--c40-paper) 9%, var(--c40-ink))
);
--color-info: var(--c40-teal);
--color-success: var(--c40-green);
--color-warning: var(--c40-amber);
--color-error: var(--c40-coral);
--color-focus: light-dark(var(--c40-light-fg), var(--c40-amber));
}
:focus-visible {
outline: 3px solid var(--color-focus);
outline-offset: 2px;
}
/* Long URLs, the e-mail address and long German words would otherwise make pages wider than a
phone screen, and mobile browsers then zoom the whole page out. Links get `anywhere` because
break-word doesn't shrink the theme's table-style lists (`article > ul`). */
body {
overflow-wrap: break-word;
}
.layout__main a {
overflow-wrap: anywhere;
}
/* Links: underlined, and a green chip with dark text on hover and focus (AA in both schemes). */
a:hover,
a:focus-visible {
background: var(--c40-green);
}
.header__logo:hover,
.header__logo:focus-visible {
background: none;
}
mark {
color: var(--c40-on-fill);
}
/* Headings: Jersey 10 for the big ones. h1 is the "loud header" (filled chip), h3 and below
are Hack Bold, h3 underlined like the styleguide's subheads. */
h1,
h2 {
font-family: var(--ff-display);
font-weight: 400;
letter-spacing: 0;
line-height: 1;
}
h1 {
width: fit-content;
max-width: 100%;
padding: 0.12em 0.3em 0.2em;
background: var(--c40-green);
color: var(--c40-on-fill);
font-size: calc(var(--fs-xxl) * var(--display-scale));
}
h2 {
color: light-dark(var(--c40-light-fg), var(--c40-green));
font-size: calc(var(--fs-xl) * var(--display-scale));
}
h3 {
font-size: var(--fs-l);
text-decoration: underline;
text-decoration-thickness: 2px;
text-underline-offset: 0.25em;
}
.title-post-date {
display: block;
margin-left: 0;
color: var(--color-text-meta);
font-family: var(--ff-body);
font-size: var(--fs-s);
letter-spacing: 0;
}
/* The line breaks in the home page's intro text are meant. */
.intro-text {
white-space: pre-line;
}
/* Branding: the logo, and the site name as a loud header chip like the page's own h1. */
.header {
color: var(--color-text);
}
.header__logo {
flex-shrink: 0;
}
/* Header h1 styling - responsive sizing that grows with viewport */
.header__site-name {
font-size: var(--fs-xxl);
margin-block-start: 0;
margin-block-end: 0;
flex-shrink: 1;
min-width: 0;
}
/* Smaller on mobile only */
@media (width <= 666px) {
.header__site-name {
font-size: var(--fs-l);
}
}
/* Logo scaling - smaller on mobile */
.header__logo-image {
width: 50px;
height: 50px;
@ -38,83 +190,90 @@
}
}
/* Reserve space for the mobile menu without changing the theme's colours or fonts. */
:root {
--mobile-bar-h: 3.25rem;
.header__site-name {
flex-shrink: 1;
min-width: 0;
margin-block: 0;
}
.layout__page:has(> .mobile-nav:not([hidden])) {
padding-block-end: calc(var(--mobile-bar-h) + env(safe-area-inset-bottom, 0px));
@media (width <= 666px) {
.header__site-name {
font-size: calc(var(--fs-l) * var(--display-scale));
}
}
:root:has(.mobile-nav:not([hidden])) {
scroll-padding-block-end: calc(var(--mobile-bar-h) + 1rem);
.header__site-link {
color: inherit;
&:hover,
&:focus-visible {
text-decoration: underline;
}
}
.mobile-nav {
position: fixed;
inset: 0;
width: auto;
height: auto;
/* Links in text keep their underline: the link colour alone is too close to the text colour. */
nav a,
.header a {
text-decoration: none;
}
.mobile-nav__cover {
inset: 0;
width: auto;
height: auto;
}
.mobile-nav__toggle.button {
position: fixed;
inset: auto 0 0;
justify-content: center;
gap: 0.6rem;
width: auto;
block-size: calc(var(--mobile-bar-h) + env(safe-area-inset-bottom, 0px));
padding: 0 var(--gutters) env(safe-area-inset-bottom, 0px);
border: 0;
border-radius: 0;
background: var(--color-button);
/* Main menu: quiet (outlined) chips, the current page and hover are filled green. */
.main-menu a {
padding: 0.15rem 0.75rem;
background: transparent;
box-shadow: inset 0 0 0 1px currentcolor;
color: var(--color-text);
text-decoration: none;
&:hover,
&:focus-visible,
&:active {
background: var(--color-button-hover);
&[aria-current] {
background: var(--c40-green);
box-shadow: none;
}
&:focus-visible {
outline-offset: -4px;
color: var(--c40-on-fill);
text-decoration: none;
}
}
.mobile-nav__sheet {
position: absolute;
inset: auto 0 calc(var(--mobile-bar-h) + env(safe-area-inset-bottom, 0px));
width: auto;
height: auto;
max-height: calc(100% - var(--mobile-bar-h) - env(safe-area-inset-bottom, 0px) - var(--spacing-l));
overflow-y: auto;
padding: var(--spacing-m) var(--gutters);
transform: translateY(100%);
[data-navopen] & {
transform: translateY(0);
}
}
.mobile-nav__region .language-selector ul {
flex: 1;
flex-direction: column;
}
.language-selector a {
/* Nav row (layouts/_partials/menu.html): menu chips, and the language switch on the right. */
.nav-bar__row {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 0.45em;
gap: 0.5rem;
}
.language-selector .language-icon {
.nav-bar .header__region {
margin-inline-start: auto;
}
/* On small screens mobilemenu.js hides both parts; drop the then empty row too. */
.nav-bar:has(.main-menu[hidden]) {
display: none;
}
/* Language switch: an amber chip with the icon, so it doesn't read as a menu entry. */
.language-selector {
font-size: inherit;
a {
display: flex;
align-items: center;
gap: 0.45em;
padding: 0.15rem 0.75rem;
background: var(--c40-amber);
color: var(--c40-on-fill);
text-decoration: none;
&:hover,
&:focus-visible {
background: var(--c40-green);
color: var(--c40-on-fill);
}
}
}
.language-icon {
inline-size: 1.1em;
block-size: 1.1em;
flex-shrink: 0;
@ -122,77 +281,131 @@
fill: currentcolor;
}
.mobile-nav__region .language-selector {
font-size: inherit;
/*
* Mobile bottom bar (layouts/_partials/mobilemenu.html, below 667px). The theme lays it out; this
* dresses it like the main menu: the current page and hover/focus are filled green, the language
* switch is the amber one, and 2px dividers make the row of boxes.
*/
.mobile-bottom-nav {
border-block-start: 2px solid var(--color-border);
}
.mobile-nav__region .language-selector a,
.mobile-nav__navbar a {
padding-block: 0.5rem;
.mobile-bottom-nav__item + .mobile-bottom-nav__item {
border-inline-start: 2px solid var(--color-border);
}
.mobile-nav__region .language-selector a {
justify-content: center;
}
.mobile-bottom-nav__link {
color: var(--color-text);
.mobile-nav__navbar a {
display: block;
}
table, th, td {
border: 1px solid;
&[aria-current='page'] {
background: var(--c40-green);
color: var(--c40-on-fill);
}
th, td {
padding: 3px 6px;
font-variant-numeric: tabular-nums;
}
.title-post-date { margin-left: 0em;
display: block;
font-size: 0.5em;
}
&[hreflang] {
background: var(--c40-amber);
color: var(--c40-on-fill);
}
/* Zen v7 paints body with --color-body-bg and .page with --color-page-bg. */
:root {
--color-body-bg: light-dark(var(--color-grey-100), #141414);
--color-page-bg: light-dark(var(--color-white), #242424);
}
&:focus-visible {
background: var(--c40-green);
color: var(--c40-on-fill);
outline-color: var(--c40-on-fill);
outline-offset: -6px;
}
@media (prefers-color-scheme: dark) {
:root {
--color-headings: #faf5f5;
--color-header-bg: #242424;
--color-text: #faf5f5;
--color-link: #66f2ff;
--color-link-visited: #66f2ff;
--color-footer-bg: #242424;
--color-border: #faf5f5;
--color-button: #141414;
--color-button-text: #faf5f5;
--color-button-hover: #343434;
--color-brand: #66f2ff;
--color-text-meta: #faf5f5;
--color-mobile-menu: #141414;
/* Touch screens keep :hover after a tap. */
@media (hover: hover) {
&:hover {
background: var(--c40-green);
color: var(--c40-on-fill);
}
}
}
nav ul li {
flex-grow: 1;
text-align: center;
}
.main-menu a:active {
text-decoration: none;
}
/* Links in text keep their underline: the link colour alone is too close to the text colour. */
nav a,
.header a {
text-decoration: none;
/* Keep focused and scrolled-to elements clear of the bar. */
@media (width <= 666px) {
:root {
scroll-padding-block-end: 6rem;
}
}
h2 a {
margin-right: 2em;
/* Buttons: flat fills. */
.button {
background: var(--color-button);
border-color: var(--color-button);
&:hover,
&:focus-visible {
background: var(--color-button-hover);
border-color: var(--color-button-hover);
}
}
table,
th,
td {
border: 1px solid;
}
th,
td {
padding: 3px 6px;
font-variant-numeric: tabular-nums;
}
/*
* Footer: a pixel ruler after the styleguide's boxes pattern instead of a plain line.
* One frame (top/bottom borders) with a divider per cell; the width snaps down to
* whole cells and the divider tile repeats into the end padding to close the last box,
* so there are no cut-off cells or doubled lines. Without round(), `round` repeat
* stretches the cells to fit instead.
*/
.footer {
--ruler-line: 0.125rem;
--ruler-cell: 0.75rem;
border-block-start: 0;
&::before {
content: '';
display: block;
box-sizing: border-box;
inline-size: 100%;
inline-size: calc(round(down, 100% - var(--ruler-line), var(--ruler-cell)) + var(--ruler-line));
block-size: calc(var(--ruler-cell) + var(--ruler-line));
margin-inline: auto;
margin-block-end: var(--spacing-s);
padding-inline-end: var(--ruler-line);
border-block: var(--ruler-line) solid var(--color-border);
background: linear-gradient(to right, var(--color-border) var(--ruler-line), transparent 0) 0 0 /
var(--ruler-cell) 100% round no-repeat content-box border-box;
}
}
.footer__logo {
display: block;
margin-block: var(--spacing-xs);
img {
display: block;
width: auto;
height: 3.5rem;
margin-inline: auto;
}
}
.event-logo {
display: block;
margin-block: var(--spacing-s);
img {
display: block;
width: auto;
height: 5rem;
}
}
/* Visible when focused with the keyboard; the visually-hidden class hides it otherwise. */
.skip-link:focus {
position: absolute;

53
assets/css/_fonts.css Normal file
View file

@ -0,0 +1,53 @@
/* 40C3 "MODEL_CITIZENS" styleguide fonts, self-hosted (SIL OFL / MIT, see static/fonts).
Jersey 10: headings. Hack: body text and subheads.
Hack is subset to Latin (Latin-1, Latin Extended-A, general punctuation). */
@font-face {
font-family: 'Jersey 10';
src: url('../fonts/Jersey10-latin-ext.woff2') format('woff2');
font-weight: 400;
font-style: normal;
font-display: swap;
unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
font-family: 'Jersey 10';
src: url('../fonts/Jersey10-latin.woff2') format('woff2');
font-weight: 400;
font-style: normal;
font-display: swap;
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
font-family: 'Hack';
src: url('../fonts/Hack-Regular.woff2') format('woff2');
font-weight: 400;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'Hack';
src: url('../fonts/Hack-Italic.woff2') format('woff2');
font-weight: 400;
font-style: italic;
font-display: swap;
}
@font-face {
font-family: 'Hack';
src: url('../fonts/Hack-Bold.woff2') format('woff2');
font-weight: 700;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'Hack';
src: url('../fonts/Hack-BoldItalic.woff2') format('woff2');
font-weight: 700;
font-style: italic;
font-display: swap;
}

View file

@ -3,7 +3,7 @@
.schedule {
--schedule-line: color-mix(in oklch, var(--color-text) 20%, transparent);
--schedule-card-bg: color-mix(in oklch, var(--color-text) 4%, transparent);
--schedule-accent: var(--color-link);
--schedule-accent: var(--c40-green);
container-type: inline-size;
margin-block: var(--spacing-l);
@ -84,7 +84,7 @@
margin: 0 0 0.75rem;
padding-block-end: 0.35rem;
border-block-end: 2px solid var(--schedule-accent);
font-size: var(--fs-l);
font-size: calc(var(--fs-l) * var(--display-scale));
}
.schedule__date {
@ -170,7 +170,6 @@
.schedule__lang {
padding: 0 0.4rem;
border: 1px solid var(--schedule-line);
border-radius: 999px;
font-family: var(--ff-alt);
font-size: var(--fs-xs);
letter-spacing: 0.03em;
@ -237,7 +236,7 @@
&[aria-pressed="true"] {
background: var(--schedule-accent);
color: var(--color-body-bg);
color: var(--c40-on-fill);
.schedule__pick-date {
color: inherit;

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View file

@ -0,0 +1,39 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg id="Ebene_2" data-name="Ebene 2" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 138.02 71.06">
<defs>
<style>
.cls-1 {
fill: #75b44b;
}
</style>
</defs>
<g id="Content">
<g>
<g>
<path class="cls-1" d="M64.52,27.08h2.54l1.29,4.73,1.28-4.73h2.56v10.79h-1.83v-8.64l-1.14,4.72h-1.7l-1.16-4.72v8.64h-1.83v-10.79Z"/>
<path class="cls-1" d="M78.28,38.07c-.65,0-1.21-.12-1.67-.36-.46-.24-.85-.59-1.15-1.04-.64-.94-.96-2.34-.96-4.18s.32-3.23.96-4.19c.33-.49.74-.85,1.22-1.07s1.02-.34,1.6-.34c1.25,0,2.19.47,2.84,1.42.64.94.95,2.34.95,4.18s-.32,3.23-.95,4.18c-.31.46-.7.81-1.17,1.05-.47.24-1.03.36-1.67.36ZM78.28,36.16c.55,0,.95-.29,1.2-.87.25-.56.38-1.5.38-2.81s-.13-2.24-.38-2.8c-.25-.58-.65-.87-1.2-.87s-.94.29-1.19.87c-.25.56-.38,1.5-.38,2.8s.13,2.25.38,2.81c.25.58.65.87,1.19.87Z"/>
<path class="cls-1" d="M84.56,27.08h2.28c1.77,0,3.04.42,3.81,1.26.38.41.67.96.87,1.64.2.68.3,1.51.3,2.49,0,1.9-.39,3.28-1.16,4.12-.78.85-2.04,1.27-3.81,1.27h-2.28v-10.79ZM87.26,35.94c.84,0,1.44-.26,1.79-.79.36-.53.53-1.43.53-2.69s-.18-2.14-.53-2.67c-.35-.52-.95-.79-1.79-.79h-.58v6.94h.58Z"/>
<path class="cls-1" d="M94.36,27.08h6.72v1.88h-4.59v2.33h4.15v1.88h-4.15v2.82h4.59v1.88h-6.72v-10.79Z"/>
<path class="cls-1" d="M103.98,27.08h2.13v8.91h4.56v1.88h-6.69v-10.79Z"/>
<path class="cls-1" d="M112.86,39.24h7.54v1.44h-7.54v-1.44Z"/>
<path class="cls-1" d="M69.38,56.53c-1.44,0-2.55-.48-3.32-1.44-.77-.96-1.15-2.35-1.15-4.15s.38-3.2,1.15-4.16c.77-.96,1.88-1.44,3.32-1.44.42,0,.82.04,1.19.13.38.09.73.22,1.05.39v2.37c-.22-.2-.41-.36-.58-.47-.17-.11-.33-.2-.49-.27-.18-.08-.36-.14-.54-.18-.18-.04-.35-.05-.53-.05-.77,0-1.36.31-1.76.92-.4.63-.6,1.55-.6,2.76s.2,2.13.6,2.75c.4.62.98.93,1.76.93.37,0,.73-.08,1.08-.24.17-.08.34-.17.5-.29.17-.11.35-.26.56-.45v2.37c-.34.17-.69.3-1.06.39-.37.09-.77.13-1.18.13Z"/>
<path class="cls-1" d="M74.27,54.44h2.15v-7.03h-2.15v-1.88h6.42v1.88h-2.15v7.03h2.15v1.88h-6.42v-1.88Z"/>
<path class="cls-1" d="M85.85,47.4h-2.74v-1.86h7.61v1.86h-2.74v8.92h-2.13v-8.92Z"/>
<path class="cls-1" d="M93.13,54.44h2.15v-7.03h-2.15v-1.88h6.42v1.88h-2.15v7.03h2.15v1.88h-6.42v-1.88Z"/>
<path class="cls-1" d="M101.97,54.56l4.85-7.14h-4.69v-1.88h7.3v1.76l-5,7.14h5.1v1.88h-7.56v-1.76Z"/>
<path class="cls-1" d="M111.93,45.54h6.72v1.88h-4.59v2.33h4.15v1.88h-4.15v2.82h4.59v1.88h-6.72v-10.79Z"/>
<path class="cls-1" d="M121.2,45.54h2.29l3.01,7.84v-7.84h1.88v10.79h-2.28l-3.02-7.84v7.84h-1.88v-10.79Z"/>
<path class="cls-1" d="M134.21,56.53c-.29,0-.57-.01-.85-.04s-.55-.08-.82-.14c-.56-.13-1.08-.32-1.56-.57v-2.2c.57.4,1.12.71,1.65.9.54.2,1.06.3,1.56.3.53,0,.94-.12,1.24-.36.29-.24.43-.57.43-1,0-.33-.1-.62-.29-.85-.1-.13-.22-.23-.36-.33-.14-.09-.3-.17-.47-.24l-1.05-.4c-.55-.21-1.01-.42-1.37-.64-.36-.21-.63-.43-.82-.65-.38-.44-.57-1.04-.57-1.81,0-.98.31-1.75.94-2.3.63-.56,1.49-.84,2.57-.84.53,0,1.03.05,1.5.16.46.11.95.28,1.47.51v2.08c-.92-.66-1.86-.99-2.8-.99-.52,0-.91.1-1.18.31-.27.21-.41.5-.41.88,0,.3.1.55.3.74.1.1.24.2.43.3s.46.22.82.35l.92.35c.87.32,1.51.74,1.91,1.26.41.52.61,1.2.61,2.03,0,1.06-.32,1.86-.97,2.4-.65.54-1.59.81-2.85.81Z"/>
</g>
<g>
<path class="cls-1" d="M41.77,14.66l5.1-5.1-2.59-2.59-5.78,5.78c-3.16-1.84-6.32-3.67-9.48-5.51V0h-3.66v7.25c-3.16,1.84-6.32,3.67-9.48,5.51l-5.78-5.78-2.59,2.59,5.1,5.1C8.4,17.1,4.2,19.54,0,21.98c9.06,5.27,18.12,10.53,27.18,15.8,9.06-5.27,18.12-10.53,27.18-15.8-4.2-2.44-8.4-4.88-12.6-7.32ZM27.18,30.15c-4.51,0-8.17-3.66-8.17-8.17s3.66-8.17,8.17-8.17,8.17,3.66,8.17,8.17-3.66,8.17-8.17,8.17Z"/>
<g>
<path class="cls-1" d="M24.98,41.59l-11.7-6.75v29.47l11.7,6.75v-29.47ZM21.63,54.87v7.41c-.86-.42-1.75-.87-2.66-1.36-.93-.5-1.82-1.01-2.66-1.51v-14.11c.88.49,1.76.99,2.66,1.48.89.49,1.78.97,2.66,1.45v6.64Z"/>
<path class="cls-1" d="M42.65,37.92v5.17c1.42-.96,2.87-2,4.35-3.1,1.47-1.09,2.86-2.18,4.18-3.25.02,1.78.03,2.7.05,4.55-2.35,1.45-4.69,2.91-7.03,4.38.03,1.9.06,3.8.09,5.7,2.33-1.44,4.66-2.87,7.01-4.27.02,1.83.03,2.73.05,4.48-1.13.48-2.27.97-3.42,1.44-1.8.75-3.58,1.47-5.34,2.16v8.03l11.78-6.8c-.01-9.8-.09-19.61-.1-29.41l-11.61,6.71v4.21Z"/>
<path class="cls-1" d="M10.13,43.08c-.64.26-1.33.51-2.06.76-.7.23-1.37.43-2.01.61-.06,1.48-.13,2.95-.19,4.43-1.44-.81-2.17-1.22-3.64-2.08.92-3.41,1.87-6.81,2.85-10.2.53-1.86,1.08-3.71,1.63-5.57l-6.69-3.86v26.54c1.11.61,2.21,1.21,3.32,1.82.73.4,1.47.8,2.21,1.2-.06,1.22-.1,2.03-.15,3.01l4.76,2.75v-19.4Z"/>
<path class="cls-1" d="M32.55,62.32c.02-4.89.05-9.79.07-14.68,2.36-1.08,4.69-2.22,7.02-3.37v-8.82l-10.58,6.11c0,4.89,0,9.78,0,14.68,0,4.93,0,9.86,0,14.79l10.58-6.11v-8.64c-2.34,2.05-4.69,4.08-7.09,6.05Z"/>
</g>
</g>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 4.7 KiB

View file

@ -0,0 +1,39 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg id="Ebene_2" data-name="Ebene 2" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 138.02 71.06">
<defs>
<style>
.cls-1 {
fill: #010801;
}
</style>
</defs>
<g id="Content">
<g>
<g>
<path class="cls-1" d="M64.52,27.08h2.54l1.29,4.73,1.28-4.73h2.56v10.79h-1.83v-8.64l-1.14,4.72h-1.7l-1.16-4.72v8.64h-1.83v-10.79Z"/>
<path class="cls-1" d="M78.28,38.07c-.65,0-1.21-.12-1.67-.36-.46-.24-.85-.59-1.15-1.04-.64-.94-.96-2.34-.96-4.18s.32-3.23.96-4.19c.33-.49.74-.85,1.22-1.07s1.02-.34,1.6-.34c1.25,0,2.19.47,2.84,1.42.64.94.95,2.34.95,4.18s-.32,3.23-.95,4.18c-.31.46-.7.81-1.17,1.05-.47.24-1.03.36-1.67.36ZM78.28,36.16c.55,0,.95-.29,1.2-.87.25-.56.38-1.5.38-2.81s-.13-2.24-.38-2.8c-.25-.58-.65-.87-1.2-.87s-.94.29-1.19.87c-.25.56-.38,1.5-.38,2.8s.13,2.25.38,2.81c.25.58.65.87,1.19.87Z"/>
<path class="cls-1" d="M84.56,27.08h2.28c1.77,0,3.04.42,3.81,1.26.38.41.67.96.87,1.64.2.68.3,1.51.3,2.49,0,1.9-.39,3.28-1.16,4.12-.78.85-2.04,1.27-3.81,1.27h-2.28v-10.79ZM87.26,35.94c.84,0,1.44-.26,1.79-.79.36-.53.53-1.43.53-2.69s-.18-2.14-.53-2.67c-.35-.52-.95-.79-1.79-.79h-.58v6.94h.58Z"/>
<path class="cls-1" d="M94.36,27.08h6.72v1.88h-4.59v2.33h4.15v1.88h-4.15v2.82h4.59v1.88h-6.72v-10.79Z"/>
<path class="cls-1" d="M103.98,27.08h2.13v8.91h4.56v1.88h-6.69v-10.79Z"/>
<path class="cls-1" d="M112.86,39.24h7.54v1.44h-7.54v-1.44Z"/>
<path class="cls-1" d="M69.38,56.53c-1.44,0-2.55-.48-3.32-1.44-.77-.96-1.15-2.35-1.15-4.15s.38-3.2,1.15-4.16c.77-.96,1.88-1.44,3.32-1.44.42,0,.82.04,1.19.13.38.09.73.22,1.05.39v2.37c-.22-.2-.41-.36-.58-.47-.17-.11-.33-.2-.49-.27-.18-.08-.36-.14-.54-.18-.18-.04-.35-.05-.53-.05-.77,0-1.36.31-1.76.92-.4.63-.6,1.55-.6,2.76s.2,2.13.6,2.75c.4.62.98.93,1.76.93.37,0,.73-.08,1.08-.24.17-.08.34-.17.5-.29.17-.11.35-.26.56-.45v2.37c-.34.17-.69.3-1.06.39-.37.09-.77.13-1.18.13Z"/>
<path class="cls-1" d="M74.27,54.44h2.15v-7.03h-2.15v-1.88h6.42v1.88h-2.15v7.03h2.15v1.88h-6.42v-1.88Z"/>
<path class="cls-1" d="M85.85,47.4h-2.74v-1.86h7.61v1.86h-2.74v8.92h-2.13v-8.92Z"/>
<path class="cls-1" d="M93.13,54.44h2.15v-7.03h-2.15v-1.88h6.42v1.88h-2.15v7.03h2.15v1.88h-6.42v-1.88Z"/>
<path class="cls-1" d="M101.97,54.56l4.85-7.14h-4.69v-1.88h7.3v1.76l-5,7.14h5.1v1.88h-7.56v-1.76Z"/>
<path class="cls-1" d="M111.93,45.54h6.72v1.88h-4.59v2.33h4.15v1.88h-4.15v2.82h4.59v1.88h-6.72v-10.79Z"/>
<path class="cls-1" d="M121.2,45.54h2.29l3.01,7.84v-7.84h1.88v10.79h-2.28l-3.02-7.84v7.84h-1.88v-10.79Z"/>
<path class="cls-1" d="M134.21,56.53c-.29,0-.57-.01-.85-.04s-.55-.08-.82-.14c-.56-.13-1.08-.32-1.56-.57v-2.2c.57.4,1.12.71,1.65.9.54.2,1.06.3,1.56.3.53,0,.94-.12,1.24-.36.29-.24.43-.57.43-1,0-.33-.1-.62-.29-.85-.1-.13-.22-.23-.36-.33-.14-.09-.3-.17-.47-.24l-1.05-.4c-.55-.21-1.01-.42-1.37-.64-.36-.21-.63-.43-.82-.65-.38-.44-.57-1.04-.57-1.81,0-.98.31-1.75.94-2.3.63-.56,1.49-.84,2.57-.84.53,0,1.03.05,1.5.16.46.11.95.28,1.47.51v2.08c-.92-.66-1.86-.99-2.8-.99-.52,0-.91.1-1.18.31-.27.21-.41.5-.41.88,0,.3.1.55.3.74.1.1.24.2.43.3s.46.22.82.35l.92.35c.87.32,1.51.74,1.91,1.26.41.52.61,1.2.61,2.03,0,1.06-.32,1.86-.97,2.4-.65.54-1.59.81-2.85.81Z"/>
</g>
<g>
<path class="cls-1" d="M41.77,14.66l5.1-5.1-2.59-2.59-5.78,5.78c-3.16-1.84-6.32-3.67-9.48-5.51V0h-3.66v7.25c-3.16,1.84-6.32,3.67-9.48,5.51l-5.78-5.78-2.59,2.59,5.1,5.1C8.4,17.1,4.2,19.54,0,21.98c9.06,5.27,18.12,10.53,27.18,15.8,9.06-5.27,18.12-10.53,27.18-15.8-4.2-2.44-8.4-4.88-12.6-7.32ZM27.18,30.15c-4.51,0-8.17-3.66-8.17-8.17s3.66-8.17,8.17-8.17,8.17,3.66,8.17,8.17-3.66,8.17-8.17,8.17Z"/>
<g>
<path class="cls-1" d="M24.98,41.59l-11.7-6.75v29.47l11.7,6.75v-29.47ZM21.63,54.87v7.41c-.86-.42-1.75-.87-2.66-1.36-.93-.5-1.82-1.01-2.66-1.51v-14.11c.88.49,1.76.99,2.66,1.48.89.49,1.78.97,2.66,1.45v6.64Z"/>
<path class="cls-1" d="M42.65,37.92v5.17c1.42-.96,2.87-2,4.35-3.1,1.47-1.09,2.86-2.18,4.18-3.25.02,1.78.03,2.7.05,4.55-2.35,1.45-4.69,2.91-7.03,4.38.03,1.9.06,3.8.09,5.7,2.33-1.44,4.66-2.87,7.01-4.27.02,1.83.03,2.73.05,4.48-1.13.48-2.27.97-3.42,1.44-1.8.75-3.58,1.47-5.34,2.16v8.03l11.78-6.8c-.01-9.8-.09-19.61-.1-29.41l-11.61,6.71v4.21Z"/>
<path class="cls-1" d="M10.13,43.08c-.64.26-1.33.51-2.06.76-.7.23-1.37.43-2.01.61l-.19,4.43c-1.44-.81-2.17-1.22-3.64-2.08.92-3.41,1.87-6.81,2.85-10.2.53-1.86,1.08-3.71,1.63-5.57l-6.69-3.86v26.54c1.11.61,2.21,1.21,3.32,1.82.73.4,1.47.8,2.21,1.2-.06,1.22-.1,2.03-.15,3.01l4.76,2.75v-19.4Z"/>
<path class="cls-1" d="M32.55,62.32c.02-4.89.05-9.79.07-14.68,2.36-1.08,4.69-2.22,7.02-3.37v-8.82l-10.58,6.11c0,4.89,0,9.78,0,14.68,0,4.93,0,9.86,0,14.79l10.58-6.11v-8.64c-2.34,2.05-4.69,4.08-7.09,6.05Z"/>
</g>
</g>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 4.7 KiB

View file

@ -14,20 +14,10 @@ cascade:
intro: Wir von Hamburg Hackertours zeigen euch die Stadt!
---
# 40C3
Wir bereiten Touren für den [40C3](https://events.ccc.de/category/40c3/) vor. In Kürze mehr!
<!--
Für den [39C3](https://events.ccc.de/category/39c3/) haben wir interessante Orte in und um Hamburg gefunden, an denen ihr für ein paar Stunden in andere Welten eintauchen und spannende Dinge erleben könnt. [Wie das funktioniert, erklären wir euch hier in unseren FAQ]({{< relref "faq/_index" >}})!
Hackertours ist auch auf **[Mastodon](https://chaos.social/@hackertours)**!
**[Alle Touren zum 39C3]({{< relref "39c3" >}})** – **[Direkt zum Hackertours Ticket-Shop](https://tickets.hamburg.ccc.de/hackertours/39c3ht/)**
Hackertours-Desk: DECT 8687 "TOUR", +49 40 573 0830 8687
[C3Nav-Direktlink](https://39c3.c3nav.de/l/hackertours-desk/) Ihr findet uns auf der Empore vor X im ersten Stock, zwischen dem Sendezentrum, dem Vereinstisch und dem Infodesk.
-->
![Hamburger Hacker Ausflüge am CCC. CC0 Amzi](hackertours_banner.webp)
Frühere Veranstaltungen: [37C3](37c3) / [38C3](38c3) / [EH22](eh22) / [39C3](39c3)

View file

@ -14,19 +14,10 @@ cascade:
intro: We at Hamburg Hackertours show you around the city!
---
# 40C3
We are preparing tours for [40C3](https://events.ccc.de/category/40c3/). Stay tuned!
<!--
For [39C3](https://events.ccc.de/category/39c3/) we have found interesting places in and around Hamburg where you can delve into other worlds and experience fascinating things for a few hours. [We are going to explain how this works here in our FAQ article]({{< relref "faq/_index" >}})!
Hackertours is also on **[Mastodon](https://chaos.social/@hackertours)**!
**[All 39C3 Tours]({{< relref "39c3" >}})** - **[Directly to the Hackertours Ticket Shop](https://tickets.hamburg.ccc.de/hackertours/39c3ht)**
Hackertours Desk: DECT 8687 "TOUR", +49 40 573 0830 8687
[C3Nav Direct Link](https://39c3.c3nav.de/l/hackertours-desk/) You can find us on the balcony next to X on level 1, between Sendezentrum, Vereinstisch and the Info Desk.
-->
![Hamburger Hacker Ausflüge am CCC. CC0 Amzi](hackertours_banner.webp)
Previous events: [37C3](37c3) / [38C3](38c3) / [EH22](eh22) / [39C3](39c3)

View file

@ -0,0 +1,2 @@
# hackertours_banner.webp

View file

@ -0,0 +1,6 @@
{{- /* Overrides the zen theme's footer.html. Same as the theme's, plus the 40C3 logo. */ -}}
{{ if $.Param "feedlinks" }}{{ partial "feedlinks.html" . }}{{ end -}}
<p class="footer__event">{{ partial "logo-40c3.html" (dict "class" "footer__logo") }}</p>
<p>{{ with site.Copyright }}{{ . | site.Home.RenderString }}{{ else }}<span>© {{ site.Title }}</span>{{ end }}</p>
{{ with $.Param "footer" }}<p>{{ . | site.Home.RenderString }}</p>{{ end }}
{{ if $.Param "poweredby" }}<p>Powered by <a href="https://gohugo.io/">Hugo</a> and the <a href="https://github.com/frjo/hugo-theme-zen">Zen theme</a>.</p>{{ end }}

View file

@ -1,3 +1,6 @@
{{- /* Browser UI colours, the same as the page backgrounds in assets/css/_custom.css. */ -}}
<meta name="theme-color" media="(prefers-color-scheme: light)" content="#e2eed6">
<meta name="theme-color" media="(prefers-color-scheme: dark)" content="#001300">
{{- /*
Open Graph image for link previews. The theme's head/meta.html writes og:image only for the
"image" param; without it, this uses the first image in the page, a Markdown image or a

View file

@ -0,0 +1,10 @@
{{- /*
40C3 text logo, picked to suit the colour scheme: green on dark, dark text colour on light.
Params: class (optional, on the picture element).
*/ -}}
{{- $light := resources.Get "img/40c3/logo-text-b.svg" -}}
{{- $dark := resources.Get "img/40c3/logo-text-0.svg" -}}
<picture{{ with .class }} class="{{ . }}"{{ end }}>
<source srcset="{{ $dark.RelPermalink }}" media="(prefers-color-scheme: dark)">
<img src="{{ $light.RelPermalink }}" alt="40C3 MODEL_CITIZENS" width="138" height="71" loading="lazy">
</picture>

View file

@ -1,4 +1,9 @@
<nav class="main-menu{{ if not ($.Param "menuinheader") }} mx--xs layout__navigation{{ end }}" aria-label="{{ i18n "menu_title" }}">
{{- /* Nav row: the main menu, and the language switch on the right.
On small screens the theme's mobilemenu.js hides .main-menu and .header__region, and the
bottom bar (mobilemenu.html) takes over both. */ -}}
<div class="nav-bar mx--xs layout__navigation">
<div class="nav-bar__row">
<nav class="main-menu" aria-label="{{ i18n "menu_title" }}">
<ul class="flex-inline mx--0">
{{ $currentPage := . -}}
{{ range site.Menus.main -}}
@ -6,3 +11,6 @@
{{ end -}}
</ul>
</nav>
<div class="region header__region">{{ if hugo.IsMultilingual }}{{ partial "language-selector.html" . }}{{ end }}</div>
</div>
</div>

View file

@ -0,0 +1 @@
{{- partial "logo-40c3.html" (dict "class" "event-logo") -}}

Some files were not shown because too many files have changed in this diff Show more