settings page

This commit is contained in:
SpikeHD 2022-05-03 03:15:30 -07:00
parent 19a176bdfd
commit fa9ab93880
3 changed files with 13 additions and 1 deletions

View File

@ -14,6 +14,7 @@
<div id="sidebar">
<div class="sidebarItem" data-value="players">Players</div>
<div class="sidebarItem" data-value="server">Server</div>
<div class="sidebarItem" data-value="settings">Settings</div>
</div>
<iframe id="content" src="pages/default.html"></iframe>
</div>

9
pages/settings.html Normal file
View File

@ -0,0 +1,9 @@
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" type="text/css" href="../styles/console.css" />
</head>
</html>
<div>
This is the settings page!
</div>

View File

@ -2,6 +2,7 @@ html {
margin: 0;
padding: 0;
height: 100vh;
user-select: none;
overflow: hidden;
}
@ -13,6 +14,7 @@ body {
iframe {
border: none;
margin: 20px;
}
#logo {
@ -57,7 +59,7 @@ iframe {
padding: 20px;
border-bottom: 1px solid #ccc;
transition: background 0.2s ease-in-out;
transition: background-color 0.1s ease-in-out;
}
.sidebarItem:hover {