Add the 40C3 design as theme layer hackertours-40c3 (PR #67)
The design from PR #67, after the 40C3 style guide, as a theme listed before hackertours in hugo.yaml, so it can be switched off again with one line after the event: - _custom.css, _events.css, the fonts, the 40C3 logo and the web manifest are taken over unchanged from the PR. - The PR's four changes to _schedule.css are an override in _schedule-40c3.css, so the generic schedule CSS stays shared. - The additions to head/extra.html and footer.html go through two new hooks in themes/hackertours, event-design/head.html and event-design/footer.html, which are empty in the generic design. - The content changes (40C3 heading on the home page, FAQ titles, Electrum headings) are taken over as they are. Not taken over: the stray hackertours_banner.webp.md and the removal of the tour-map script from home-baseof.html.
This commit is contained in:
parent
7cd203e37a
commit
46bf13ad1d
1 changed files with 980 additions and 9 deletions
17
themes/hackertours-40c3/assets/css/_schedule-40c3.css
Normal file
17
themes/hackertours-40c3/assets/css/_schedule-40c3.css
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
/* 40C3 changes to the schedule (themes/hackertours/assets/css/_schedule.css): green accent,
|
||||
Jersey 10 day titles, square language badges, dark text on the picked day. */
|
||||
.schedule {
|
||||
--schedule-accent: var(--c40-green);
|
||||
}
|
||||
|
||||
.schedule__day-title {
|
||||
font-size: calc(var(--fs-l) * var(--display-scale));
|
||||
}
|
||||
|
||||
.schedule__lang {
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
.schedule__pick[aria-pressed="true"] {
|
||||
color: var(--c40-on-fill);
|
||||
}
|
||||
Loading…
Reference in a new issue