mirror of
https://koodu.h-i.works/projects/thebadspace
synced 2025-06-25 16:04:37 -05:00
refactor: use a <table>-element for index-meta
This commit is contained in:
@ -53,20 +53,29 @@ section.index-meta article {
|
||||
margin-top: 20px;
|
||||
}
|
||||
|
||||
div.index-meta {
|
||||
display: grid;
|
||||
grid-template-columns: 50% 50%;
|
||||
gap: 10px;
|
||||
width: 98%;
|
||||
font-weight: 500;
|
||||
color: var(--secondary);
|
||||
table.index-meta {
|
||||
width: 100%;
|
||||
border-collapse: collapse;
|
||||
border-spacing: 0;
|
||||
}
|
||||
|
||||
div.index-meta > label:nth-child(2),
|
||||
div.index-meta > label:nth-child(4),
|
||||
div.index-meta > label:nth-child(6) {
|
||||
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);
|
||||
width: 100%;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user