404.css 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. /* WEIRD GLITCH EFFECTS FOR THE 404 PAGE */
  2. /*section#content {
  3. height:100%;
  4. background-image: url("/stuff/blog/404chimp.png");
  5. background-size: contain;
  6. background-position: center;
  7. background-repeat: no-repeat;
  8. }*/
  9. h1 {
  10. font-size: 8em;
  11. font-weight: bold;
  12. }
  13. .inner {
  14. animation: flicker 9s linear infinite alternate;
  15. }
  16. span.flicker {
  17. animation: flicker-less 14s linear infinite alternate;
  18. }
  19. span.invisible {
  20. animation: invisible 11s linear infinite alternate;
  21. }
  22. /*
  23. header * {
  24. animation: flicker-less 20s linear infinite;
  25. }
  26. footer * {
  27. animation: flicker-less 23s linear infinite;
  28. }
  29. */
  30. /*
  31. section#sidebar {
  32. animation: flicker-less 20s linear infinite;
  33. }
  34. */
  35. @keyframes flicker {
  36. 0%,10%,10.2%,39.9%,40.1%,99.8% {
  37. transform: skew(0deg, 0deg);
  38. }
  39. 10.1% {
  40. transform: scale(.1) skewX(80deg);
  41. }
  42. 40% {
  43. transform: rotate(360deg);
  44. }
  45. 99.9% {
  46. transform: scale(.1) skewY(100deg);
  47. }
  48. }
  49. @keyframes flicker-less {
  50. 0%, 44.9%, 45.1%, 61.9%, 62.1%, 99.8% {
  51. opacity: 1;
  52. }
  53. 45%,62%,99.9% {
  54. opacity: 0;
  55. }
  56. }
  57. @keyframes invisible {
  58. 0%, 44.9%, 45.1%, 51.9%, 52.1%, 99.8% {
  59. opacity: 0;
  60. }
  61. 45%,52%,99.9% {
  62. opacity: 1;
  63. }
  64. }