chiark / gitweb /
Try some css magic
authorSenji <senji@ysolde.ucam.org>
Sat, 22 Aug 2015 19:55:22 +0000 (20:55 +0100)
committerSenji <senji@ysolde.ucam.org>
Sat, 22 Aug 2015 19:55:22 +0000 (20:55 +0100)
local.css
templates/stats.mdwn

index b702d4bb70ca209e64c7ade19f39705e3eaa2b92..cce58ff7ac5a08fa9674b564ea2f66972020975b 100644 (file)
--- a/local.css
+++ b/local.css
@@ -26,3 +26,7 @@ th:first-child {border-left: 0px}
 th:last-child {border-right: 0px}
 
 .header {margin-bottom:8px}
+
+div.doublelist li {width: 50%;
+                   float: left;
+                   display: inline;}
\ No newline at end of file
index ec677f0d64fe5cbf64f713e2cfbd90fd381b3da1..12b371163c8bf95ae1387fa92e635bbc162b3c2a 100644 (file)
@@ -1,4 +1,5 @@
 <TMPL_IF int>
+<div class="doublelist">
 ## Stats
 * Intellect: <TMPL_VAR int>
 * Perception: <TMPL_VAR per>
@@ -8,6 +9,7 @@
 * Communication: <TMPL_VAR com>
 * Dexterity: <TMPL_VAR dex>
 * Quickness: <TMPL_VAR qik>
+</div>
 <TMPL_ELSE>
 This template is used to create an statbox for a character.  It uses
 these parameters: