| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150 |
- /*========================================================
- DARK LAYOUT
- =========================================================*/
- @-webkit-keyframes rotate_pacman_half_up {
- 0% {
- transform: rotate(270deg);
- }
- 50% {
- transform: rotate(360deg);
- }
- 100% {
- transform: rotate(270deg);
- }
- }
- @keyframes rotate_pacman_half_up {
- 0% {
- transform: rotate(270deg);
- }
- 50% {
- transform: rotate(360deg);
- }
- 100% {
- transform: rotate(270deg);
- }
- }
- @-webkit-keyframes rotate_pacman_half_down {
- 0% {
- transform: rotate(90deg);
- }
- 50% {
- transform: rotate(0deg);
- }
- 100% {
- transform: rotate(90deg);
- }
- }
- @keyframes rotate_pacman_half_down {
- 0% {
- transform: rotate(90deg);
- }
- 50% {
- transform: rotate(0deg);
- }
- 100% {
- transform: rotate(90deg);
- }
- }
- @-webkit-keyframes pacman-balls {
- 75% {
- opacity: 0.7;
- }
- 100% {
- transform: translate(-100px, -6.25px);
- }
- }
- @keyframes pacman-balls {
- 75% {
- opacity: 0.7;
- }
- 100% {
- transform: translate(-100px, -6.25px);
- }
- }
- .pacman {
- position: relative;
- }
- .pacman > div:nth-child(2) {
- -webkit-animation: pacman-balls 1s -0.99s infinite linear;
- animation: pacman-balls 1s -0.99s infinite linear;
- }
- .pacman > div:nth-child(3) {
- -webkit-animation: pacman-balls 1s -0.66s infinite linear;
- animation: pacman-balls 1s -0.66s infinite linear;
- }
- .pacman > div:nth-child(4) {
- -webkit-animation: pacman-balls 1s -0.33s infinite linear;
- animation: pacman-balls 1s -0.33s infinite linear;
- }
- .pacman > div:nth-child(5) {
- -webkit-animation: pacman-balls 1s 0s infinite linear;
- animation: pacman-balls 1s 0s infinite linear;
- }
- .pacman > div:first-of-type {
- width: 0px;
- height: 0px;
- border-right: 25px solid transparent;
- border-top: 25px solid #b8c2cc;
- border-left: 25px solid #b8c2cc;
- border-bottom: 25px solid #b8c2cc;
- border-radius: 25px;
- -webkit-animation: rotate_pacman_half_up 0.5s 0s infinite;
- animation: rotate_pacman_half_up 0.5s 0s infinite;
- position: relative;
- left: -30px;
- }
- .pacman > div:nth-child(2) {
- width: 0px;
- height: 0px;
- border-right: 25px solid transparent;
- border-top: 25px solid #b8c2cc;
- border-left: 25px solid #b8c2cc;
- border-bottom: 25px solid #b8c2cc;
- border-radius: 25px;
- -webkit-animation: rotate_pacman_half_down 0.5s 0s infinite;
- animation: rotate_pacman_half_down 0.5s 0s infinite;
- margin-top: -50px;
- position: relative;
- left: -30px;
- }
- .pacman > div:nth-child(3),
- .pacman > div:nth-child(4),
- .pacman > div:nth-child(5),
- .pacman > div:nth-child(6) {
- background-color: #b8c2cc;
- width: 15px;
- height: 15px;
- border-radius: 100%;
- margin: 2px;
- width: 10px;
- height: 10px;
- position: absolute;
- transform: translate(0, -6.25px);
- top: 25px;
- left: 70px;
- }
|