File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ const Home = () => (
1010 </ div >
1111 < h1 id = "welcome" > Welcome to Chronos</ h1 >
1212 < p > A very short short description about Chronos...</ p >
13- < Link className = "get-started-btn " to = "/applications" >
13+ < Link className = "link " to = "/applications" >
1414 Get Started
1515 </ Link >
1616 </ div >
Original file line number Diff line number Diff line change 3333 p {
3434 margin : 15px 0 ;
3535 }
36- }
3736
38- .get-started-btn {
39- width : 175px ;
40- font-size : 145% ;
41- padding : 10px ;
42- letter-spacing : 0.5px ;
43- text-decoration : none ;
44- border : thin solid #242631 ;
45- border-radius : 10px ;
46- background-color : #242631 ;
47- color : #fff ;
48- display : flex ;
49- justify-content : center ;
50- align-items : center ;
51- transition : 0.2s ;
52- }
53-
54- .get-started-btn :hover {
55- background-color : #494fee ;
37+ // Get Started Button
38+ .link {
39+ width : 175px ;
40+ font-size : 145% ;
41+ padding : 10px 15px ;
42+ letter-spacing : 0.5px ;
43+ text-decoration : none ;
44+ border : thin solid $sidebarblue ;
45+ border-radius : 30px ;
46+ background-color : $sidebarblue ;
47+ color : #fff ;
48+ @include centerWithFlex ();
49+ transition : 0.1s ;
50+ animation : glow linear 2s infinite ;
51+
52+ & :hover {
53+ background-color : $brandgold ;
54+ color : #333 ;
55+ animation : none ;
56+ }
57+ }
5658}
Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ $brandgold: #fce356;
22$sidebarblue : #24262f ;
33$headergray : #e8e8e8 ;
44$lightgray : #c3c3c3 ;
5+ $boxshadow : 2px 2px 6px rgb (187 , 187 , 187 );
56
67@mixin centerWithFlex ($justify : center , $direction : row ) {
78 display : flex ;
@@ -47,3 +48,15 @@ $lightgray: #c3c3c3;
4748 transform : rotateZ (360deg );
4849 }
4950}
51+
52+ @keyframes glow {
53+ 0% {
54+ background-color : $sidebarblue ;
55+ }
56+ 66% {
57+ background-color : lighten ($sidebarblue , 35% );
58+ }
59+ 100% {
60+ background-color : $sidebarblue ;
61+ }
62+ }
You can’t perform that action at this time.
0 commit comments