diff --git a/public/style.css b/public/style.css index 8eaabc98..df32a896 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 e8c9a9b2..b97cebb3 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 bd91dc14..e79e9a9a 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 fb981950..2aa2cfa1 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 71abcf1f..56c5e66a 100644 --- a/src/templates/src/include/notices.html +++ b/src/templates/src/include/notices.html @@ -1,6 +1,6 @@ -
+
{{ range . }} -
+
{{ .Content }}
{{ end }}