Replace scaled triangles with pairs of triangles
Scaling text in CSS is just too fiddly. So let's cheat :-).
This commit is contained in:
parent
317bebc7a8
commit
23ca037ab4
|
@ -41,7 +41,6 @@ header {
|
||||||
.up {
|
.up {
|
||||||
color: #080;
|
color: #080;
|
||||||
font-size: 2rem;
|
font-size: 2rem;
|
||||||
transform: scale(2,1);
|
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -53,7 +52,6 @@ header {
|
||||||
.down {
|
.down {
|
||||||
font-size: 2rem;
|
font-size: 2rem;
|
||||||
color: #C00;
|
color: #C00;
|
||||||
transform: scale(2,1);
|
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -14,21 +14,20 @@
|
||||||
<div class="nav top"><a href="{% url 'top' %}">▤</a></div>
|
<div class="nav top"><a href="{% url 'top' %}">▤</a></div>
|
||||||
</header>
|
</header>
|
||||||
<div class="imgviewer left" id="view-left">
|
<div class="imgviewer left" id="view-left">
|
||||||
<div class="up"><a href="{% url 'left-wins' %}">▲</a></div>
|
<div class="up"><a href="{% url 'left-wins' %}">◢◣</a></div>
|
||||||
<div class="pic">
|
<div class="pic">
|
||||||
<img src="/media/{{left.url}}"><br>{{left.elo | floatformat:"1"}}
|
<img src="/media/{{left.url}}"><br>{{left.elo | floatformat:"1"}}
|
||||||
</div>
|
</div>
|
||||||
<div class="down"><a href="{% url 'right-wins' %}">▼</a></div>
|
<div class="down"><a href="{% url 'right-wins' %}">◥◤</a></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="imgviewer right" id="view-right">
|
<div class="imgviewer right" id="view-right">
|
||||||
<div class="up"><a href="{% url 'right-wins' %}">▲</a></div>
|
<div class="up"><a href="{% url 'right-wins' %}">◢◣</a></div>
|
||||||
<div class="pic">
|
<div class="pic">
|
||||||
<img src="/media/{{right.url}}"><br>{{right.elo | floatformat:"1"}}
|
<img src="/media/{{right.url}}"><br>{{right.elo | floatformat:"1"}}
|
||||||
</div>
|
</div>
|
||||||
<div class="down"><a href="{% url 'left-wins' %}">▼</a></div>
|
<div class="down"><a href="{% url 'left-wins' %}">◥◤</a></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
Loading…
Reference in New Issue