From db2f5b85a2d3d80c5af59f48de480692c7935b98 Mon Sep 17 00:00:00 2001 From: Correl Roush Date: Tue, 21 Sep 2010 20:17:20 -0400 Subject: [PATCH] Improved card color support --- lib/mtg | 2 +- media/mtg.css | 1 + templates/cards/view.html | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/mtg b/lib/mtg index 87c61ce..352f592 160000 --- a/lib/mtg +++ b/lib/mtg @@ -1 +1 @@ -Subproject commit 87c61cee6ab4172718dfe84b5341c757d1c3a956 +Subproject commit 352f59288d0f6937824436dccd02e55fb234df66 diff --git a/media/mtg.css b/media/mtg.css index 239e6a5..4fcc3ae 100644 --- a/media/mtg.css +++ b/media/mtg.css @@ -56,6 +56,7 @@ header { .mana.U, .card.U { background-color: blue; } .mana.B, .card.B { background-color: black; } .mana.W, .card.W { background-color: white; } +.card.gold { background-color: darkgoldenrod; } .card .title, .card .info { border: 1px solid gray; diff --git a/templates/cards/view.html b/templates/cards/view.html index b04fd96..c08f22a 100644 --- a/templates/cards/view.html +++ b/templates/cards/view.html @@ -3,7 +3,7 @@ {% block title %}Card: {{ card.name }}{% endblock %} {% block content %} -
+
{{ card.name|title }}