Tightened up the layout in some extras templates.

master
Pacman Ghost 4 years ago
parent 403938e191
commit a8e1c07d57
  1. 2
      vasl_templates/webapp/data/default-template-pack/extras/blank-space.j2
  2. 2
      vasl_templates/webapp/data/default-template-pack/extras/count-remaining.j2
  3. 9
      vasl_templates/webapp/data/default-template-pack/extras/grid.j2
  4. 6
      vasl_templates/webapp/data/default-template-pack/extras/turn-track-shading.j2

@ -9,7 +9,7 @@
<table>
<tr>
<td style="width:{{WIDTH:60px/5|Width}};height:{{HEIGHT:60px/5|Height}};background:white;"> &nbsp;
<td style="width:{{WIDTH:60px/4|Width}};height:{{HEIGHT:60px/4|Height}};background:white;"> &nbsp;
</table>
</html>

@ -26,4 +26,4 @@
<!-- vasl-templates:comment We don't include common.css because it's not necessary, and we want to keep the generated snippet short. -->
{# NOTE: We specify the font size in pixels, rather than as a percentage, since this label should be added to a counter. #}
<div style="font-size:12px;font-weight:bold;"> {{COUNT:/3|Number}}
<div style="font-size:12px;font-weight:bold;"> {{COUNT:/2|Number}}

@ -3,15 +3,16 @@
<!-- vasl-templates:name Grid -->
<!-- vasl-templates:description Generates a grid. -->
<!-- #cols = {{COLS:3/2|# columns}} ; #rows = {{ROWS:2/2|# rows}} -->
<!-- border: {{BORDER_STYLE:solid::dotted::dashed::double::groove::ridge::inset::outset|Border style}} ; {{PLAYER_COLOR2_DROPLIST_EX:|Border color}} -->
<!-- #rows = {{ROWS:2/1|# rows}} ; #cols = {{COLS:3/1|# columns}} -->
<!-- cell size = {{CELL_WIDTH:160px/5|Cell width}} x {{CELL_HEIGHT:60px/5|Cell height}} -->
<!-- border = {{BORDER_STYLE:solid::dotted::dashed::double::groove::ridge::inset::outset|Border style}} ; color = {{PLAYER_COLOR2_DROPLIST_EX:|Border color}} -->
<head>
<style>
{{CSS:common}}
td {
width: {{WIDTH:160px/5|Cell width}} ;
height: {{HEIGHT:60px/5|Cell height}} ;
width: {{CELL_WIDTH}} ;
height: {{CELL_HEIGHT}} ;
border: 1px {{BORDER_STYLE}} {{PLAYER_COLOR2_DROPLIST}} ;
}
</style>

@ -9,9 +9,9 @@
<table> <tr>
<td style="
width: {{WIDTH:45px/6|Width}} ;
height: {{HEIGHT:45px/6|Height}} ;
background: {{COLOR:#f0f0f0/6|Color}} ;
width: {{WIDTH:45px/4|Width}} ;
height: {{HEIGHT:45px/4|Height}} ;
background: {{COLOR:#f0f0f0/8|Color}} ;
">
</table>

Loading…
Cancel
Save