From 74655cc762a07302501c7510ee36840f9e838141 Mon Sep 17 00:00:00 2001 From: Michal Kunc Date: Fri, 19 Nov 2021 12:13:24 +0100 Subject: [PATCH] Add trait CSS --- db_explorer/db_explorer/static/css/base.css | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/db_explorer/db_explorer/static/css/base.css b/db_explorer/db_explorer/static/css/base.css index 9d5d19f..1ce0c20 100644 --- a/db_explorer/db_explorer/static/css/base.css +++ b/db_explorer/db_explorer/static/css/base.css @@ -1,3 +1,6 @@ +body { + background: #efece9; +} .action-icon { height: 26px; @@ -7,4 +10,19 @@ .sourcebook { text-align: right; font-size: 0.8em; -} \ No newline at end of file +} + +ul.traits { + padding-left: 0.5em; +} + +li.trait { + display: inline; + color: #fefefe; + background-color: #5e0000; + border-color: #d8ce83; + border-style: solid; + border-width: 2px; + padding: 0 0.25em; + margin: 0 0; +}