|
4 | 4 | <meta charset="UTF-8" /> |
5 | 5 | <meta name="viewport" content="width=device-width, initial-scale=1.0" /> |
6 | 6 | <title>ConferenceStats{% if title %} · {{ title }}{% endif %}</title> |
| 7 | + <!-- EuroPython Society brand fonts: Fira Sans (body) + Libre Baskerville (headings) --> |
| 8 | + <link rel="preconnect" href="https://fonts.googleapis.com" /> |
| 9 | + <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin /> |
| 10 | + <link |
| 11 | + href="https://fonts.googleapis.com/css2?family=Fira+Sans:wght@400;500;700&family=Libre+Baskerville:wght@400;700&display=swap" |
| 12 | + rel="stylesheet" |
| 13 | + /> |
7 | 14 | <script src="https://cdn.jsdelivr.net/npm/@tailwindcss/browser@4"></script> |
8 | 15 | <style type="text/tailwindcss"> |
9 | 16 | /* Class based dark mode */ |
10 | 17 | @variant dark (&:where(.dark, .dark *)); |
| 18 | + |
| 19 | + /* EuroPython Society brand: primary accent color (used for links/URLs) |
| 20 | + and font pairing, matching https://www.europython-society.org/ */ |
| 21 | + @theme { |
| 22 | + --color-brand: #D95736; |
| 23 | + --color-brand-active: #BF4526; |
| 24 | + } |
| 25 | + |
| 26 | + body { |
| 27 | + font-family: 'Fira Sans', ui-sans-serif, system-ui, sans-serif; |
| 28 | + } |
| 29 | + |
| 30 | + h1, h2 { |
| 31 | + font-family: 'Libre Baskerville', Georgia, serif; |
| 32 | + } |
11 | 33 | </style> |
12 | 34 | <script> |
13 | 35 | if (localStorage.getItem('dark-mode') === 'true' || (!('dark-mode' in localStorage) && window.matchMedia('(prefers-color-scheme: dark)').matches)) { |
|
107 | 129 | <!-- navbar --> |
108 | 130 | <header class="sticky top-0 inset-x-0 flex flex-wrap md:justify-start md:flex-nowrap z-50 w-full text-sm"> |
109 | 131 | <nav x-data="{ mobileMenuOpen: false }" class="mt-4 relative max-w-6xl w-full bg-white/80 backdrop-blur border border-gray-200 rounded-[14px] mx-2 px-5 flex flex-wrap md:flex-nowrap items-center justify-between p-1 ps-4 md:py-0 sm:mx-auto dark:bg-neutral-900/80 dark:border-neutral-700 shadow-sm"> |
110 | | - <a href="index.html" class="text-black dark:text-white text-xl"> |
111 | | - Conference<span class="text-yellow-600 dark:text-yellow-400">Stats</span> |
| 132 | + <a href="index.html" class="flex items-center gap-2 text-black dark:text-white text-xl"> |
| 133 | + <img src="img/eps-logo.png" alt="EuroPython Society logo" class="size-8 rounded-full" /> |
| 134 | + Conference<span class="text-brand">Stats</span> |
112 | 135 | </a> |
113 | 136 |
|
114 | 137 | <div class="flex items-center md:order-last"> |
|
0 commit comments