language: CSS
849 Bytes / 52 lines / 44 loc
body {
font-family: Scoreboard;
color: rgb(255,147,41);
font-size: 29pt;
font-weight: bold;
margin: 0;
padding: 0;
background-size: cover; /* <------ */
background-repeat: no-repeat;
background-position: center center; /* optional, center the image */
}
@font-face {
font-family: Scoreboard;
src: url(scoreboard.ttf) format("truetype");
}
#background {
position: absolute;
z-index: -1;
min-height: 100%;
width: 100%
}
.arrivals-list {
width: 100%;
display: grid;
}
.arrival-direction {
align-items: center;
}
.arrival-time {
align-items: center;
}
.arrival-info {
width: 100%;
display: grid;
align-items: center;
grid-template-columns: .25fr .1fr .15fr 1fr;
grid-template-rows: 1fr;
background: black;
padding: 10px 0;
}
img.line-icon {
margin-top: .2ex;
width: 1.8em;
}