From 07e907b5998bf7c4dada0466ccb42d64891aa076 Mon Sep 17 00:00:00 2001 From: Cutls Date: Sun, 19 May 2019 18:31:47 +0900 Subject: [PATCH] Add: Astarte marquee BBCode --- app/css/tl.css | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/app/css/tl.css b/app/css/tl.css index ae4f3ccc..a9d38aea 100644 --- a/app/css/tl.css +++ b/app/css/tl.css @@ -125,6 +125,33 @@ iframe { .bbcode_FTL { display: none; } +.marquee { + width: 100%; + padding: .5em 0; + overflow: hidden; + margin-bottom: 0; + position: relative; +} +.marquee .bbcode-marq-lateral { + margin: 0; + padding-left: 100%; + display: inline-block; + white-space: nowrap; + animation-name: marquee; + animation-timing-function: linear; + animation-duration: 10s; + animation-iteration-count: infinite; +} +@keyframes marquee { +0% { + -webkit-transform: translate(0); + transform: translate(0); +} +99%, 100% { + -webkit-transform: translate(-100%); + transform: translate(-100%); +} +} .boxIn { height: 100%; border: thin solid gray;