Files
spothole/webassets/css/style.css
Ian Renton 3bea7245f7 Minor fixes
2025-10-05 08:21:44 +01:00

98 lines
1.7 KiB
CSS

#info-container{
width: 100%;
}
@media (min-width: 768px) {
#info-container{
max-width: 60em;
margin: 0 auto;
}
}
/* Custom version of Bootstrap table colouring to colour 2 in every 4 rows, because of our second row per spot that
appears on mobile */
.table-striped-custom > tbody > tr:nth-of-type(4n+3) > *,
.table-striped-custom > tbody > tr:nth-of-type(4n+4) > * {
--bs-table-color-type: var(--bs-table-striped-color);
--bs-table-bg-type: var(--bs-table-striped-bg);
}
td.nowrap {
text-wrap: nowrap;
}
span.flag-wrapper {
display: inline-block;
width: 1.7em;
text-align: center;
cursor: default;
}
span.band-bullet {
display: inline-block;
cursor: default;
padding-right: 0.2em;
}
span.icon-wrapper {
display: inline-block;
width: 1.5em;
text-align: center;
cursor: default;
}
span.freq-mhz {
display: inline-block;
min-width: 1.7em;
text-align: right;
font-weight: bold;
}
span.freq-khz {
padding: 0 0.2em;
}
span.freq-hz {
font-size: 0.8em;
}
span.mode-q {
padding-left: 0.5em;
font-size: 0.7em;
color: lightgray;
}
div.appearing-panel {
display: none;
}
p.filter-card-text {
line-height: 2.5em !important;
}
a.dx-link {
color: var(--bs-emphasis-color);
text-decoration: none;
font-weight: bold;
}
/* QRT/faded styles */
tr.table-faded td {
filter: grayscale(100%) opacity(30%) !important;
text-decoration: line-through !important;
}
tr.table-faded td span {
text-decoration: line-through !important;
}
@media (max-width: 991.99px) {
.hideonmobile {
display: none !important;
}
}
@media (min-width: 992px) {
.hidenotonmobile {
display: none !important;
}
}