Cleaned up spacing in the rest of the site

main
Giulio Alessandrini 2021-08-03 10:02:56 +02:00
parent 9d439e85a4
commit 25ed1056a1
5 changed files with 33 additions and 16 deletions

View File

@ -8,6 +8,7 @@
<style> <style>
footer { footer {
margin: 20px; margin: 1em;
padding: 1em;
} }
</style> </style>

View File

@ -9,17 +9,13 @@
<style> <style>
nav { nav {
margin-bottom: 1rem; margin: 1em;
padding: 1em;
display: flex; display: flex;
} }
.nav-button { .nav-button {
margin: 5px;
padding: 8px; padding: 8px;
background-color: var(--lightgray); border-bottom: solid 1px black;
border-radius: 5px;
} }
.nav-button:hover {
background-color: var(--gray);
}
</style> </style>

View File

@ -14,6 +14,7 @@
padding: 0px; padding: 0px;
margin: 0px; margin: 0px;
text-decoration: none; text-decoration: none;
list-style-type: none;
color : black; color : black;
--gray: rgb(160, 160, 160); --gray: rgb(160, 160, 160);

View File

@ -1,2 +1,11 @@
<h1>About this</h1> <div class = "panel">
<p>This is a test website using sveltekit</p> <h1>About this</h1>
<p>This is a test website using sveltekit</p>
</div>
<style>
.panel {
margin: 1em;
padding: 1em;
}
</style>

View File

@ -1,12 +1,22 @@
<h1>APPS</h1> <div class = "panel">
<h1>APPS</h1>
<ul>
<li><a href="/apps/todo">todo</a></li>
</ul>
</div>
<ul>
<li><a href="/apps/todo">todo</a></li>
</ul>
<style> <style>
h1 { .panel {
margin: 10px; margin: 1em;
padding: 1em;
}
ul {
margin: 2em;
}
li {
list-style-type:circle;
} }
</style> </style>