Skip to content

Commit

Permalink
Add font-feature-settings: case for Iset Sans
Browse files Browse the repository at this point in the history
  • Loading branch information
sashachabin committed Oct 4, 2023
1 parent b9f47d7 commit 76c7073
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 3 deletions.
1 change: 1 addition & 0 deletions client/components/Articles/Article/Article.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
.ArticleTitle {
font-size: 48px;
line-height: 1.05;
font-feature-settings: 'case';
}


Expand Down
1 change: 1 addition & 0 deletions client/components/MainPage/Card/Card.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@
line-height: 1.05;
margin-bottom: 8px;
background-color: var(--CardTitleBgColor);
font-feature-settings: 'case';
text-decoration: underline;
text-decoration-color: rgba(255, 255, 255, 0.2);
text-underline-offset: 3px;
Expand Down
6 changes: 4 additions & 2 deletions client/components/Map/Stops/Item/MapStopsItem.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@
transition: height 150ms ease-out, width 150ms ease-out, margin 150ms ease-out;
}

.MapStopsItemIcon:hover {
will-change: height, width, margin;
@media (hover: hover) {
.MapStopsItemIcon:hover {
transform: scale(1.1);
}
}

.MapStopsItemIconActive {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,20 @@
.MapVehicleMarker {
transition: .15s ease;
transform-origin: 50% 50%;
}

@media (hover: hover) {
.MapVehicleMarker:hover {
transform: scale(1.1);
}
}

.MapVehicleMarker:active {
transform: scale(1.15);
}

.MapVehicleMarkerInner {
animation: 150ms ease-out enlarge;
transform-origin: 20px 28px;
}

@keyframes enlarge {
Expand Down
1 change: 1 addition & 0 deletions client/components/UI/Typography/Typography.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
.h3,
.h4 {
font-weight: 500;
font-feature-settings: 'case';
}

.h1 {
Expand Down

0 comments on commit 76c7073

Please sign in to comment.