Browse Source

Unfuck CSS with reece

marches
Josh Gordon 4 years ago
parent
commit
ce9754ab7d
  1. 15
      app/static/marchStyle.css
  2. 2
      app/templates/marchWorld.html

15
app/static/marchStyle.css

@ -1,12 +1,21 @@
div ul {
padding-left: 20px;
text-align: left;
}
section.info {
display: flex;
flex-direction: row;
justify-content: center;
}
section.logs {
text-align: center;
}
img.map {
display: block;
width: 30%;
width: 300px;
padding: 10px;
}
@ -17,6 +26,4 @@ img.bigmap {
}
.characters {
display: flex;
flex-direction: column;
}

2
app/templates/marchWorld.html

@ -6,9 +6,11 @@
{% block content %}
<p>{{worldname}}</p>
<section class="info">
<div>
<a href="/marches/maps/{{worldname}}">
<img class="map" src="/static/{{worldname}}.png" alt="themap">
</a>
</div>
<div class="characters">
<ul>
{% for name in players %}

Loading…
Cancel
Save