Style tweaks
This commit is contained in:
parent
5fa0a3a7c2
commit
f7c754e53b
|
@ -1173,7 +1173,7 @@ img, video {
|
||||||
.br1 {
|
.br1 {
|
||||||
border-radius: 0.125rem; }
|
border-radius: 0.125rem; }
|
||||||
|
|
||||||
.br2, .hmn-code {
|
.br2, .hmn-code, .notice {
|
||||||
border-radius: 0.25rem; }
|
border-radius: 0.25rem; }
|
||||||
|
|
||||||
.br3 {
|
.br3 {
|
||||||
|
@ -4711,7 +4711,7 @@ code, .code {
|
||||||
button,
|
button,
|
||||||
.button,
|
.button,
|
||||||
input[type=button],
|
input[type=button],
|
||||||
input[type=submit] {
|
input[type=submit], .notice {
|
||||||
padding-top: 0.5rem;
|
padding-top: 0.5rem;
|
||||||
padding-bottom: 0.5rem; }
|
padding-bottom: 0.5rem; }
|
||||||
|
|
||||||
|
@ -4755,7 +4755,7 @@ input[type=submit] {
|
||||||
button,
|
button,
|
||||||
.button,
|
.button,
|
||||||
input[type=button],
|
input[type=button],
|
||||||
input[type=submit] {
|
input[type=submit], .notice {
|
||||||
padding-left: 1rem;
|
padding-left: 1rem;
|
||||||
padding-right: 1rem; }
|
padding-right: 1rem; }
|
||||||
|
|
||||||
|
@ -7213,7 +7213,7 @@ body {
|
||||||
min-height: 100vh;
|
min-height: 100vh;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
font-size: 0.875rem;
|
font-size: 0.875rem;
|
||||||
line-height: 1.2em;
|
line-height: 1.5;
|
||||||
font-weight: 400; }
|
font-weight: 400; }
|
||||||
|
|
||||||
a {
|
a {
|
||||||
|
|
|
@ -27,7 +27,7 @@ body {
|
||||||
min-height: 100vh;
|
min-height: 100vh;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
font-size: px2rem(14px);
|
font-size: px2rem(14px);
|
||||||
line-height: 1.2em;
|
line-height: 1.5;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
.notice {
|
.notice {
|
||||||
@include usevar(color, notice-text-color);
|
@include usevar(color, notice-text-color);
|
||||||
|
@extend .ph3, .pv2;
|
||||||
|
@extend .br2;
|
||||||
|
|
||||||
a {
|
a {
|
||||||
@include usevar(color, notice-text-color);
|
@include usevar(color, notice-text-color);
|
||||||
|
|
|
@ -10,18 +10,10 @@
|
||||||
<a class="register" id="register-link" href="{{ .Header.RegisterUrl }}">Register</a>
|
<a class="register" id="register-link" href="{{ .Header.RegisterUrl }}">Register</a>
|
||||||
<a class="login" id="login-link" href="{{ .LoginPageUrl }}">Log in</a>
|
<a class="login" id="login-link" href="{{ .LoginPageUrl }}">Log in</a>
|
||||||
<div id="login-popup">
|
<div id="login-popup">
|
||||||
<form action="{{ .Header.LoginActionUrl }}" method="post">
|
<form action="{{ .Header.LoginActionUrl }}" method="post" class="ma0">
|
||||||
<table>
|
<input type="text" name="username" class="w-100" value="" placeholder="Username" />
|
||||||
<tr>
|
<input type="password" name="password" class="w-100 mt1" value="" placeholder="Password" />
|
||||||
<th><label>Username:</label></th>
|
<a class="db" style="padding: 0.5rem 0;" href="{{ .Header.ForgotPasswordUrl }}">Forgot your password?</a>
|
||||||
<td><input type="text" name="username" class="textbox username" value="" /></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<th><label>Password:</label></th>
|
|
||||||
<td><input type="password" name="password" class="textbox password" value="" /></td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
<a class="db" style="padding: 0.5rem 0;" href="{{ .Header.ForgotPasswordUrl }}">Forgot your password?</a>
|
|
||||||
<input type="hidden" name="redirect" value="{{ $.CurrentUrl }}">
|
<input type="hidden" name="redirect" value="{{ $.CurrentUrl }}">
|
||||||
<div class="pt2">
|
<div class="pt2">
|
||||||
<input type="submit" value="Log In" />
|
<input type="submit" value="Log In" />
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<div class="mb1">
|
<div>
|
||||||
{{ range . }}
|
{{ range . }}
|
||||||
<div class="content-block notice notice-{{ .Class }}">
|
<div class="notice notice-{{ .Class }} mb2">
|
||||||
{{ .Content }}
|
{{ .Content }}
|
||||||
</div>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
Loading…
Reference in New Issue