diff options
Diffstat (limited to 'src/static/style.css')
-rw-r--r-- | src/static/style.css | 83 |
1 files changed, 83 insertions, 0 deletions
diff --git a/src/static/style.css b/src/static/style.css new file mode 100644 index 0000000..15821e8 --- /dev/null +++ b/src/static/style.css @@ -0,0 +1,83 @@ +html, body { + height: 100%; + margin: 0; +} + +body { + display: flex; + flex-direction: column; + box-sizing: border-box; + padding: 1em; + max-width: 800px; + margin: 0 auto; +} + +.edit-form { + display: flex; + flex-direction: column; + flex-grow: 1; +} + +textarea { + flex-grow: 1; +} + +.active { + font-weight: bold; +} + +.actions { + margin-bottom: 0.2em; +} + +.buttons { + margin-top: 0.2em; + display: flex; +} + +.buttons button { + margin-right: 0.4em; +} + +.buttons input { + flex-grow: 1; +} + +.error { + padding: 0.2em; + margin: 0.5em 0; + background-color: #f8d7da; + border: 1px solid #f5c2c7; +} + +.note { + padding: 0.2em; + margin: 0.5em 0; + background-color: #fff3cd; + border: 1px solid #ffecb5; +} + +.edit-hint { + margin: 0.5em 0; +} + +#header { + display: flex; +} + +.user-info { + margin-left: auto; +} + +label { + display: block; +} + +.img-container img { + max-width: 100%; +} + +.addition { background: #e6ffed; } +.deletion { background: #ffeef0; } +.addition ins {background: #acf2bd; text-decoration: none; } +.deletion del {background: #fdb8c0; text-decoration: none; }
\ No newline at end of file |