From 508d56cdb051496485f1fb09cc3412d162a4f4c1 Mon Sep 17 00:00:00 2001 From: Michael Boelen Date: Tue, 16 May 2023 20:24:54 +0200 Subject: [PATCH] Tuning van tabellen --- themes/nluug/assets/scss/styles.scss | 23 +++++++---- themes/nluug/layouts/evenementen/single.html | 41 -------------------- 2 files changed, 16 insertions(+), 48 deletions(-) delete mode 100644 themes/nluug/layouts/evenementen/single.html diff --git a/themes/nluug/assets/scss/styles.scss b/themes/nluug/assets/scss/styles.scss index 1c04b91..60593b3 100644 --- a/themes/nluug/assets/scss/styles.scss +++ b/themes/nluug/assets/scss/styles.scss @@ -391,9 +391,12 @@ header ul a:first-child { .m,hr { border: 0; - margin: 3rem 0 + margin: 3rem 0; } +.m-sm { + margin: 1rem; +} img { max-width: 100%; height: auto; @@ -421,6 +424,11 @@ img { display: inline; } +.w-10 { width: 10%; } +.w-20 { width: 20%; } +.w-30 { width: 30%; } +.w-40 { width: 40%; } +.w-50 { width: 50%; } /* Table Styles */ @@ -431,7 +439,7 @@ img { .fl-table { border-radius: 5px; - font-size: 12px; + font-size: 14px; font-weight: normal; border: none; border-collapse: collapse; @@ -443,11 +451,12 @@ img { .fl-table td, .fl-table th { text-align: left; padding: 8px; + vertical-align: top; } .fl-table td { border-right: 1px solid #f8f8f8; - font-size: 12px; + font-size: 14px; } .fl-table thead th { @@ -466,7 +475,7 @@ img { /* Responsive */ -@media (max-width: 767px) { +@media (max-width: 499px) { .fl-table { display: block; width: 100%; @@ -475,7 +484,7 @@ img { content: "Scroll horizontally >"; display: block; text-align: right; - font-size: 11px; + font-size: 12px; color: white; padding: 0 0 10px; } @@ -496,12 +505,12 @@ img { .fl-table td, .fl-table th { padding: 20px .625em .625em .625em; height: 60px; - vertical-align: middle; + //vertical-align: middle; box-sizing: border-box; overflow-x: hidden; overflow-y: auto; width: 120px; - font-size: 13px; + font-size: 14px; text-overflow: ellipsis; } .fl-table thead tr th { diff --git a/themes/nluug/layouts/evenementen/single.html b/themes/nluug/layouts/evenementen/single.html deleted file mode 100644 index 1f06bb1..0000000 --- a/themes/nluug/layouts/evenementen/single.html +++ /dev/null @@ -1,41 +0,0 @@ -{{ define "main" }} - {{ with .Params.event_title }}

{{ . }}

{{ end }} -
{{ .Content }}
- {{ if isset .Params "event_start" }} - - {{ $event_start := .Params.event_start | time }} -
- -

Locatie

- {{ .Params.event_location }} -

{{ .Params.event_address.street_address }}
{{ .Params.event_address.postal_code }}, {{ .Params.event_address.city }}
{{ .Params.event_address.country_name }}

- -

Datum en tijd

- -
- - {{ with .Params.event_register_link }} - {{ if le now $event_start }} - Inschrijven - {{ else }} -

Dit evenement is al afgelopen, inschrijven is daarom niet meer mogelijk.

- {{ end }} - {{ end }} - -

Kalender

-

Zet het event alvast in je agenda met onderstaande opties!

- - - - {{ else }} -

Waarschuwing: dit evenement mist gegevens zoals start en einddatum.

- {{ end }} -{{ end }}