UI and bugfixes #10

Merged
hughrun merged 2 commits from publishing-fixes into main 2023-03-12 18:05:01 +11:00
2 changed files with 7 additions and 1 deletions
Showing only changes of commit 8e1a73743b - Show all commits

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/>