beci-anzeige/style.css

100 lines
1.4 KiB
CSS

:root {
font-size: 10px;
}
* {
padding: 0;
margin: 0;
}
body {
background-color: black;
font-size: 5.5rem;
font-family: arial, sans;
}
#banner {
box-sizing: border-box;
height: 10rem;
color: white;
margin: 0.8rem;
}
#banner img {
height: 7rem;
margin: 1.5rem;
float: left;
}
#banner .text {
padding-top: 1.8rem;
margin-left: 1rem;
float: left;
}
#banner .time {
padding-top: 1.8rem;
margin-right: 1rem;
float: right;
}
.route {
margin: 0.8rem;
}
.route img {
height: 10rem;
float: left;
}
.destination {
box-sizing: border-box;
height: 10rem;
background-color: white;
padding-top: 1.4rem;
padding-left: 11rem;
white-space: nowrap;
overflow: clip;
}
.destination:first-child {
border-radius: 5rem 5rem 0 0;
}
.destination:last-child {
border-radius: 0 0 5rem 5rem;
}
.destination:only-child {
border-radius: 5rem 5rem 5rem 5rem;
}
.destination .text {
color: black;
margin-right: 1.6rem;
}
.destination .seperator {
color: grey;
display: none;
}
.destination .combined {
display: inline-block;
color: white;
min-width: 8rem;
padding: 0.4rem;
margin-left: 0.8rem;
margin-right: 0.8rem;
background-color: #777;
box-sizing: border-box;
border-radius: 0.4rem;
text-align: center;
}
.destination .combined:first-child {
background-color: #333;
}