This commit is contained in:
nelle 2024-08-19 00:20:34 -06:00
parent 77e920f093
commit 9131e8edec
2 changed files with 40 additions and 19 deletions

View file

@ -2,7 +2,7 @@
.container {
display: flex;
align-content: center;
align-content: center;
gap: 10px;
}
@ -26,6 +26,26 @@
box-shadow: 0 0 8px var(--accent);
}
.nav {
width: 50%;
max-width: 75em;
margin: auto;
padding: 0.5em;
margin-top: 1em;
margin-bottom: 1em;
border: 2.5px solid var(--accent);
border-radius: 3px;
opacity: 0.9;
background: var(--content-gradient);
-webkit-box-shadow: 0 0 8px var(--accent);
-moz-box-shadow: 0 0 8px var(--accent);
box-shadow: 0 0 8px var(--accent);
}
.center {
text-align: center;
}
@ -36,7 +56,7 @@ h1::before {
h1 {
font-size: 42px;
background-image: var(--accent-gradient);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;

View file

@ -1,18 +1,19 @@
---
---
<!--
onmouseover="PlaySound('hoverSound')"
onmouseout="StopSound('hoverSound')" -->
<nav class="menu center">
<button
class="custom-btn btn-1"
type="button"
onclick="location.href='/'"
>
<span>Home</span>
</button>
<!--
<section class="center nav">
<nav class="menu">
<button
class="custom-btn btn-1"
type="button"
onclick="location.href='/'">
<span>Home</span>
</button>
<!--
<button
class="custom-btn btn-1"
type="button"
@ -21,11 +22,11 @@
<span>Projects</span>
</button>
-->
<button
class="custom-btn btn-1"
type="button"
onclick="location.href='/blog'"
>
<span>Blog</span>
</button>
</nav>
<button
class="custom-btn btn-1"
type="button"
onclick="location.href='/blog'">
<span>Blog</span>
</button>
</nav>
</section>