Add ability to display videos in item pages
This commit is contained in:
@@ -23,3 +23,4 @@ All rights reserved.
|
||||
@import 'mod_page';
|
||||
@import 'mod_selector';
|
||||
@import 'stack';
|
||||
@import 'video';
|
||||
|
||||
@@ -51,6 +51,14 @@ All rights reserved.
|
||||
.usedToMake {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.videos {
|
||||
display: none;
|
||||
|
||||
.panel {
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.view__item {
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user