diff --git a/public/style.css b/public/style.css index 8eaabc9..df32a89 100644 --- a/public/style.css +++ b/public/style.css @@ -1173,7 +1173,7 @@ img, video { .br1 { border-radius: 0.125rem; } -.br2, .hmn-code { +.br2, .hmn-code, .notice { border-radius: 0.25rem; } .br3 { @@ -4711,7 +4711,7 @@ code, .code { button, .button, input[type=button], -input[type=submit] { +input[type=submit], .notice { padding-top: 0.5rem; padding-bottom: 0.5rem; } @@ -4755,7 +4755,7 @@ input[type=submit] { button, .button, input[type=button], -input[type=submit] { +input[type=submit], .notice { padding-left: 1rem; padding-right: 1rem; } @@ -7213,7 +7213,7 @@ body { min-height: 100vh; box-sizing: border-box; font-size: 0.875rem; - line-height: 1.2em; + line-height: 1.5; font-weight: 400; } a { diff --git a/src/rawdata/scss/_core.scss b/src/rawdata/scss/_core.scss index e8c9a9b..b97cebb 100644 --- a/src/rawdata/scss/_core.scss +++ b/src/rawdata/scss/_core.scss @@ -27,7 +27,7 @@ body { min-height: 100vh; box-sizing: border-box; font-size: px2rem(14px); - line-height: 1.2em; + line-height: 1.5; font-weight: 400; } diff --git a/src/rawdata/scss/_notices.scss b/src/rawdata/scss/_notices.scss index bd91dc1..e79e9a9 100644 --- a/src/rawdata/scss/_notices.scss +++ b/src/rawdata/scss/_notices.scss @@ -1,5 +1,7 @@ .notice { @include usevar(color, notice-text-color); + @extend .ph3, .pv2; + @extend .br2; a { @include usevar(color, notice-text-color); diff --git a/src/templates/src/include/header.html b/src/templates/src/include/header.html index fb98195..2aa2cfa 100644 --- a/src/templates/src/include/header.html +++ b/src/templates/src/include/header.html @@ -10,18 +10,10 @@ Register Log in
-
- - - - - - - - - -
- Forgot your password? + + + + Forgot your password?
diff --git a/src/templates/src/include/notices.html b/src/templates/src/include/notices.html index 71abcf1..56c5e66 100644 --- a/src/templates/src/include/notices.html +++ b/src/templates/src/include/notices.html @@ -1,6 +1,6 @@ -
+
{{ range . }} -
+
{{ .Content }}
{{ end }}