1
0
mirror of https://koodu.h-i.works/projects/thebadspace synced 2025-05-06 14:41:02 -05:00

Merge branch 'develop' into moiety/about

This commit is contained in:
RXP 2025-05-05 22:12:04 +02:00
commit 8ed702bd59
4 changed files with 52 additions and 22 deletions

View File

@ -50,23 +50,32 @@ form.index-search-form > button > label {
} }
section.index-meta article { section.index-meta article {
margin-top: 20px; padding-block: 30px;
} }
div.index-meta { table.index-meta {
display: grid;
grid-template-columns: 50% 50%;
gap: 10px;
width: 98%;
font-weight: 500;
color: var(--secondary);
}
div.index-meta > label:nth-child(2),
div.index-meta > label:nth-child(4),
div.index-meta > label:nth-child(6) {
color: var(--white);
width: 100%; width: 100%;
border-collapse: collapse;
border-spacing: 0;
}
table.index-meta tr + tr > * {
padding-block-start: 10px;
}
table.index-meta :is(th, td) {
padding: 0;
font-weight: 500;
}
table.index-meta th {
color: var(--secondary);
text-align: left;
}
table.index-meta td {
padding-inline-start: 10px;
color: var(--white);
text-align: right; text-align: right;
} }

View File

@ -1,3 +1,4 @@
@import "../global/utilities.css";
@import "../global/colors.css"; @import "../global/colors.css";
@import "../global/forms.css"; @import "../global/forms.css";
@import "../global/typography.css"; @import "../global/typography.css";

View File

@ -0,0 +1,13 @@
/**
* Utilities
*/
.visually-hidden:not(:focus):not(:active) {
position: absolute;
width: 1px;
height: 1px;
overflow: hidden;
clip: rect(0 0 0 0);
clip-path: inset(50%);
white-space: nowrap;
}

View File

@ -38,14 +38,21 @@
@endisset @endisset
<section class="index-meta"> <section class="index-meta">
<article> <article>
<div class="index-meta"> <table class="index-meta">
<label>Active Locations Tracked</label> <caption class="visually-hidden">Meta</caption>
<label>{{$count}}</label> <tr>
<label>Total Sources</label> <th>Active Locations Tracked</th>
<label>{{$sources}}</label> <td>{{$count}}</td>
<label>Latest Update</label> </tr>
<label>{{$latest_date}}</label> <tr>
</div> <th>Total Sources</th>
<td>{{$sources}}</td>
</tr>
<tr>
<th>Latest Update</th>
<td>{{$latest_date}}</td>
</tr>
</table>
</article> </article>
</section> </section>
@endsection @endsection