summaryrefslogtreecommitdiff
path: root/Pages/Shared
diff options
context:
space:
mode:
Diffstat (limited to 'Pages/Shared')
-rw-r--r--Pages/Shared/_Layout.cshtml1
-rw-r--r--Pages/Shared/_Layout.cshtml.css12
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