beci-anzeige/style.css

96 lines
1.4 KiB
CSS

* {
padding: 0;
margin: 0;
}
body {
background-color: black;
font-size: 110px;
font-family: arial, sans;
}
#banner {
box-sizing: border-box;
height: 200px;
color: white;
margin: 16px;
}
#banner img {
height: 140px;
margin: 30px;
float: left;
}
#banner .text {
padding-top: 36px;
margin-left: 20px;
float: left;
}
#banner .time {
padding-top: 36px;
margin-right: 20px;
float: right;
}
.route {
margin: 16px;
}
.route img {
height: 200px;
float: left;
}
.destination {
box-sizing: border-box;
height: 200px;
background-color: white;
padding-top: 28px;
padding-left: 220px;
white-space: nowrap;
overflow: clip;
}
.destination:first-child {
border-radius: 100px 100px 0 0;
}
.destination:last-child {
border-radius: 0 0 100px 100px;
}
.destination:only-child {
border-radius: 100px 100px 100px 100px;
}
.destination .text {
color: black;
margin-right: 32px;
}
.destination .seperator {
color: grey;
display: none;
}
.destination .combined {
display: inline-block;
color: white;
min-width: 160px;
padding: 8px;
margin-left: 16px;
margin-right: 16px;
background-color: #777;
box-sizing: border-box;
border-radius: 8px;
text-align: center;
}
.destination .combined:first-child {
background-color: #333;
}