aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeddy Wing2013-04-28 10:44:13 -0400
committerTeddy Wing2013-04-28 10:44:31 -0400
commitd2d778bbeb3b119dcac41dda8d9d2509e28e3ea8 (patch)
tree541588d89e4b626eb13bc52c741b075f83612a87
parent51e8ccc4efbf9fe5b5e88c7fa587672a83e8e035 (diff)
downloadWho-am-I-d2d778bbeb3b119dcac41dda8d9d2509e28e3ea8.tar.bz2
Fix height of character images in coverflow
-rw-r--r--public/javascripts/main.js4
-rw-r--r--public/stylesheets/style.css6
-rw-r--r--views/index.ejs4
3 files changed, 8 insertions, 6 deletions
diff --git a/public/javascripts/main.js b/public/javascripts/main.js
index df3b899..b76912e 100644
--- a/public/javascripts/main.js
+++ b/public/javascripts/main.js
@@ -4,8 +4,8 @@
coverflow('character-select-container').setup({
width: '100%',
playlist: playlist,
- coverheight: 200,
- textoffset: 30
+ coverheight: 130,
+ textoffset: 68
}).on('ready', function() {
this.on('click', function() {
alert('chosen');
diff --git a/public/stylesheets/style.css b/public/stylesheets/style.css
index 61338fa..48f7bae 100644
--- a/public/stylesheets/style.css
+++ b/public/stylesheets/style.css
@@ -6,6 +6,7 @@ section.video {
padding-bottom: 56.25%;
padding-top: 25px;
height: 0;
+ z-index: 15;
}
section.video iframe {
@@ -17,6 +18,11 @@ section.video iframe {
}
+#character-select .flow {
+ position: relative;
+ top: -65px;
+}
+
#character-select .caption {
color: #000;
}
diff --git a/views/index.ejs b/views/index.ejs
index d827a0b..31d31f3 100644
--- a/views/index.ejs
+++ b/views/index.ejs
@@ -25,13 +25,9 @@
</section>
<section id="character-select">
- <div class="loadIndicator"><div class="indicator"></div></div>
-
<div class="flow" id="character-select-container">
</div>
-
- <div class="globalCaption"></div>
</section>
</div>