Skip to content

Commit d6c1561

Browse files
committed
Refine top banner responsive styles and animation details
1 parent 1d2b8ab commit d6c1561

File tree

2 files changed

+12
-3
lines changed

2 files changed

+12
-3
lines changed

static/css/devportal2024-v1.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

styles/_top-banner.scss

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
text-decoration: none;
1414
color: $white;
1515
.button-icon{
16-
animation: iconJitter 0.7s ease-in-out forwards;
16+
animation: iconJitter 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
1717
transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
1818
}
1919
}
@@ -53,16 +53,25 @@
5353
@media (max-width: 768px) {
5454
font-size: 18px;
5555
padding: 11px 35px;
56-
56+
.button-text{
57+
margin-bottom: 4px;
58+
}
5759
}
5860
@media (max-width: 564px) {
5961
font-size: 15px;
6062
padding: 5px 40px;
63+
.button-text{
64+
margin-bottom: 0px;
65+
}
6166
.banner-event-details{
6267
gap: 0px !important;
6368
flex-direction: column;
6469
text-align: left;
6570
line-height: 21px;
71+
.event-date{
72+
position: relative;
73+
top: -5px;
74+
}
6675
}
6776
.banner-button{
6877
align-self: baseline;

0 commit comments

Comments
 (0)