From 1d7cfc6ceb63fbe8cc39f7e8002f7368863bca06 Mon Sep 17 00:00:00 2001
From: Daniel
Date: Wed, 16 Apr 2014 15:28:09 +0200
Subject: [PATCH] boss fight design
---
questtypes/bossfight/html/quest.tpl | 64 +++++++++----------
questtypes/bossfight/html/submission.tpl | 79 +++++++++++-------------
www/css/desktop.css | 10 +++
3 files changed, 75 insertions(+), 78 deletions(-)
diff --git a/questtypes/bossfight/html/quest.tpl b/questtypes/bossfight/html/quest.tpl
index ba427577..d28a153e 100644
--- a/questtypes/bossfight/html/quest.tpl
+++ b/questtypes/bossfight/html/quest.tpl
@@ -1,39 +1,31 @@
-
-
-
-
-
- |
-
-
-
-
- |
-
-
- |
- =$character['name']?>:
- 0) : ?>
-
- ♥
-
-
- =_('lost')?>
-
- |
-
- =$fight['bossname']?>:
- 0) : ?>
-
- ♥
-
-
- =_('lost')?>
-
- |
-
-
-
+
+
+ =$character['name']?>
+ )?>)
+
+ 0) : ?>
+
+
+
+
+ =_('lost')?>
+
+
+
+
+ =$fight['bossname']?>
+ )?>)
+
+ 0) : ?>
+
+
+
+
+ =_('lost')?>
+
+
+
+
=\hhu\z\Utils::t($stage['text'])?>
diff --git a/questtypes/bossfight/html/submission.tpl b/questtypes/bossfight/html/submission.tpl
index 33cf172f..6861e0ea 100644
--- a/questtypes/bossfight/html/submission.tpl
+++ b/questtypes/bossfight/html/submission.tpl
@@ -1,43 +1,38 @@
-
-
-
-
-
- |
-
-
-
-
- |
-
-
-
- |
- =$stage['question']?>
- |
-
-
- |
- =$character['name']?>:
- 0) : ?>
-
- ♥
-
-
- =_('lost')?>
-
- |
-
- =$fight['bossname']?>:
- 0) : ?>
-
- ♥
-
-
- =_('lost')?>
-
- |
-
+
+
+ )?>)
+
+
+ )?>)
+
+
+
+
+=$stage['question']?>
+
+
+ =$character['name']?>
+
+ 0) : ?>
+
+
-
-
+
+ =_('lost')?>
+
+
+
+
+ =$fight['bossname']?>
+
+ 0) : ?>
+
+
+
+
+ =_('lost')?>
+
+
+
+
+
diff --git a/www/css/desktop.css b/www/css/desktop.css
index b9dabe4a..ed0f25b3 100644
--- a/www/css/desktop.css
+++ b/www/css/desktop.css
@@ -182,6 +182,14 @@ input[type="submit"][disabled]{text-shadow:1px 2px #d48c4e;background:#f9ac69;bo
.crossword li{margin-top:20px}
.crossword .index{position:absolute;font-size:0.625em;margin:-2px 0 0 2px}
+.opponent{width:50%;float:left}
+.opponent .portrait{height:250px;overflow:hidden;margin-bottom:15px}
+.opponent .hero{background:#fff;max-width:130px}
+.opponent .boss{max-width:100%}
+.opponent p{text-align:center}
+.opponent .fa{font-size:1.25em;color:#c7135b;padding-right:0}
+
+
/** Media Queries **/
@media only screen and (min-width:480px){
@@ -198,6 +206,8 @@ input[type="submit"][disabled]{text-shadow:1px 2px #d48c4e;background:#f9ac69;bo
.gdata ul{clear:both}
.gchars li{width:32%;margin-right:5px}
.gchars li:nth-child(even){float:left}
+
+.opponent .hero{max-width:200px}
}
@media only screen and (min-width:768px){