Skip to content

Commit

Permalink
css cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
sh4rkman authored Jan 3, 2025
1 parent db35bc8 commit 7c7a40d
Showing 1 changed file with 14 additions and 16 deletions.
30 changes: 14 additions & 16 deletions src/components/map/map.scss
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,12 @@ $flag-circle-opacity: 0.2;
}
.objText {
@include variables.light-text-outline;
font-size: 1em;
//font-size: 1em;
font-size: var(--font-size-objtext);
text-align: center;
//text-align: center;
font-family: roboto, Verdana, Geneva, Tahoma, sans-serif;
letter-spacing: 0.01em;
line-height: normal;
letter-spacing: 0.02em;
//line-height: normal;
align-content: center;
display: grid;
}
Expand Down Expand Up @@ -228,20 +228,18 @@ $flag-circle-opacity: 0.2;
@include variables.light-text-outline;
font-size: 1.1em;
}
.helipads {
background: url('../../img/icons/deployables/deployable_helipad.webp') no-repeat center center;
background-size: contain;
transition: opacity 0.1s ease-in;
}
.repairStations {
background: url('../../img/icons/deployables/deployable_repairstation.webp') no-repeat center center;
background-size: contain;
transition: opacity 0.1s ease-in;
}
.ammocrates {
background: url('../../img/icons/deployables/deployable_ammocrate.webp') no-repeat center center;
.helipads, .repairStations, .ammocrates {
background-size: contain;
transition: opacity 0.1s ease-in;
&.helipads {
background: url('../../img/icons/deployables/deployable_helipad.webp') no-repeat center center;
}
&.repairStations {
background: url('../../img/icons/deployables/deployable_repairstation.webp') no-repeat center center;
}
&.ammocrates {
background: url('../../img/icons/deployables/deployable_ammocrate.webp') no-repeat center center;
}
}
.destructionPhase {
@include variables.light-text-outline;
Expand Down

0 comments on commit 7c7a40d

Please sign in to comment.