Skip to content

Commit

Permalink
feat(theme): update hero-info title
Browse files Browse the repository at this point in the history
  • Loading branch information
Mister-Hope committed Feb 23, 2023
1 parent 3540a5e commit b414cf1
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions packages/theme/src/client/styles/hero-info.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
display: block;
max-width: 100%;
max-height: 18rem;
margin: 0;
margin: 1rem;

@media (max-width: hope-config.$pad) {
margin: 2rem auto;
Expand Down Expand Up @@ -65,8 +65,19 @@
}

h1 {
background: linear-gradient(
120deg,
var(--theme-color-light),
var(--theme-color) 30%,
color.adjust(hope-config.$theme-color, $hue: 60deg) 100%
);
-webkit-background-clip: text;
background-clip: text;

font-weight: bold;
font-size: 3.6rem;
font-family: var(--font-family-fancy);

-webkit-text-fill-color: transparent;

@media (max-width: hope-config.$tablet) {
font-size: 2.5rem;
Expand Down Expand Up @@ -100,6 +111,7 @@

overflow: hidden;

min-width: 4rem;
margin: 0.5rem;
padding: 0.5em 1.5rem;
border-radius: 2rem;
Expand All @@ -113,7 +125,7 @@
transform var(--transform-transition);

@media (max-width: hope-config.$tablet) {
padding: 0.8rem 1.2rem;
padding: 0.5rem 1rem;
font-size: 1.1rem;
}

Expand Down

0 comments on commit b414cf1

Please sign in to comment.