X-Git-Url: https://gitweb.michael.orlitzky.com/?a=blobdiff_plain;f=src%2Findex.html.in;h=8d19568f74c3664f8d3dead6a39bb6f60be26053;hb=cbd1fd189b26016347334c3361bcf79da153cb05;hp=271651099a79f6d1c907f92caf0d5f9c6021579d;hpb=f74682c5ed759123da496f43000835d1b3cbc05f;p=charm-bypass.git diff --git a/src/index.html.in b/src/index.html.in index 2716510..8d19568 100644 --- a/src/index.html.in +++ b/src/index.html.in @@ -46,15 +46,130 @@ /* Define, load, and specify the custom font we use for the ticket * date, time, and service name. */ @font-face { - font-family: "CharmBypass Ticket Text"; + font-family: "CharmBypass Regular"; src: - url("data:font/woff2;base64,@TICKETFONT@") format("woff2") + url("data:font/woff2;base64,@CBPREGULAR@") format("woff2") } #servicename, #tickettime, #ticketdate { - font-family: "CharmBypass Ticket Text" !important; + font-family: "CharmBypass Regular"; } + @font-face { + font-family: "CharmBypass Bold"; + src: + url("data:font/woff2;base64,@CBPBOLD@") format("woff2") + } + + #serviceletter { + font-family: "CharmBypass Bold"; + } + + /************************/ + /* Scrolling animations */ + /************************/ + + /* Bus */ + @keyframes busroll { + from { + transform: translateX(0%); + } + to { + transform: translateX(100%); + } + } + + #bus { + animation: busroll 23s linear infinite; + } + + + /* Tram */ + @keyframes tramroll { + from { + transform: translateX(0%); + } + to { + transform: translateX(100%); + } + } + + #tram { + animation: tramroll 17s linear infinite; + } + + + /* Tram */ + @keyframes trainroll { + from { + transform: translateX(0%); + } + to { + transform: translateX(100%); + } + } + + #train { + animation: trainroll 11s 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; + }