/TheFlux

2015 Spring Narrative Capstone Project — The Flux

Primary LanguageHTML

The Flux

Implements BootstrapStarterKit

See it

##Included Javascript

##Features ###Images To have an enlargable image, put the image inside a link to the larger image. Add the class enlarge to the link. It's a good idea to add the class img-responsive to most images so that they fill the column width they are in and remain responsive. Using data-src for the actual image source and using the transparent.gif will allow lazyloading of content

<figure>
	<a href="photos/pumpkin_queen/pumpkin_8386.jpg" rel="enlarge" class="enlarge">
		<img src="img/transparent.gif" data-src="photos/pumpkin_queen/pumpkin_8386.jpg" class="img-responsive">
	</a>
	<figcaption class="credit">Zach Wise</figcaption>
	<figcaption>
		Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Morbi commodo, ipsum sed pharetra gravida, orci magna rhoncus neque, 
		id pulvinar odio lorem non turpis. Nullam sit amet enim. Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
	</figcaption>
</figure>

or even easier, I've added some javascript to do magic on basic figure images to have the same enlarge effect

<figure>
	<img src="img/transparent.gif" data-src="photos/pumpkin_queen/pumpkin_8386.jpg" class="img-responsive">
	<figcaption class="credit">Zach Wise</figcaption>
	<figcaption>
		Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Morbi commodo, ipsum sed pharetra gravida, orci magna rhoncus neque, 
		id pulvinar odio lorem non turpis. Nullam sit amet enim. Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
	</figcaption>
</figure>

###Story Covers

<section id="story-cover" class="story-cover">
	<div style="background-image: url('img/example.jpg');" class="story-cover-image"></div>
	<div class="story-cover-arrow"></div>
	<div class="story-cover-content">
		<h1>Awesome Story Title Goes Here</h1>
		<p class="lead">Deck or lead/lede will go here. It can be a sentence or two but shouldn't go over that</p>
		<p class="byline">by John Doe</p>
		<p class="byline">Photographs by Jane Doe</p>
	</div>
</section>
<section class="story-cover-caption">
	<div class="caption">Senior Jacqueline Martinez and her boyfriend share a bus ride on her second to last day of high school. The two are expecting their first child this November.</div>
</section>

###Video Embeds Use the following example as a way to create responsive embeds

<figure>
	<div class="embed-responsive embed-responsive-16by9">
		<iframe src="https://player.vimeo.com/video/19974325?color=b11623" width="100%" frameborder="0" webkitallowfullscreen="webkitallowfullscreen" mozallowfullscreen="mozallowfullscreen" allowfullscreen="allowfullscreen" class="embed-responsive-item"></iframe>
	</div>
	<figcaption>Reporter Corey Kilgannon, Marcus Yam and myself chased calls over a police scanner for around 16hrs straight. What we found wasn’t what we expected.</figcaption>
</figure>

or for a loopable autoplay video, use the lazy-loader css class.

<figure>
	<div class="embed-responsive embed-responsive-16by9">
		<video autoplay="autoplay" loop="loop" data-pattern="video/video_example_loopable_{{size}}.mp4" data-widths="[600, 900]" class="lazy-video embed-responsive-item"></video>
	</div>
</figure>

###Blockquotes

<blockquote>
	<p>We strongly agree that messages that have been out there have been overblown.</p>
	<cite>John Doe</cite>
</blockquote>

Or use blockquotes with color

<section class="container-fluid blockquote-color">
	<div class="row">
		<div class="col-md-12">
			<blockquote>
				<div class="col-md-2"></div>
				<div class="col-md-2">
					<img src="img/talking_head_01.jpg" data-src="img/talking_head_01.jpg" class="img-responsive img-circle ll-init ll-loaded" style="opacity: 1;">
				</div>
				<div class="col-md-6">
					<p>We strongly agree that messages that have been out there have been overblown.</p>
					<cite>John Doe</cite>
				</div>
			</blockquote>
		</div>
	</div>
</section>

###Lead Paragraphs

<p class="lead">Paragraph text with lead class. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Morbi commodo, ipsum sed pharetra gravida, orci magna rhoncus neque, id pulvinar odio lorem non turpis. Nullam sit amet enim. Suspendisse id velit vitae ligula volutpat condimentum. Aliquam erat volutpat.</p>