rc3-html-infobeamer/index.css

148 lines
2.4 KiB
CSS
Raw Normal View History

2020-12-22 21:03:54 +01:00
@font-face {
font-family: orbitron-bold;
src: url(assets/Orbitron-Bold.ttf);
}
@font-face {
font-family: montserrat;
src: url(assets/Montserrat-Regular.ttf);
}
* { box-sizing: border-box; }
2020-12-22 18:54:35 +01:00
body {
background: #000;
color: #FFF;
font-family: sans-serif;
}
2020-12-22 21:35:23 +01:00
/* === BG === */
#bg-loop {
position: fixed;
left: 0;
right: 0;
top: 0;
bottom: 0;
opacity: 0.2;
}
2020-12-22 21:03:54 +01:00
/* === FAHRPLAN === */
#schedule {
2020-12-22 18:54:35 +01:00
position: fixed;
2020-12-22 21:03:54 +01:00
left: 5%;
right: 5%;
top: 10%;
bottom: 10%;
2020-12-22 18:54:35 +01:00
2020-12-22 21:03:54 +01:00
font-family: orbitron-bold;
2020-12-22 21:35:23 +01:00
font-size: 34px;
2020-12-22 21:03:54 +01:00
}
#schedule .header {
margin-bottom: 40px;
}
#schedule .list .item {
margin-bottom: 10px;
}
#schedule .list .item .title {
white-space: nowrap;
2020-12-22 18:54:35 +01:00
overflow: hidden;
2020-12-22 21:03:54 +01:00
text-overflow: ellipsis;
2020-12-22 18:54:35 +01:00
}
2020-12-22 21:03:54 +01:00
#schedule .list .item .sub {
color: #7b7b7b;
2020-12-22 21:35:23 +01:00
font-size: 26px;
2020-12-22 21:03:54 +01:00
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
2020-12-22 18:54:35 +01:00
2020-12-22 21:03:54 +01:00
#schedule-here-container {
position: absolute;
right: 52%;
left: 0;
}
#schedule-main-container {
position: absolute;
right: 52%;
left: 0;
top: 50%;
}
#schedule-other-container {
position: absolute;
left: 52%;
right: 0;
}
#schedule-here-container .header {
color: #b145fb;
}
#schedule-main-container .header {
color: #6820e4;
}
#schedule-other-container .header {
color: #45b5e3;
}
/* === TICKER === */
2020-12-22 18:54:35 +01:00
#bottom-bar {
2020-12-22 21:03:54 +01:00
position: fixed;
bottom: 0;
margin-bottom: 20px;
font-size: 14px;
width: 100%;
overflow: hidden;
2020-12-22 18:54:35 +01:00
}
#ticker-wrap {
2020-12-22 21:03:54 +01:00
width: 100%;
padding-left: 100%; /* Push contents to right side of screen */
2020-12-22 18:54:35 +01:00
}
@keyframes ticker {
2020-12-22 21:03:54 +01:00
0% { transform: translate3d(-20%, 0, 0); }
100% { transform: translate3d(-100%, 0, 0); }
2020-12-22 18:54:35 +01:00
}
2020-12-22 21:03:54 +01:00
2020-12-22 18:54:35 +01:00
#ticker {
2020-12-22 21:03:54 +01:00
/* Basically move items from right side of screen to left in infinite loop */
display: inline-block;
white-space: nowrap;
padding-right: 100%;
animation-iteration-count: infinite;
animation-timing-function: linear;
animation-name: ticker;
animation-duration: 120s;
2020-12-22 18:54:35 +01:00
}
2020-12-22 21:03:54 +01:00
#ticker > .item{
display: inline-block; /* Lay items in a horizontal line */
padding: 10px 36px;
font-size: 22px;
2020-12-22 18:54:35 +01:00
}
2020-12-22 21:03:54 +01:00
#ticker > .item > img {
2020-12-22 18:54:35 +01:00
height: 32px;
vertical-align: middle;
}
2020-12-22 21:03:54 +01:00
#ticker > .item > span.user {
2020-12-22 18:54:35 +01:00
color: #fff;
margin: 0 20px;
vertical-align: middle;
}
2020-12-22 21:03:54 +01:00
#ticker > .item > span.content {
2020-12-22 18:54:35 +01:00
color: #fff;
vertical-align: middle;
}