Skip to content

Commit

Permalink
flicker banner h1
Browse files Browse the repository at this point in the history
  • Loading branch information
kuco23 committed Jul 27, 2024
1 parent 3fdfe26 commit 492dbdf
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 6 deletions.
5 changes: 4 additions & 1 deletion packages/frontend/src/css/config.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,12 @@ $h2-font-family: 'Montserrat Alternates', sans-serif, Arial, Helvetica;
$h3-font-family: 'Montserrat Alternates', sans-serif, Arial, Helvetica;
$h4-font-family: 'Montserrat Alternates', sans-serif, Arial, Helvetica;

/* banner */
$banner-font-family: 'Montserrat Alternates', sans-serif, Arial, Helvetica;
$banner-h1-animation-flicker-speed: 5s;

/* Namari style */
$section-title-font-family: 'Montserrat Alternates', sans-serif, Arial, Helvetica;
$banner-font-family: 'Montserrat Alternates', sans-serif, Arial, Helvetica;
$header-hover-color: FireBrick;

/* popup */
Expand Down
4 changes: 4 additions & 0 deletions packages/frontend/src/css/kucocoin-animations.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
@keyframes flicker-text {
90%, 92%, 94%, 96%, 98% {opacity: 0.4;}
89%, 91%, 93%, 95%, 97%, 99% {opacity: 1;}
}
6 changes: 1 addition & 5 deletions packages/frontend/src/css/kucocoin-style.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
@import "./config.scss";
@import "./kucocoin-animations.scss";

/* popup */

Expand Down Expand Up @@ -303,11 +304,6 @@ blockquote.ancient:after {
}
}

@keyframes flicker-text {
90%, 92%, 94%, 96%, 98% {opacity: 0.4;}
89%, 91%, 93%, 95%, 97%, 99% {opacity: 1;}
}

/* underline on scrolling */

.underline {
Expand Down
2 changes: 2 additions & 0 deletions packages/frontend/src/css/namari-color.scss
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
/*------------------------------------------------------------------------------------------*/

@import "./config.scss";
@import "./kucocoin-animations.scss";

/* Default Link Color */

Expand Down Expand Up @@ -161,6 +162,7 @@ body {
font-weight:800;
color: FireBrick;
text-shadow: black 0px 0px 8px, red 0 0 18px;
animation: flicker-text $banner-h1-animation-flicker-speed infinite linear;
}

#banner h2 {
Expand Down

0 comments on commit 492dbdf

Please sign in to comment.