From b2b0f035b57f685f382f4423644ea0a73bc3dae6 Mon Sep 17 00:00:00 2001 From: Oriol Carbonell Date: Thu, 21 Dec 2023 21:18:22 +0100 Subject: [PATCH] Add style for booking menu item and operture footer section --- web/static/public.css | 31 ++++++++++++++++++++++++++++++ web/templates/public/layout.gohtml | 3 ++- 2 files changed, 33 insertions(+), 1 deletion(-) diff --git a/web/static/public.css b/web/static/public.css index 0c6f25c..7627a4b 100644 --- a/web/static/public.css +++ b/web/static/public.css @@ -288,6 +288,25 @@ nav .has-submenu:hover ul, nav .has-submenu:focus-within ul { display: flex; } +.boto-reserva a { + padding-top: 3px; +} + +.boto-reserva { + border: 2px solid; + border-radius: 5px; + height: 40px; + display: flex; + align-items: center; + margin-bottom: 3px; + transition: 0.5s ease; +} + +.boto-reserva:hover { + background: var(--accent); +transition: 0.5s ease; +} + @media (max-width: 80rem) { body > header { display: grid; @@ -1137,7 +1156,19 @@ body > footer div, .campsite_type_features, .campsite_type_detail { /* highlight footer season */ body > footer section:nth-child(3) { + border: solid 1px; + border-radius: 5px; +} + +body > footer section:nth-child(3) h2 { background: var(--accent-2); + border-top-left-radius: 5px; + border-top-right-radius: 5px; + padding-left: 15px; +} + +body > footer section:nth-child(3) p { + padding-left: 15px; } diff --git a/web/templates/public/layout.gohtml b/web/templates/public/layout.gohtml index f8ff3e9..bd313ae 100644 --- a/web/templates/public/layout.gohtml +++ b/web/templates/public/layout.gohtml @@ -44,6 +44,7 @@
  • {{( pgettext "Services" "title" )}}
  • {{( pgettext "Surroundings" "title" )}}
  • {{( pgettext "Contact" "title" )}}
  • +
  • {{( pgettext "Booking" "title" )}}
  • {{ if .LocalizedAlternates -}}
  • {{ range .LocalizedAlternates -}} {{ if eq .Lang currentLocale }}{{ template "alternateAnchor" . }}{{ end }} @@ -99,7 +100,7 @@ {{ printf ( gettext "RTC #%s") .CompanyAddress.RTCNumber | raw }} - © {{( gettext "Campsite Montagut" )}} | 1984–2023 + © {{( gettext "Campsite Montagut" )}} | 1994–2023