- tour-map shortcode: Leaflet map of the tour locations with routes from the Congress, from the map/tours sections of data/schedule/<event>.yaml; Leaflet and the OSMIC, Maki and Temaki icon sets vendored; 39C3 uMap data converted. - calendar shortcode: per tour date, a pill with an .ics download (iCalendar) and a Google Calendar link; Font Awesome Free vendored, fa-icon partial. - README sections for the calendar and tour map shortcodes and the map data.
140 lines
3 KiB
CSS
140 lines
3 KiB
CSS
@import './_schedule.css';
|
|
@import './_tour-map.css';
|
|
@import './_gallery.css';
|
|
|
|
.header__intro_headline {
|
|
margin: 0;
|
|
font: bold var(--fs-xxl) "Arial";
|
|
padding-bottom: 10px;
|
|
}
|
|
.header__intro_text {
|
|
font-family: var(--ff-body)
|
|
}
|
|
table, th, td {
|
|
border: 1px solid;
|
|
}
|
|
th, td {
|
|
padding: 3px 6px;
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
|
|
.title-post-date {
|
|
font-size: .7em;
|
|
margin-left: 2em;
|
|
}
|
|
|
|
/* 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);
|
|
}
|
|
|
|
@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;
|
|
}
|
|
|
|
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;
|
|
}
|
|
}
|
|
|
|
h2 a {
|
|
margin-right: 2em;
|
|
}
|
|
|
|
.title-post-date {
|
|
margin-left: 0em;
|
|
}
|
|
/* Visible when focused with the keyboard; the visually-hidden class hides it otherwise. */
|
|
.skip-link:focus {
|
|
position: absolute;
|
|
inset-block-start: 0.5rem;
|
|
inset-inline-start: 0.5rem;
|
|
z-index: 100;
|
|
padding: 0.5rem 1rem;
|
|
background: var(--color-button);
|
|
color: var(--color-button-text);
|
|
}
|
|
|
|
#main-content:focus {
|
|
outline: none;
|
|
}
|
|
|
|
/* Content images with their credit, see layouts/_markup/render-image.html. */
|
|
.content-image {
|
|
margin: 1rem 0;
|
|
|
|
img {
|
|
display: block;
|
|
max-width: 100%;
|
|
height: auto;
|
|
}
|
|
}
|
|
|
|
span.content-image {
|
|
display: inline-block;
|
|
vertical-align: top;
|
|
max-width: 100%;
|
|
margin: 0 0.5rem 0.5rem 0;
|
|
}
|
|
|
|
.content-image__credit {
|
|
display: block;
|
|
margin-block-start: 0.25rem;
|
|
font-family: var(--ff-alt);
|
|
font-size: var(--fs-xs);
|
|
color: var(--color-text-meta);
|
|
}
|
|
|
|
/* Calendar links after a tour date, see layouts/_shortcodes/calendar.html.
|
|
The links are at least 24 pixels high, so they are easy to hit (WCAG 2.5.8). */
|
|
.tour-calendar {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 0.4em;
|
|
margin-inline-start: 0.4em;
|
|
padding: 0 0.6em;
|
|
border: 1px solid color-mix(in oklch, var(--color-text) 25%, transparent);
|
|
border-radius: 999px;
|
|
font-family: var(--ff-alt);
|
|
font-size: var(--fs-xs);
|
|
vertical-align: middle;
|
|
white-space: nowrap;
|
|
|
|
a {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
min-height: 24px;
|
|
}
|
|
}
|
|
|
|
.tour-calendar__separator {
|
|
color: var(--color-text-meta);
|
|
}
|
|
|
|
.fa-icon {
|
|
width: 1em;
|
|
height: 1em;
|
|
}
|