Add ability to display videos in item pages

This commit is contained in:
Andrew Miner
2015-03-12 21:54:06 -07:00
parent fa916117b6
commit 9ac8593ba3
8 changed files with 129 additions and 6 deletions
+1
View File
@@ -23,3 +23,4 @@ All rights reserved.
@import 'mod_page';
@import 'mod_selector';
@import 'stack';
@import 'video';
+8
View File
@@ -51,6 +51,14 @@ All rights reserved.
.usedToMake {
display: none;
}
.videos {
display: none;
.panel {
text-align: center;
}
}
}
.view__item {
+32
View File
@@ -0,0 +1,32 @@
/*
Crafting Guide - video.scss
Copyright (C) 2015 by Redwood Labs
All rights reserved.
*/
.view__video {
position: relative;
display: inline-block;
margin-left: 1em;
vertical-align: top;
&:first-child {
margin-left: 0;
}
iframe {
display: block;
}
.caption {
position: relative; width: 100%;
display: block;
p {
margin-top: 0.5em;
font-weight: bold;
text-align: center;
}
}
}