Commit compiled CSS/JS
This commit is contained in:
parent
bebd944698
commit
9836ea11a6
2 changed files with 9 additions and 2 deletions
|
@ -29,3 +29,10 @@
|
||||||
.subtitle:not(:last-child),
|
.subtitle:not(:last-child),
|
||||||
.title:not(:last-child) {
|
.title:not(:last-child) {
|
||||||
margin-bottom: 0.5em; }
|
margin-bottom: 0.5em; }
|
||||||
|
|
||||||
|
.tag.hidden {
|
||||||
|
display: none; }
|
||||||
|
|
||||||
|
.comment-indicator {
|
||||||
|
position: absolute;
|
||||||
|
left: -4rem; }
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
// Find and save the aspect ratio for all iframes
|
// Find and save the aspect ratio for all iframes
|
||||||
$iframes.each(function () {
|
$iframes.each(function () {
|
||||||
$( this ).data( "ratio", this.height / this.width )
|
$( this ).data( "ratio", this.height / this.width )
|
||||||
// Remove the hardcoded width & height attributes
|
// Remove the hardcoded width and height attributes
|
||||||
.removeAttr( "width" )
|
.removeAttr( "width" )
|
||||||
.removeAttr( "height" );
|
.removeAttr( "height" );
|
||||||
});
|
});
|
||||||
|
@ -21,7 +21,7 @@
|
||||||
// Resize the iframes when the window is resized
|
// Resize the iframes when the window is resized
|
||||||
$( window ).resize( function () {
|
$( window ).resize( function () {
|
||||||
$iframes.each( function() {
|
$iframes.each( function() {
|
||||||
// Get the parent container's width
|
// Get the parent container's width
|
||||||
var width = $( this ).parent().width();
|
var width = $( this ).parent().width();
|
||||||
$( this ).width( width )
|
$( this ).width( width )
|
||||||
.height( width * $( this ).data( "ratio" ) );
|
.height( width * $( this ).data( "ratio" ) );
|
||||||
|
|
Loading…
Add table
Reference in a new issue