From 005c3368b17b67aa654b66764024ea38decdbef2 Mon Sep 17 00:00:00 2001 From: ValessioBrito Date: Fri, 22 Mar 2019 11:33:49 -0400 Subject: [PATCH] change margin to position move --- 2019/tv/index.html | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/2019/tv/index.html b/2019/tv/index.html index f04c2b6a..15c22e2b 100755 --- a/2019/tv/index.html +++ b/2019/tv/index.html @@ -112,7 +112,7 @@ footer .mpost a { } #content-program .program-day { - margin-top: 0%; + position: absolute; animation: slide-slow infinite; animation-duration: 20s; animation-direction: alternate; @@ -120,10 +120,8 @@ footer .mpost a { } @keyframes slide-slow { - 0% { margin-top: 1%; } - 10% { margin-top: 1%; } - 95% { margin-top: -43%; } - 100% { margin-top: -43%; } + from { top: 1%; } + to { top: -100%; } } .program-day-header { @@ -244,10 +242,10 @@ aside { position: relative; } .time10 #day-2-timeslot-4, .time10 #day-2-timeslot-5, .time10 #day-2-timeslot-6, -.time11 #day-1-timeslot-5, -.time11 #day-1-timeslot-6, -.time11 #day-2-timeslot-5, -.time11 #day-2-timeslot-6, +.timexxx11 #day-1-timeslot-5, +.timexxx11 #day-1-timeslot-6, +.timexxx11 #day-2-timeslot-5, +.timexxx11 #day-2-timeslot-6, .time12 #day-1-timeslot-6, .time12 #day-1-timeslot-7, .time12 #day-1-timeslot-8, -- 2.25.1