diff options
| author | Jake Mannens <jake@asger.xyz> | 2023-08-11 02:57:35 +1000 |
|---|---|---|
| committer | Jake Mannens <jake@asger.xyz> | 2025-08-18 10:59:32 +1000 |
| commit | 32191222ba22409773b2e86abf8b7113203103ca (patch) | |
| tree | 54db5d2bc8aae3e745e40e48d8d87fc396df04e8 /Pages/Shared | |
| parent | 812eae0b5b75f24adebfe6347ecda26c04b8181b (diff) | |
Added basis for a search box
Diffstat (limited to 'Pages/Shared')
| -rw-r--r-- | Pages/Shared/_Layout.cshtml | 1 | ||||
| -rw-r--r-- | Pages/Shared/_Layout.cshtml.css | 12 |
2 files changed, 13 insertions, 0 deletions
diff --git a/Pages/Shared/_Layout.cshtml b/Pages/Shared/_Layout.cshtml index 4c80500..9d6d382 100644 --- a/Pages/Shared/_Layout.cshtml +++ b/Pages/Shared/_Layout.cshtml @@ -17,6 +17,7 @@ <div id="navbar"> <a href="/">Home</a> <a href="/TagDefinitions">Tags</a> + <input type="text" placeholder="Search"/> </div> <div id="content" style="overflow-y:@(ViewBag.ContentScroll ? "auto" : "hidden");padding:@(ViewBag.ContentMargin ?? "0");"> @RenderBody() diff --git a/Pages/Shared/_Layout.cshtml.css b/Pages/Shared/_Layout.cshtml.css index 22e36db..5b2f26e 100644 --- a/Pages/Shared/_Layout.cshtml.css +++ b/Pages/Shared/_Layout.cshtml.css @@ -1,6 +1,7 @@ div#navbar { background: var(--col-navbar-bg); box-shadow: rgba(0, 0, 0, 0.5) 0px 10px 10px; + display: flex; } div#navbar > a { @@ -19,6 +20,17 @@ div#navbar > a:active { color: var(--col-navbar-bg); } +div#navbar > input { + align-self: center; + background: var(--col-bg); + border-radius: 0; + color: white; + height: 40px !important; + margin: 0 20px 0 auto; + font-size: 12pt; + min-width: 30%; +} + #content { flex: 1 1 calc(100vh - 119px); }
\ No newline at end of file |
