Add style for booking menu item and operture footer section

This commit is contained in:
oriol carbonell pujolàs 2023-12-21 21:18:22 +01:00
parent 2379733673
commit b2b0f035b5
2 changed files with 33 additions and 1 deletions

View File

@ -288,6 +288,25 @@ nav .has-submenu:hover ul, nav .has-submenu:focus-within ul {
display: flex; 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) { @media (max-width: 80rem) {
body > header { body > header {
display: grid; display: grid;
@ -1137,7 +1156,19 @@ body > footer div, .campsite_type_features, .campsite_type_detail {
/* highlight footer season */ /* highlight footer season */
body > footer section:nth-child(3) { body > footer section:nth-child(3) {
border: solid 1px;
border-radius: 5px;
}
body > footer section:nth-child(3) h2 {
background: var(--accent-2); 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;
} }

View File

@ -44,6 +44,7 @@
<li><a href="/{{ currentLocale }}/services">{{( pgettext "Services" "title" )}}</a></li> <li><a href="/{{ currentLocale }}/services">{{( pgettext "Services" "title" )}}</a></li>
<li><a href="/{{ currentLocale }}/surroundings">{{( pgettext "Surroundings" "title" )}}</a></li> <li><a href="/{{ currentLocale }}/surroundings">{{( pgettext "Surroundings" "title" )}}</a></li>
<li><a href="/{{ currentLocale }}/contact">{{( pgettext "Contact" "title" )}}</a></li> <li><a href="/{{ currentLocale }}/contact">{{( pgettext "Contact" "title" )}}</a></li>
<li class="boto-reserva"><a href="/{{ currentLocale }}/booking">{{( pgettext "Booking" "title" )}}</a></li>
{{ if .LocalizedAlternates -}} {{ if .LocalizedAlternates -}}
<li class="has-submenu">{{ range .LocalizedAlternates -}} <li class="has-submenu">{{ range .LocalizedAlternates -}}
{{ if eq .Lang currentLocale }}{{ template "alternateAnchor" . }}{{ end }} {{ if eq .Lang currentLocale }}{{ template "alternateAnchor" . }}{{ end }}
@ -99,7 +100,7 @@
{{ printf ( gettext "<abbr title=\"Catalonia Tourism Registry\">RTC</abbr> <abbr title=\"Number\">#</abbr>%s") .CompanyAddress.RTCNumber | raw }} {{ printf ( gettext "<abbr title=\"Catalonia Tourism Registry\">RTC</abbr> <abbr title=\"Number\">#</abbr>%s") .CompanyAddress.RTCNumber | raw }}
</section> </section>
</div> </div>
<span>© {{( gettext "Campsite Montagut" )}} | 19842023</span> <span>© {{( gettext "Campsite Montagut" )}} | 19942023</span>
</footer> </footer>
</body> </body>
</html> </html>