refactor(styles): separated fonts and responsiveness to scss files; made global reference only once

This commit is contained in:
2026-03-03 02:29:27 +01:00
parent 8698a53caf
commit 22b8509ebe
25 changed files with 278 additions and 144 deletions
@@ -152,7 +152,7 @@ export default defineComponent({
</script>
<style lang="scss" scoped>
@use '@/styles/responsive';
.train-image-section {
display: flex;
@@ -178,11 +178,11 @@ img {
}
&[data-sponsor-only='true'] {
border: 1px solid global.$sponsorColor;
border: 1px solid var(--accentColor);
}
&[data-team-only='true'] {
border: 1px solid global.$teamColor;
border: 1px solid var(--teamColor);
}
}
@@ -216,25 +216,25 @@ img {
width: 100%;
max-width: 380px;
background-color: global.$secondaryColor;
background-color: var(--secondaryColor);
font-weight: bold;
}
.placeholder {
height: 250px;
background-color: global.$bgColor;
background-color: var(--bgColor);
}
.sponsor-only {
color: global.$sponsorColor;
color: var(--accentColor);
}
.team-only {
color: global.$teamColor;
color: var(--teamColor);
}
@media screen and (max-width: global.$breakpointMd) {
@include responsive.midScreen {
.train-image-section {
justify-content: center;
}