Skip to content

Commit

Permalink
Updated style.css
Browse files Browse the repository at this point in the history
#### Fixed:
added media query so that the player container doesn't overlap on wider screens.
#### A bit fun:
The call-to-action button now has a hover effect.
  • Loading branch information
ivytag101 authored Jan 15, 2023
1 parent ecf1c27 commit e52f786
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ body {
#container {
font-family: 'Courgette', sans-serif;
color: #ffffff;
font-size: 18px;
font-size: 16px;
text-align: center;
background-color: rgba(255, 0, 0, 0.1);
background-shadow: 10px orange;
Expand All @@ -44,7 +44,7 @@ body {
#container2 {
font-family: 'Courgette', sans-serif;
color: #ffffff;
font-size: 17px;
font-size: 16px;
text-align: center;
background-color: rgba(255, 0, 0, 0.1);
background-shadow: 10px orange;
Expand Down Expand Up @@ -330,6 +330,8 @@ footer {
font-size: 14px;
background: -webkit-linear-gradient(white, red, yellow);
-webkit-background-clip: text;
-moz-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent;
text-align: center;
}
Expand Down Expand Up @@ -389,7 +391,7 @@ footer {
background-color: rgba(255, 0, 0, 0.60);
}

@-webkit-keyframes linear-gradient {
@-webkit-keyframes gradient {
0% {
background-position: 0% 50%;
}
Expand All @@ -403,7 +405,7 @@ footer {

/* animate the call to action button with keyframes */

@-moz-keyframes linear-gradient {
@-moz-keyframes gradient {
0% {
background-position: 0% 50%;
}
Expand All @@ -415,7 +417,7 @@ footer {
}
}

@-webkit-keyframes linear-gradient {
@-webkit-keyframes gradient {
0% {
background-position: 0% 50%;
}
Expand All @@ -427,7 +429,7 @@ footer {
}
}

@-keyframes linear-gradient {
@-keyframes gradient {
0% {
background-position: 0% 50%;
}
Expand Down

0 comments on commit e52f786

Please sign in to comment.