Skip to content

Commit

Permalink
improve layout
Browse files Browse the repository at this point in the history
  • Loading branch information
glendc committed Oct 22, 2023
1 parent b333980 commit 6f8ab2f
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 8 deletions.
3 changes: 3 additions & 0 deletions static/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
--main-font: sans-sarif;
--secondary-font: sans-sarif;
--mono-font: "Cascadia Code", monospace, monospace;

/* layout */
--density: 1.5;
}

/* Light Mode */
Expand Down
2 changes: 1 addition & 1 deletion templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

<script src="/static/js/htmx.min.js?v=1.9.6"></script>
<link rel="stylesheet" href="/static/css/missing.min.css?v=1.1.1" />
<link rel="stylesheet" href="/static/css/style.css?t=bucket&v=0.1.1" />
<link rel="stylesheet" href="/static/css/style.css?t=bucket&v=0.1.0" />
</head>

<body>
Expand Down
13 changes: 7 additions & 6 deletions templates/content/login.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,14 @@
{% block content %}
<div class="box" style="width: 100%; max-width: 500px;">
<strong class="block titlebar">login using a magic link</strong>
<form action="/login" method="post" class="table rows spacious" style="margin: 10px 0 0 0; padding: 10px;">
<form action="/login" method="post" style="margin: 10px 0 0 0; padding: 10px;">
<div class="table rows spacious">
<p>
<label for="email">email:</label>
<input id="email" name="email" type="email" placeholder="email" style="width: 100%; margin: 0 5px 0 0;">
</p>
</div>
<p>
<label for="email">email:</label>
<input id="email" name="email" type="email" placeholder="email" style="width: 100%; margin: 0 5px 0 0;">
</p>
<p>
<span></span>
<input class="button good big" type="submit" value="send magic link" style="float: right;">
</p>
</form>
Expand Down
2 changes: 1 addition & 1 deletion templates/content/shared/info.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<strong class="block titlebar">{{ title }}</strong>
<p>{{ message }}</p>
<p>
<a href="/" class="<button> big" style="margin: 10px 0 0 0; float: right;">↩ go back</a>
<a href="/" class="<button> good big" style="margin: 10px 0 0 0; float: right;">↩ go back</a>
</p>
</div>
{% endblock %}

0 comments on commit 6f8ab2f

Please sign in to comment.