X-Git-Url: http://gitweb.michael.orlitzky.com/?a=blobdiff_plain;f=src%2Findex.html.in;h=d6f421324f24046eb2b9c84a7453dcedd13c1dd2;hb=35c66eb095991794438b19198f04b97e48f39fc0;hp=eb161326ead0b82fb9fef2d43101ce8c45aa4267;hpb=5bb26e7a01de9287875237f1d0d1f26d297c5ce0;p=charm-bypass.git diff --git a/src/index.html.in b/src/index.html.in index eb16132..d6f4213 100644 --- a/src/index.html.in +++ b/src/index.html.in @@ -58,12 +58,14 @@ /************************/ /* Scrolling animations */ /************************/ + + /* Bus */ @keyframes busroll { from { - transform: translate(0%, 0%); + transform: translateX(0%); } to { - transform: translate(100%, 0%); + transform: translateX(100%); } } @@ -71,18 +73,78 @@ 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 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; + }