Fixed styling

This commit is contained in:
Fred Boniface 2022-09-20 21:05:48 +01:00
parent 7aee153e82
commit 52e69cb89f
2 changed files with 5 additions and 3 deletions

View File

@ -5,7 +5,8 @@ echo '<div id="menu-button" class="menu-button">';
echo '<img onclick="openMenu()" src="/assets/icons/menu.png"></img>';
echo '</div>';
echo '<div id="menu" class="menu">';
echo '<a href="/help.php" class="menuitem" onclick=closeMenu()">Help</a>';
echo '<a href="/issue.php" class="menuitem" onclick=closeMenu()">Report Issue</a>"';
echo '<a href="/index.php" class="menuitem" onclick="closeMenu()"">Home</a>';
echo '<a href="/issue.php" class="menuitem" onclick="closeMenu()"">Report Issue</a>"';
echo '<a href="/help.php" class="menuitem" onclick="closeMenu()"">Help</a>';
echo '<img onclick="closeMenu()" class="popup-close" src="/assets/icons/close-circle.png"></img>';
echo '</div>';

View File

@ -60,7 +60,7 @@ body {
}
.menu-button {
position: absolute;
position: relative;
background-color: #aac4ee;
border: none;
right: 30px;
@ -69,6 +69,7 @@ body {
.menuitem {
background-color: #2256aa;
text-decoration: none;
color: #f6f5f4;
border: none;
border-radius: 18px;