minor theme work

This commit is contained in:
legitnull 2023-04-02 14:17:56 -06:00
parent 4746c59951
commit 1346694e3e
2 changed files with 29 additions and 9 deletions

View File

@ -13,12 +13,15 @@
<nav>
<ul>
<li><a href="/">Home</a></li>
<!-- placeholder -->
<!-- Add more links to your menubar here -->
<li><a href="/what">What</a></li>
<li><a href="/who">Who</a></li>
</ul>
</nav>
</header>
<div id="content">
<main>
{{ .Content }}
</div>
</main>
</body>
</html>

View File

@ -1,8 +1,7 @@
/* assets/main.css */
/* placeholder for better sytle */
body {
font-family: Arial, sans-serif;
font-family: 'Courier New', Courier, monospace;
line-height: 1.6;
margin: 20px;
background-color: #131313;
@ -24,29 +23,47 @@ a:hover {
header {
padding: 1em;
background-color: #5555;
background-color: #333;
border-bottom: 1px solid #555;
display: flex;
justify-content: space-between;
align-items: center;
}
header h1 {
display: inline-block;
margin-right: 1em;
font-size: 1.5em;
}
nav ul {
list-style: none;
padding: 0;
margin: 0;
}
nav ul li {
display: inline;
margin-right: 1em;
font-size: 1.1em;
}
/* Add the following rule to improve code block appearance */
pre {
background-color: #5555;
padding: 1em;
border-radius: 3px;
}
/* Button styles */
nav ul li a {
display: inline-block;
padding: 8px 16px;
border: 1px solid #14ee00;
border-radius: 3px;
background-color: transparent;
font-size: 1.1em;
transition: background-color 0.3s, color 0.3s;
}
nav ul li a:hover {
background-color: #14ee00;
color: #131313;
}