]> gitweb.michael.orlitzky.com - charm-bypass.git/blobdiff - src/index.html.in
src/day.svg: duplicate the trees so that they can be animated
[charm-bypass.git] / src / index.html.in
index 271651099a79f6d1c907f92caf0d5f9c6021579d..ff5410f137a5e1c850d7cc1f7c3706fa3661ad66 100644 (file)
         font-family: "CharmBypass Ticket Text" !important;
       }
 
+      /************************/
+      /* Scrolling animations */
+      /************************/
+      @keyframes busroll {
+       from {
+         transform: translateX(0%);
+       }
+       to {
+         transform: translateX(100%);
+       }
+      }
+
+      #bus {
+       animation: busroll 20s linear infinite;
+      }
+
+      @keyframes tramroll {
+       from {
+         transform: translateX(0%);
+       }
+       to {
+         transform: translateX(100%);
+       }
+      }
+
+      #tram {
+       animation: tramroll 15s linear infinite;
+      }
+
+      @keyframes cloudsfloat {
+       from {
+         transform: translateX(0%);
+       }
+       to {
+         transform: translateX(-50%);
+       }
+      }
+
+      #clouds {
+       animation: cloudsfloat 40s linear infinite;
+      }
+
+      @keyframes cloudscopyfloat {
+       from {
+         transform: translateX(0%);
+       }
+       to {
+         transform: translateX(-50%);
+       }
+      }
+
+      #cloudscopy {
+       animation: cloudscopyfloat 40s linear infinite;
+      }
     </style>
   </head>