UI improvements

Makes the default font bigger and sans-serif.
Homepage gets a heading so you know what you're using.
This commit is contained in:
Hugh Rundle 2023-03-12 18:00:15 +11:00
parent 88b0b097b1
commit 8e1a73743b
2 changed files with 7 additions and 1 deletions

View file

@ -2,6 +2,8 @@ html {
margin: 0; margin: 0;
padding: 0; padding: 0;
height: 100%; height: 100%;
width: 100vw;
font: 1.3em sans-serif;
} }
body { body {
@ -49,6 +51,7 @@ header form {
textarea, textarea,
main { main {
font: 1em sans-serif;
outline: none; outline: none;
width: 90%; width: 90%;
min-height:80vh; min-height:80vh;
@ -78,7 +81,7 @@ main {
} }
.home-menu { .home-menu {
margin: auto; margin: 2em auto;
padding: 0; padding: 0;
text-align: center; text-align: center;
} }

View file

@ -1,5 +1,8 @@
<< partials/head >> << partials/head >>
<body class="{{ disabled }}"> <body class="{{ disabled }}">
<header>
<h1>Soyuz</h1>
</header>
<menu class="home-menu"> <menu class="home-menu">
<a class="home-button" href="/new">{{ writeNew }}</a><br/> <a class="home-button" href="/new">{{ writeNew }}</a><br/>
<a class="home-button" href="/edit">Edit previous</a><br/> <a class="home-button" href="/edit">Edit previous</a><br/>