svg {
/* Set the height to 100% of the screen, which we'll keep; and the
- * initial position to (0,0), which we're going to change
+ * initial position to (0,0), which we're going to change
* every time the window is resized, because the exact amount
* that we have to slide the SVG to the left to get the ticket
* into the center will change. */
/* The blinking fade in/out animation for the ticket date and time */
@keyframes blink {
- 25% {
- opacity: 0.5;
- }
- 50% {
- opacity: 0;
- }
- 75% {
- opacity: 0.5;
- }
+ 25% { opacity: 0.5; }
+ 50% { opacity: 0; }
+ 75% { opacity: 0.5; }
}
#tickettime, #ticketdate {
/* Bus */
@keyframes busroll {
- from {
- transform: translateX(0%);
- }
- to {
- transform: translateX(-100%);
- }
+ from { transform: translateX(0%); }
+ to { transform: translateX(-100%); }
}
#bus {
/* Tram */
@keyframes tramroll {
- from {
- transform: translateX(0%);
- }
- to {
- transform: translateX(100%);
- }
+ from { transform: translateX(0%); }
+ to { transform: translateX(100%); }
}
#tram {
/* Tram */
@keyframes trainroll {
- from {
- transform: translateX(0%);
- }
- to {
- transform: translateX(100%);
- }
+ from { transform: translateX(0%); }
+ to { transform: translateX(100%); }
}
#train {
/* Clouds */
@keyframes cloudsfloat {
- from {
- transform: translateX(0%);
- }
- to {
- transform: translateX(-50%);
- }
+ from { transform: translateX(0%); }
+ to { transform: translateX(-50%); }
}
#clouds {
}
@keyframes cloudscopyfloat {
- from {
- transform: translateX(0%);
- }
- to {
- transform: translateX(-50%);
- }
+ from { transform: translateX(0%); }
+ to { transform: translateX(-50%); }
}
#cloudscopy {
/* Trees */
@keyframes treespass {
- from {
- transform: translateX(0%);
- }
- to {
- transform: translateX(-50%);
- }
+ from { transform: translateX(0%); }
+ to { transform: translateX(-50%); }
}
#trees {
}
@keyframes treescopypass {
- from {
- transform: translateX(0%);
- }
- to {
- transform: translateX(-50%);
- }
+ from { transform: translateX(0%); }
+ to { transform: translateX(-50%); }
}
#treescopy {
/* City skyline */
@keyframes cityscroll {
- from {
- transform: translateX(0%);
- }
- to {
- transform: translateX(-50%);
- }
+ from { transform: translateX(0%); }
+ to { transform: translateX(-50%); }
}
#city {
}
@keyframes citycopyscroll {
- from {
- transform: translateX(0%);
- }
- to {
- transform: translateX(-50%);
- }
+ from { transform: translateX(0%); }
+ to { transform: translateX(-50%); }
}
#citycopy {