aboutsummaryrefslogtreecommitdiff
path: root/web/pw-server/src/routes/__layout.svelte
diff options
context:
space:
mode:
Diffstat (limited to 'web/pw-server/src/routes/__layout.svelte')
-rw-r--r--web/pw-server/src/routes/__layout.svelte39
1 files changed, 33 insertions, 6 deletions
diff --git a/web/pw-server/src/routes/__layout.svelte b/web/pw-server/src/routes/__layout.svelte
index 53eb265..2267491 100644
--- a/web/pw-server/src/routes/__layout.svelte
+++ b/web/pw-server/src/routes/__layout.svelte
@@ -6,10 +6,17 @@
<div class="outer-container">
<div class="navbar">
- <div class="navbar-main">
- <a href="/">PlanetWars</a>
+ <div class="navbar-left">
+ <div class="navbar-header">
+ <a href="/">PlanetWars</a>
+ </div>
+ <div class="navbar-item">
+ <a href="/editor">Editor</a>
+ </div>
+ </div>
+ <div class="navbar-right">
+ <UserControls />
</div>
- <UserControls />
</div>
<slot />
</div>
@@ -34,13 +41,33 @@
padding: 0 15px;
}
- .navbar-main {
+ .navbar-left {
+ display: flex;
+ }
+
+ .navbar-right {
+ display: flex;
+ }
+
+ .navbar-header {
margin: auto 0;
+ padding-right: 24px;
}
- .navbar-main a {
+ .navbar-header a {
font-size: 20px;
- color: #eee;
+ color: #fff;
+ text-decoration: none;
+ }
+ .navbar-item {
+ margin: auto 0;
+ padding: 0 8px;
+ }
+
+ .navbar-item a {
+ font-size: 14px;
+ color: #fff;
text-decoration: none;
+ font-weight: 600;
}
</style>