This repository has been archived on 2023-08-24. You can view files and clone it, but cannot push or open issues or pull requests.
OwlBoard/static/styles/boards.css

193 lines
2.7 KiB
CSS

/* Hide when loading */
.hide-when-loading {
display: none;
}
/* Main Notices: */
.main-notice {
display: none;
margin-top: 150px;
}
.notices-hidden {
display: none;
}
#no_services {
width: 75%;
margin: auto;
margin-top: 150px;
font-size: 20px;
font-weight: 900;
}
/* Fixed Content: */
#header {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 50px;
background-color: var(--overlay-color);
color: lightgrey;
}
#station_name {
position: absolute;
max-width: 50%;
left: 7px;
top: 3px;
}
.header-large{
left: 0;
text-align: left;
font-size: 13pt;
margin-top: -2px;
overflow-wrap: anywhere;
text-transform: capitalize;
}
@media (min-width: 380px){
.header-large{
font-size: 13pt;
margin-top: 9px;
white-space: nowrap;
}
}
@media (min-width: 580px){
.header-large{
font-size: 19pt;
margin-top: 5px;
white-space: nowrap;
}
}
.header-small {
text-align: right;
padding-right: 5px;
margin: 3px;
}
/* NRCC Notices */
#alerts{
position: fixed;
width: 100%;
left: 0;
top: 0;
}
#alerts_bar{
position: absolute;
margin-top:50px;
left: 0;
width: 100%;
height: 40px;
background-color: darkorange;
color: white;
}
#alert_icon{
position: absolute;
left: 10px;
margin-top: 5px;
width: 30px;
height: 30px;
}
#alert_bar_note {
position: relative;
text-align: center;
margin: auto;
margin-top: 8px;
font-weight: 900;
}
#alert_expand_arrow {
position: absolute;
right: 0;
top: 0;
padding: 10px;
padding-right: 15px;
padding-left: 30px;
background: none;
border: none;
font-weight: 900;
color: white;
}
#alerts_msg{
position: absolute;
left: 0;
top: 40px;
width: 100%;
background-color: pink;
}
/* Content */
#output {
width: 100%;
margin-top: 95px; /* SHOULD BE REMOVED AFTER IMPLEMENTING ALERTS */
}
table {
color: white;
width: 100%;
margin-top: 3px;
font-size: 10.5px;
}
#ferry{
margin-top: 45px;
}
.name{
width: 25%;
text-align: left;
}
.name-item {
color: yellow;
}
.plat{
width: 4%;
text-align: center;
}
.time{
width: 11.5%;
text-align: center;
}
.msg{
width: 95%;
font-size: 10px;
margin: 0;
margin-left: 3px;
text-align: left;
color: lightblue;
}
.changed{
animation: pulse 1.5s linear infinite;
}
/* Footer: */
#footer {
position: fixed;
bottom: 0;
left: 0;
width: 100%;
height: 40px;
background-color: var(--overlay-color);
}
#footer img {
height: 35px;
}
/* Animations */
@keyframes pulse {
50% {
color: orange;
}
}