summaryrefslogtreecommitdiff
path: root/Pages/Shared
diff options
context:
space:
mode:
Diffstat (limited to 'Pages/Shared')
-rw-r--r--Pages/Shared/_Layout.cshtml26
-rw-r--r--Pages/Shared/_Layout.cshtml.css36
2 files changed, 0 insertions, 62 deletions
diff --git a/Pages/Shared/_Layout.cshtml b/Pages/Shared/_Layout.cshtml
deleted file mode 100644
index 9d6d382..0000000
--- a/Pages/Shared/_Layout.cshtml
+++ /dev/null
@@ -1,26 +0,0 @@
-@{
- ViewBag.Title ??= "HyperBooru";
- ViewBag.ContentScroll ??= true;
- ViewBag.ContentMargin ??= "30px";
-}
-
-<!DOCTYPE html>
-
-<html>
-<head>
- <meta name="viewport" content="width=device-width"/>
- <link rel="stylesheet" type="text/css" href="/styles/global.css"/>
- <link rel="stylesheet" type="text/css" href="@(nameof(HyperBooru)).styles.css"/>
- <title>@ViewBag.Title</title>
-</head>
- <body>
- <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()
- </div>
- </body>
-</html> \ No newline at end of file
diff --git a/Pages/Shared/_Layout.cshtml.css b/Pages/Shared/_Layout.cshtml.css
deleted file mode 100644
index 5b2f26e..0000000
--- a/Pages/Shared/_Layout.cshtml.css
+++ /dev/null
@@ -1,36 +0,0 @@
-div#navbar {
- background: var(--col-navbar-bg);
- box-shadow: rgba(0, 0, 0, 0.5) 0px 10px 10px;
- display: flex;
-}
-
-div#navbar > a {
- color: white;
- display: inline-block;
- padding: 20px 20px 20px 20px;
-}
-
-div#navbar > a:hover {
- background: rgba(255, 255, 255, 0.4);
- filter: none;
-}
-
-div#navbar > a:active {
- background: #fff;
- 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