diff --git a/assets/style.css b/assets/style.css index 19c5121..c73b84f 100644 --- a/assets/style.css +++ b/assets/style.css @@ -7,20 +7,35 @@ body { color: midnightblue; } -/*section {*/ -/* padding: 1em;*/ -/* background-color: lightblue;*/ -/*}*/ +.faces { + margin-bottom: 1em; + max-width: 500px; +} .flash { background-color: lightgreen; padding: 0.5em 1em; color: darkgreen; + animation: 500ms ease-out 3s 1 forwards fadeout; +} + +@keyframes fadeout { + 0% { + opacity: 1; + } + 99% { + opacity: 0; + font-size: inherit; + height: inherit; + } + 100% { + font-size: 0; + height: 0; + } } .cols { display: grid; - row-gap: 1em; } a { @@ -52,13 +67,9 @@ dd { margin-bottom: 1em; } -/*nav {*/ -/* margin-bottom: 1em;*/ -/*}*/ - -/*h1, h2 {*/ -/* !*margin-top: 0;*!*/ -/*}*/ +.edit-status { + width: 100%; box-sizing: border-box; height: 100px; +} .tools { list-style-position: inside; diff --git a/web/handler/common.go b/web/handler/common.go index 4681cea..60667e7 100644 --- a/web/handler/common.go +++ b/web/handler/common.go @@ -22,7 +22,7 @@ var TplCommonMap = map[string]string{