Skip to content

Commit c47bf57

Browse files
committed
Move search bar position to top-left
1 parent 1f3e174 commit c47bf57

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

index.html

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,18 +45,21 @@
4545
.flex-break {display: none; flex-basis:0; height:0; margin:0; padding:0;}
4646

4747
.search-row {
48-
max-width: 70ch;
49-
margin: auto;
48+
max-width: 80ch;
49+
margin: 1em 1em -1em 2em;
5050
display: flex;
5151
flex-wrap: wrap;
5252
align-items: center;
5353
justify-content: center;
5454
gap: 1.7rem;
5555
}
56+
@media (max-width: 700px) {
57+
.search-row { margin-left: 1em; }
58+
}
5659
.search-row > *:nth-child(3) {flex: 1}
5760

5861
body.fullscreen {
59-
& .search-row {max-width: 90ch !important;}
62+
& .search-row {max-width: 90ch !important; margin: auto;}
6063
& .search-row > a img {height: min(30vh,30vw) !important; margin-top:3rem;}
6164
& .flex-break {display: block !important; flex-basis: 100% !important; }
6265
}
@@ -81,7 +84,10 @@
8184
& tbody tr th:not([colspan]) { text-align: left; border-bottom: 2px solid gray }
8285
}
8386
}
84-
body:has(details[open]) .search-results {filter: blur(.5rem);}
87+
body:has(details[open]) {
88+
overflow: hidden;
89+
& :where(.search-results, .search-row > a:first-child, .search-row search) {filter: blur(.5rem);}
90+
}
8591
</style>
8692
<style>
8793
details {

0 commit comments

Comments
 (0)