Permalink
Browse files

Adding support for Audio & Video.

  • Loading branch information...
1 parent 3a0ad4c commit 84d3fa1f58005cb4fe6908328be3f1d3b9a06825 Dan committed Aug 17, 2010
Showing with 42 additions and 3 deletions.
  1. +42 −3 theme.html
View
@@ -205,12 +205,22 @@
background-color: #EE874C;
background-color: rgba(204, 74, 27, 0.8);
}
-
+
.quote_label {
background-color: #8A4C87;
background-color: rgba(63, 13, 65, 0.8);
}
-
+
+ .video_label {
+ background-color: #79A07E;
+ background-color: rgba(121, 160, 126, 0.8);
+ }
+
+ .audio_label {
+ background-color: #B1FAA5;
+ background-color: rgba(172, 255, 178, 0.8);
+ }
+
div.post {
margin-bottom: 3em;
border-bottom: 1px solid {color:Separator};
@@ -310,7 +320,7 @@
text-decoration: none;
}
- div.photo_wrapper {
+ div.photo_wrapper, div.audio_wrapper {
margin-bottom: 1.75em;
}
@@ -367,6 +377,7 @@ <h2 class="description">{Description}</h2>
{LinkOpenTag}<img src="{PhotoURL-500}" class="media" alt="{PhotoAlt}" />{LinkCloseTag}
{block:HighRes}<a href="{PhotoURL-HighRes}" target="_blank"></a>{/block:HighRes}
</div>
+
{block:Caption}
<div class="caption">
{Caption}
@@ -420,6 +431,34 @@ <h3 class="quote">&#8220;{Quote}&#8221;</h3>
{/block:Source}
{/block:Quote}
+ {block:Video}
+ <div class="label video_label">Video</div>
+
+ <div class="video_wrapper">
+ {Video-500}
+ </div>
+
+ {block:Caption}
+ <div class="caption">
+ {Caption}
+ </div>
+ {/block:Caption}
+ {/block:Video}
+
+ {block:Audio}
+ <div class="label audio_label">Audio</div>
+
+ <div class="audio_wrapper">
+ {AudioPlayerGrey}
+ </div>
+
+ {block:Caption}
+ <div class="caption">
+ {Caption}
+ </div>
+ {/block:Caption}
+ {/block:Audio}
+
{block:PermalinkPage}
<section id="notes">
{PostNotes}

0 comments on commit 84d3fa1

Please sign in to comment.