]> gitweb.michael.orlitzky.com - charm-bypass.git/blobdiff - src/index.html.in
src/day.svg: finish the back of the train
[charm-bypass.git] / src / index.html.in
index 6d25d3ee17b4b7e27cf9c053359bef2f903d3929..d6f421324f24046eb2b9c84a7453dcedd13c1dd2 100644 (file)
       /************************/
       /* Scrolling animations */
       /************************/
+
+      /* Bus */
       @keyframes busroll {
        from {
-         transform: translate(0%, 0%);
+         transform: translateX(0%);
        }
        to {
-         transform: translate(100%, 0%);
+         transform: translateX(100%);
        }
       }
 
       #bus {
-       animation: busroll 15s linear infinite;
+       animation: busroll 20s linear infinite;
       }
 
+
+      /* Tram */
       @keyframes tramroll {
        from {
-         transform: translate(0%, 0%);
+         transform: translateX(0%);
        }
        to {
-         transform: translate(100%, 0%);
+         transform: translateX(100%);
        }
       }
 
       #tram {
-       animation: tramroll 10s linear infinite;
+       animation: tramroll 15s linear infinite;
+      }
+
+
+      /* Clouds */
+      @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;
+      }
+
+
+      /* Trees */
+      @keyframes treespass {
+       from {
+         transform: translateX(0%);
+       }
+       to {
+         transform: translateX(-50%);
+       }
+      }
+
+      #trees {
+        /* The trees move a little faster than the clouds */
+       animation: treespass 30s linear infinite;
+      }
+
+      @keyframes treescopypass {
+       from {
+         transform: translateX(0%);
+       }
+       to {
+         transform: translateX(-50%);
+       }
+      }
+
+      #treescopy {
+        /* The trees move a little faster than the clouds */
+       animation: treescopypass 30s linear infinite;
       }
     </style>
   </head>