Skip to content

Commit

Permalink
restrict trophy glowing to mouse over
Browse files Browse the repository at this point in the history
  • Loading branch information
ornicar committed Aug 4, 2015
1 parent b90e893 commit f43108b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
10 changes: 2 additions & 8 deletions public/stylesheets/common.css
Expand Up @@ -2570,26 +2570,20 @@ input.copyable {
color: rgba(0, 0, 0, 0.6);
font-size: 150px;
display: block;
text-shadow: 0 0 20px #fefcc9, 10px -10px 30px #feec85, -20px -20px 40px #ffae34, 20px -40px 50px #ec760c, -20px -60px 60px #cd4606, 0 -80px 70px #973716, 10px -90px 80px #451b0e;
}
.fire_trophy.marathonWinner span,
.fire_trophy.marathonTopTen span,
.fire_trophy.marathonTopFifty span {
filter: hue-rotate(190deg);
-webkit-filter: hue-rotate(190deg);
}
.fire_trophy span {
.fire_trophy span:hover {
animation: fire 1.25s ease-in-out infinite alternate;
-moz-animation: fire 1.25s ease-in-out infinite alternate;
-webkit-animation: fire 1.25s ease-in-out infinite alternate;
-o-animation: fire 1.25s ease-in-out infinite alternate;
}
body.typing .fire_trophy span {
animation: none;
-moz-animation: none;
-webkit-animation: none;
-o-animation: none;
text-shadow: 0 0 20px #fefcc9, 10px -10px 30px #feec85, -20px -20px 40px #ffae34, 20px -40px 50px #ec760c, -20px -60px 60px #cd4606, 0 -80px 70px #973716, 10px -90px 80px #451b0e;
}
@keyframes fire {
0% {
text-shadow: 0 0 20px #fefcc9, 10px -10px 30px #feec85, -20px -20px 40px #ffae34, 20px -40px 50px #ec760c, -20px -60px 60px #cd4606, 0 -80px 70px #973716, 10px -90px 80px #451b0e;
Expand Down
2 changes: 1 addition & 1 deletion public/stylesheets/user-show.css
Expand Up @@ -31,7 +31,7 @@ div.user_show .fire_trophy span {
-webkit-transform: scale(0.35) translate(-103px, -3px);
margin-top: -63px!important;
margin-right: -50px;
opacity: 0.8;
opacity: 0.9;
transition: 0.8s;
}
div.user_show .fire_trophy span:hover {
Expand Down

0 comments on commit f43108b

Please sign in to comment.