From 9e5dea8f579fb83d2fe888bd98478eba3e26335d Mon Sep 17 00:00:00 2001 From: projectmoon Date: Sat, 23 Jan 2021 14:38:36 +0000 Subject: [PATCH] Make basic info look better. --- .../characters/edit_character.html.tera | 75 +++++++++++++++---- 1 file changed, 59 insertions(+), 16 deletions(-) diff --git a/src/frontend/templates/characters/edit_character.html.tera b/src/frontend/templates/characters/edit_character.html.tera index 0a18bed..58125e6 100644 --- a/src/frontend/templates/characters/edit_character.html.tera +++ b/src/frontend/templates/characters/edit_character.html.tera @@ -7,6 +7,39 @@ font-family: Liberation Sans, Arial; } + #basicsBox { + display: flex; + flex-flow: row wrap; + } + + .basics-row { + display: block; + } + + .basics-entry { + display: flex; + border: 1px solid gray; + margin-left: -1px; + margin-top: -1px; + } + + .basics-entry label { + display: inline; + width: 5em; + text-align: right; + vertical-align: text-bottom; + padding: 8px; + margin: 0; + } + + .basics-entry input { + display: inline; + padding: 8px; + border: none; + background-color: lightgray; + margin: 0; + } + #attributes { padding: 4px; border-collapse: collapse; @@ -144,33 +177,42 @@

- +

+ +

Basics

System: {{data_type}}
-
- - -
+
+
+
+ + +
-
- - -
+
+ + +
+
-
- - -
+
+
+ + +
-
- - +
+ + +
+
+

Attributes

{{ macros::attribute(name="Intelligence", value=sheet.intelligence) }} {{ macros::attribute(name="Wits", value=sheet.wits) }} @@ -191,6 +233,7 @@
+

Skills

{% for skill_name, skill in sheet.mentalSkills %} {{ macros::skill(name=skill_name, value=skill.dots) }}