Skip to content

Commit 54408df

Browse files
committed
Merge branch 'main' into feat/add-italy
2 parents db857b5 + 7d23caa commit 54408df

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

73 files changed

+515
-156
lines changed

.github/workflows/deploy.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
build:
3333
runs-on: ubuntu-latest
3434
env:
35-
HUGO_VERSION: 0.147.7
35+
HUGO_VERSION: 0.150.1
3636
steps:
3737
- name: Install Hugo CLI
3838
run: |

.github/workflows/pullrequest.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
build:
2727
runs-on: ubuntu-latest
2828
env:
29-
HUGO_VERSION: 0.141.0
29+
HUGO_VERSION: 0.150.1
3030
steps:
3131
- name: Install Hugo CLI
3232
run: |

assets/sass/anchorlink.scss

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
}
3232

3333
@media print {
34-
margin: 0;
34+
margin: 1rem 0;
3535
}
3636

3737
svg {
@@ -60,6 +60,10 @@
6060
background-color: var(--bg-neutral);
6161
opacity: 1;
6262
}
63+
64+
@media print {
65+
display: none;
66+
}
6367
}
6468

6569
.a-snackbar {

assets/sass/booking.scss

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
gap: 2rem;
55
width: 100%;
66

7-
@media (max-width: #{$breakpoint-md}) {
7+
@media screen and (max-width: #{$breakpoint-md}) {
88
display: flex;
99
flex-direction: column;
1010
gap: 1rem;
@@ -88,6 +88,23 @@
8888
display: flex;
8989
gap: 1rem;
9090
flex-wrap: wrap;
91+
92+
@media print {
93+
> a {
94+
flex-wrap: wrap;
95+
font-weight: bold;
96+
97+
&::after {
98+
font-weight: normal;
99+
}
100+
}
101+
}
102+
> a {
103+
@media print {
104+
flex-wrap: wrap;
105+
font-weight: bold;
106+
}
107+
}
91108
}
92109

93110
@mixin booking_section($name) {

assets/sass/content.scss

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,21 @@ code {
1313
background-color: var(--bg-accent3);
1414
padding: 0.2rem 0.8rem;
1515
border-radius: var(--border-radius-s);
16+
17+
@media print {
18+
padding: 0.2rem 0.6rem;
19+
}
1620
}
1721

1822
table {
1923
border-collapse: collapse;
2024
margin-bottom: 1rem;
2125
margin-left: 0.2rem;
2226
box-shadow: 0 0.4rem 0.4rem rgba(0, 0, 0, 0.1);
27+
28+
@media print {
29+
box-shadow: none;
30+
}
2331
}
2432

2533
thead {
@@ -48,6 +56,10 @@ tbody {
4856

4957
tr:last-of-type {
5058
border-bottom: 2px solid $link-hovered;
59+
60+
@media print {
61+
border-bottom: 0.1rem solid #5b5b5b;
62+
}
5163
}
5264
}
5365

assets/sass/expander.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ details[open] > .o-expander__summary:not(.o-expander__summary--booking) {
101101
}
102102

103103
.details-print {
104-
border: solid;
104+
border: 0.2rem solid #bbb;
105105
page-break-inside: avoid;
106106
display: block;
107107
}

assets/sass/footer.scss

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,19 @@
44
display: flex;
55
flex-direction: column;
66
gap: 0.8rem;
7+
8+
@media print {
9+
margin-bottom: 0;
10+
}
711
}
812

913
.o-footer__links {
1014
display: flex;
1115
flex-wrap: wrap;
16+
17+
@media print {
18+
display: none;
19+
}
1220
}
1321

1422
.o-footer__link {
@@ -41,4 +49,14 @@
4149

4250
#language-switcher-button {
4351
padding-left: 0;
52+
53+
@media print {
54+
display: none;
55+
}
56+
}
57+
58+
.footnote-backref {
59+
@media print {
60+
display: none;
61+
}
4462
}

assets/sass/interactiveMap.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@
2323
flex-direction: column;
2424
gap: 0.5rem;
2525
z-index: 3;
26+
27+
@media print {
28+
display: none;
29+
}
2630
}
2731

2832
.o-interactive-map__country--available {

assets/sass/main.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
@import "form.scss";
1313
@import "expander.scss";
1414
@import "anchorlink.scss";
15-
@import "print.scss";
1615
@import "booking.scss";
1716
@import "button.scss";
1817
@import "startpage.scss";

assets/sass/navigation.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@
88
height: 6rem;
99
padding-left: calc((100vw - 100%) / 2);
1010
border-bottom: var(--border);
11+
12+
@media print {
13+
display: none;
14+
}
1115
}
1216

1317
.o-header__wrapper {

0 commit comments

Comments
 (0)