Skip to content

Commit

Permalink
rest of menus
Browse files Browse the repository at this point in the history
  • Loading branch information
1kuceraj committed Sep 24, 2024
1 parent 86adea0 commit 558ca78
Show file tree
Hide file tree
Showing 4 changed files with 50 additions and 54 deletions.
54 changes: 44 additions & 10 deletions css/map.css
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@
height: 28px; /* Adjust this to match your other buttons */
}

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;700&family=Merriweather:wght@300;400;700&display=swap');

.goto-form input {
width: 40px;
padding: 2px 4px;
Expand Down Expand Up @@ -120,8 +122,49 @@
.outpost {
z-index: 501; /* Ensure outpost is above the range circle */
}
.navbar, .navbar-brand, .nav-link {
font-family: 'Merriweather', serif;
}

.goto-form {
display: inline-flex;
align-items: center;
background-color: #1a1a1a;
border: 1px solid #333;
border-radius: 4px;
padding: 2px;
}

.goto-form input {
width: 40px;
padding: 2px 4px;
background-color: #2a2a2a;
color: #fff;
border: 1px solid #444;
border-radius: 2px;
font-size: 12px;
margin: 0 2px;
}

body, html {
.goto-form input::placeholder {
color: #666;
}

.goto-form button {
padding: 2px 8px;
background-color: #333;
color: #fff;
border: none;
border-radius: 2px;
cursor: pointer;
font-size: 12px;
}

.goto-form button:hover {
background-color: #444;
}

body {
margin: 0;
padding: 0;
font-family: 'Merriweather', serif;
Expand Down Expand Up @@ -297,14 +340,6 @@ body, html {
.popup-close:active {
transform: scale(0.95);
}
.navigation-submenu {
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: flex-end;
background-color: #333;
padding: 10px;
}

.btn {
display: inline-block;
Expand Down Expand Up @@ -351,7 +386,6 @@ body, html {
}
#message-display {
position: fixed;
top: 60px; /* Adjust based on your navigation bar height */
left: 0;
right: 0;
color: #ffd700;
Expand Down
30 changes: 1 addition & 29 deletions css/user_panel.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,6 @@ body {
background-position: center;
background-attachment: fixed;
color: #ffffff;
font-size: 0.9rem;
}

.sticky-top-panel {
position: fixed;
top: 0;
left: 0;
right: 0;
background-color: #f8f9fa;
z-index: 1000;
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.container {
Expand Down Expand Up @@ -111,12 +100,6 @@ body {
color: #ffffff;
}

.navigation-submenu {
background-color: rgba(40, 40, 40, 0.9);
padding: 10px;
font-family: 'Merriweather', serif;
}

.tile-actions, .user-actions {
display: flex;
flex-wrap: wrap;
Expand Down Expand Up @@ -203,28 +186,18 @@ body {

.btn-sm {
padding: 0.25rem 0.5rem;
font-size: 0.8rem;
border-radius: 0.2rem;
}

.alert-info {
color: #c0c0c0;
background-color: rgba(0, 123, 255, 0.1);
border-color: #007bff;
margin-top: 60px;
margin-top: 15px;
}

.card-title {
color: #ffd700;
font-size: 1rem;
}

h4 {
font-size: 1.1rem;
}

h5 {
font-size: 1rem;
}

/* Ensure text wraps correctly around images in item cards */
Expand Down Expand Up @@ -310,7 +283,6 @@ h5 {
}

.current-tile-actions .btn, .acquired-tile-actions .btn {
font-size: 0.8rem;
padding: 0.2rem 0.5rem;
background-color: #4a4a4a;
border: none;
Expand Down
10 changes: 0 additions & 10 deletions templates/bestiary.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,6 @@
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;700&family=Merriweather:wght@300;400;700&display=swap');


.navigation-submenu {
background-color: rgba(40, 40, 40, 0.9);
padding: 10px 0;
margin-bottom: 20px;
border-radius: 10px;
text-align: center;
}

.btn {
display: inline-block;
padding: 10px 20px;
Expand Down Expand Up @@ -51,8 +43,6 @@
background-position: center;
background-attachment: fixed;
color: #e0e0e0;
margin: 0;
padding: 20px;
}

.container {
Expand Down
10 changes: 5 additions & 5 deletions templates/map.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@
<a class="nav-link text-danger" href="/logout">Logout</a>
</li>
</ul>
<form class="d-flex" id="goto-form" onsubmit="handleGoTo(event)">
<input class="form-control me-2" type="number" id="goto-x" placeholder="X" required>
<input class="form-control me-2" type="number" id="goto-y" placeholder="Y" required>
<button class="btn btn-outline-light" type="submit">Travel</button>
</form>
<form class="goto-form" id="goto-form" onsubmit="handleGoTo(event)">
<input type="number" id="goto-x" placeholder="X" required>
<input type="number" id="goto-y" placeholder="Y" required>
<button type="submit">Go</button>
</form>
</div>
</div>
</nav>
Expand Down

0 comments on commit 558ca78

Please sign in to comment.