busdepartures/static/css/busdepartures.css

65 lines
714 B
CSS
Raw Normal View History

2023-08-13 16:27:30 +00:00
html {
font-family: sans-serif;
font-size: 16px;
}
body {
margin: 0;
padding: 0;
}
h1 {
margin: 0;
}
2023-08-13 14:58:04 +00:00
h2 {
2023-08-13 16:27:30 +00:00
font-size: 1.4rem;
2023-08-13 14:58:04 +00:00
margin-bottom: 2px;
}
2023-08-13 16:27:30 +00:00
p {
font-style: italic;
margin-top: 0;
}
header {
background: #000;
color: #fff;
padding: 1rem 2rem;
text-align: center;
}
main {
padding: 1rem 2rem;
2023-08-18 09:26:33 +00:00
}
td {
padding: .2rem .8rem;
}
td:first-child {
padding-left: 0;
}
td:last-child {
padding-right: 0;
2024-04-16 16:36:47 +00:00
}
time {
background: black;
color: white;
display: inline-block;
font-size: .8rem;
padding: .2em .2em .1em;
}
.on-time {
background: green;
color: white;
}
.delayed {
background: red;
color: white;
}