beacon/static/style.css

221 lines
2.9 KiB
CSS

body {
font-family: sans-serif;
margin: 40px;
}
section.fish {
margin-bottom: 5px;
display: grid;
grid-template-columns: 1fr 1fr 1fr 1fr;
padding: 0 10px;
align-items: center;
}
.header {
display: flex;
justify-content: space-between;
align-items: center;
}
.side {
display: flex;
flex-direction: column;
align-items: end;
}
select {
width: 100%;
}
.header h1 {
margin: 0;
}
.title {
padding: 5px 0;
display: flex;
align-items: center;
gap: 5px;
}
.title h3 {
margin: 0;
padding: 0;
}
.title .subtitle {
margin: 0;
font-size: 14px;
color: gray;
}
.meta {
text-align: end;
display: flex;
flex-direction: column;
justify-content: space-between;
}
.meta img {
vertical-align: middle;
}
.when,
.how {
text-align: center;
}
.when .date {
color: gray;
font-size: 14px;
display: inline-block;
}
.date.tiny {
font-size: 12px;
display: block;
margin-left: 5px;
color: #aaa;
}
.date .inner {
display: inline-block;
}
section.up {
background-color: greenyellow;
}
section.alwaysup {
background-color: #c6ff6e;
background-image: linear-gradient(
45deg,
greenyellow 25%,
transparent 25%,
transparent 50%,
greenyellow 50%,
greenyellow 75%,
transparent 75%,
transparent
);
background-size: 50px 50px;
}
/* .catchpath:not(:first-of-type) {
margin-left: 5px;
} */
.catchpath {
align-items: center;
position: relative;
}
.catchpath img {
vertical-align: middle;
}
.hookset {
position: absolute;
top: -10px;
right: -10px;
}
.tug {
position: absolute;
background-color: black;
color: white;
bottom: -10px;
right: -10px;
padding: 2px;
font-size: 10px;
font-weight: bolder;
font-family: monospace;
}
.catchpath:not(:first-of-type)::before {
content: ">";
display: inline-block;
margin: 0 5px;
vertical-align: middle;
color: gray;
}
.catchpath:has(.tug) {
margin-right: 9px;
}
p,
li {
max-width: 50em;
line-height: 1.5rem;
}
h2.clock {
margin: 0;
margin-bottom: 5px;
}
summary:hover {
cursor: pointer;
}
.menu {
display: flex;
gap: 5px;
}
.patch {
font-size: 11px;
background: black;
color: white;
border-radius: 10px;
padding: 2px 6px;
margin-left: 2px;
vertical-align: middle;
}
.patch-2 {
background: #666666;
}
.patch-3 {
background: #4d7ee8;
}
.patch-4 {
background: #a22a3e;
}
.patch-5 {
background: #5047b3;
}
.patch-6 {
background: #bf7813;
}
.patch-7 {
background: #e5b522;
}
h2 small {
font-size: 16px;
font-weight: normal;
color: gray;
margin-left: 4px;
}
.zone {
font-size: 13px;
color: gray;
margin-right: 4px;
}
section.pinned {
background-color: tomato !important;
background-image: none;
}
.pinned *:not(button) {
color: white;
}