pages/search: results markup

This commit is contained in:
He4eT 2024-01-20 21:37:19 +01:00
commit f5af3c1823
2 changed files with 7 additions and 8 deletions

View file

@ -2,6 +2,10 @@ header {
display: flex;
padding: calc(2 * var(--step));
gap: calc(2 * var(--step));
position: sticky;
top: 0;
background: inherit;
}
header > input {
@ -45,19 +49,14 @@ main {
overflow: hidden;
}
.tab .label {
.tab > span:first-child {
font-family: monospace;
color: var(--gray-dark-05);
flex-shrink: 0;
}
.tab > .title,
.tab > .url {
.tab > span:last-child {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.tab .url {
color: var(--gray-dark-05);
}

View file

@ -11,7 +11,7 @@
<input type='search' id='searchbox' placeholder='Filter' autofocus>
<input type='search' id='actionbox' placeholder='Action (? for help)'>
</header>
<main>
<main id='searchResults'>
<button class='tab'>
<div class='label'>jk</div>
<div class='title'>