58 lines
1.4 KiB
CSS
58 lines
1.4 KiB
CSS
.languageWrapper {
|
|
display: grid;
|
|
gap: var(--Spacing-x3);
|
|
padding: var(--Spacing-x3) var(--Spacing-x2);
|
|
}
|
|
|
|
.subtitle {
|
|
font-family: var(--typography-Subtitle-2-fontFamily);
|
|
font-size: var(--typography-Subtitle-2-Mobile-fontSize);
|
|
font-weight: var(--typography-Subtitle-2-fontWeight);
|
|
color: var(--Base-Text-High-contrast);
|
|
}
|
|
|
|
.list {
|
|
list-style: none;
|
|
}
|
|
|
|
.link {
|
|
color: var(--Scandic-Brand-Burgundy);
|
|
font-family: var(--typography-Body-Regular-fontFamily);
|
|
font-size: var(--typography-Body-Regular-fontSize);
|
|
line-height: var(--typography-Body-Regular-lineHeight);
|
|
letter-spacing: var(--typography-Body-Regular-letterSpacing);
|
|
padding: var(--Spacing-x1);
|
|
border-radius: var(--Corner-radius-Medium);
|
|
display: flex;
|
|
gap: var(--Spacing-x1);
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
text-decoration: none;
|
|
border-radius: var(--Corner-radius-Medium);
|
|
}
|
|
|
|
.link.active,
|
|
.link:hover {
|
|
background-color: var(--Base-Surface-Primary-light-Hover-alt);
|
|
font-weight: 500; /* Should be fixed when variables starts working: var(--typography-Body-Bold-fontWeight); */
|
|
}
|
|
|
|
@media screen and (min-width: 768px) {
|
|
.backWrapper,
|
|
.backButton {
|
|
display: none;
|
|
}
|
|
|
|
.languageWrapper {
|
|
padding: var(--Spacing-x2) var(--Spacing-x3);
|
|
}
|
|
|
|
.subtitle {
|
|
display: none;
|
|
}
|
|
|
|
.link.active:not(:hover) {
|
|
background-color: transparent;
|
|
}
|
|
}
|