Skip to content

Commit 753267d

Browse files
authored
Iterate on the design a bit (#16)
- Improve accessibility of links - Use white background and adds some effects instead - Add transparancy layer to the logo
1 parent 107e290 commit 753267d

File tree

6 files changed

+9
-8
lines changed

6 files changed

+9
-8
lines changed

assets/css/main.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
@apply my-2 max-w-5xl text-base list-disc list-inside;
1313
}
1414

15-
a {
16-
@apply border-b border-dotted;
15+
a:not(.no-underline) {
16+
@apply underline underline-offset-4 decoration-2 hover:bg-blue-300 active:bg-blue-300 active:ring-5 ring-blue-300 hover:ring-5 focus:bg-blue-300 focus:ring-5 rounded-md focus:outline-0;
1717
}
1818

1919
h2 {

content/_index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,9 @@ schedule:
7272
time: 18:00
7373
---
7474

75-
The (un)conference about Free Software and Open Data for mobility and public transport.<br/>
76-
<span class="font-bold">Save the date: 17/18th of October in Vienna at
77-
<a href="https://openinnovation.oebb.at/de/spaces">ÖBB's Innovation Factory!</a></span>
75+
The (un)conference about Free Software and Open Data for mobility and public transport.
76+
77+
**Save the date: 17/18th of October in Vienna at [ÖBB's Innovation Factory!](https://openinnovation.oebb.at/de/spaces)**
7878

7979
Connect with open source and open data communities from
8080
Transitous, MOTIS, OpenStreetMap, OpenTripPlanner, and many more!

layouts/_default/baseof.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
<head>
44
{{ partial "head.html" . }}
55
</head>
6-
<body class="font-sans leading-normal tracking-normal text-lg bg-[#cde6f1]">
6+
<body class="font-sans leading-normal tracking-normal text-lg">
7+
<div aria-hidden="true" class="absolute inset-x-0 -top-40 -z-10 transform-gpu overflow-hidden blur-3xl sm:-top-80"><div style="clip-path: polygon(74.1% 44.1%, 100% 61.6%, 97.5% 26.9%, 85.5% 0.1%, 80.7% 2%, 72.5% 32.5%, 60.2% 62.4%, 52.4% 68.1%, 47.5% 58.3%, 45.2% 34.5%, 27.5% 76.7%, 0.1% 64.9%, 17.9% 100%, 27.6% 76.8%, 76.1% 97.7%, 74.1% 44.1%);" class="relative left-[calc(50%-11rem)] aspect-1155/678 w-144.5 -translate-x-1/2 rotate-30 bg-linear-to-tr from-[#ff80b5] to-[#9089fc] opacity-30 sm:left-[calc(50%-30rem)] sm:w-288.75"></div></div>
78
<header class="mx-auto flex flex-col justify-center items-center">{{ partial "header.html" . }}</header>
89
<main class="mx-auto flex flex-col justify-center items-center">
910
{{ block "main" . }}{{ end }}

layouts/shortcodes/buttonlink.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<div class="mt-10">
2-
<a class="w-92 bg-blue-300 hover:bg-blue-400 rounded-2xl p-4 text-base text-center"
2+
<a class="rounded-md bg-blue-600 px-3.5 py-2.5 text-sm font-semibold text-white shadow-xs hover:bg-blue-500 focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-blue-600 no-underline"
33
href="{{ .Get "href" }}">
44
{{ .Inner }}
55
</a>

layouts/shortcodes/schedule.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ <h3 class="text-2xl mt-10 font-semibold tracking-tight text-blue-900">
77
{{ .date }}
88
</h3>
99
<ol role="list"
10-
class="mt-4 space-y-4 bg-white/60 px-6 py-4 text-center shadow-xl shadow-blue-900/5 backdrop-blur-sm h-full">
10+
class="mt-4 space-y-4 bg-blue-100/60 px-6 py-4 text-center h-full">
1111
{{- range $index, $event := .events }}
1212
<li class="schedule-event">
1313
{{- if ne $index 0 }}

static/logo.png

-8.46 KB
Loading

0 commit comments

Comments
 (0)