Skip to content

Instantly share code, notes, and snippets.

@calvinmorett
Created June 29, 2015 02:29
Show Gist options
  • Save calvinmorett/84fd7ed7a231eb504af4 to your computer and use it in GitHub Desktop.
Save calvinmorett/84fd7ed7a231eb504af4 to your computer and use it in GitHub Desktop.
Showcase 1 Gallery
<body>
<div id="nav_wrapper"><div class="feed_brand">
<span8>TEMPO</span8> There is an element to design, it's rhythm.
<div class="feed_nav">
<i class="fa fa-facebook"></i>
<i class="fa fa-twitter"></i>
<i class="fa fa-google-plus"></i>
<i class="fa fa-instagram"></i></div>
</div></div>
<div id="content_container">
<div class="entry"><div class="project_title"><a href="http://imgur.com/DHENatd">Project title in uppercase</a>
</div>
<img src="http://i.imgur.com/DHENatd.jpg" width="905" height="603" width_o="950" height_o="633">
<div class="project_caption">Kif might! Morbo can't understand his teleprompter because he forgot how you say that letter that's shaped like a man wearing a hat. Bender, this is Fry's decision… and he made it wrong. So it's time for us to interfere in his life. I daresay that Fry has discovered the smelliest object in the known universe! No! Don't jump! This is the worst kind of discrimination: the kind against me!
</div>
</div>
<div id="content_container">
<div class="entry"><div class="project_title"><a href="http://imgur.com/DHENatd">Project title in uppercase</a>
</div>
<img src="http://i.imgur.com/DHENatd.jpg" width="905" height="603" width_o="950" height_o="633">
<div class="project_caption">Kif might! Morbo can't understand his teleprompter because he forgot how you say that letter that's shaped like a man wearing a hat. Bender, this is Fry's decision… and he made it wrong. So it's time for us to interfere in his life. I daresay that Fry has discovered the smelliest object in the known universe! No! Don't jump! This is the worst kind of discrimination: the kind against me!
</div>
</div>
<div id="content_container">
<div class="entry"><div class="project_title"><a href="http://imgur.com/DHENatd">Project title in uppercase</a>
</div>
<img src="http://i.imgur.com/DHENatd.jpg" width="905" height="603" width_o="950" height_o="633">
<div class="project_caption">Kif might! Morbo can't understand his teleprompter because he forgot how you say that letter that's shaped like a man wearing a hat. Bender, this is Fry's decision… and he made it wrong. So it's time for us to interfere in his life. I daresay that Fry has discovered the smelliest object in the known universe! No! Don't jump! This is the worst kind of discrimination: the kind against me!
</div>
</div>
<div id="content_container">
<div class="entry"><div class="project_title"><a href="http://imgur.com/DHENatd">Project title in uppercase</a>
</div>
<img src="http://i.imgur.com/DHENatd.jpg" width="905" height="603" width_o="950" height_o="633">
<div class="project_caption">Kif might! Morbo can't understand his teleprompter because he forgot how you say that letter that's shaped like a man wearing a hat. Bender, this is Fry's decision… and he made it wrong. So it's time for us to interfere in his life. I daresay that Fry has discovered the smelliest object in the known universe! No! Don't jump! This is the worst kind of discrimination: the kind against me!
</div>
</div>
<a href="#" class="back-to-top" style="display: inline;">
<i class="fa fa-angle-up"></i>
</a>
<link href='http://fonts.googleapis.com/css?family=Yantramanav:400,900,700,500,300,100' rel='stylesheet' type='text/css'>
<link href='http://fonts.googleapis.com/css?family=Lora:400,700,400italic,700italic' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css">
</body>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
jQuery(document).ready(function() {
var offset = 250;
var duration = 300;
jQuery(window).scroll(function() {
if (jQuery(this).scrollTop() > offset) {
jQuery('.back-to-top').fadeIn(duration);
} else {
jQuery('.back-to-top').fadeOut(duration);
}
});
jQuery('.back-to-top').click(function(event) {
event.preventDefault();
jQuery('html, body').animate({scrollTop: 0}, duration);
return false;
})
});
/* #D4D5D1 = rgba(169,171,163,.5) */
body {
background: rgba(169,171,163,.5);
color: #000000;
font-family: 'Lora', serif;
font-size: 11px;
line-height: 1.5;
padding: 50px 0 0 0;
}
#nav_wrapper {
font-weight:400;
font-size:7em;
background:#D4D5D1;
height: 50px;
position: fixed;
left: 0;
right: 0;
top: 40px;
z-index: 1000;
}
#nav_wrapper span4 {
font-weight:400;
}
#nav_wrapper span7 {
font-weight:700;
}
#nav_wrapper span8 {
font-weight:800;
}
.feed_brand {
border-bottom: 1px solid rgba(0,0,0,.25);
font-family: 'Yantramanav', sans-serif;
text-transform: uppercase;
font-size: 10px;
letter-spacing: 3px;
height: 50px;
line-height: 50px;
margin: 0 auto 0 auto;
padding: 0 35px 0 35px;
position: relative;
width: 905px;
z-index: 999;
}
.feed_nav {
float:right;
font-family: 'Yantramanav', sans-serif;
text-transform: uppercase;
font-size: 10px;
height: 50px;
line-height: 50px;
margin: 0 auto 0 auto;
position: relative;
z-index: 999;
}
.feed_nav i{
text-align:center;
padding:10px;
opacity: 0.4;
transition: all 0.2s linear;
font-size: 10px;
}
.feed_nav i:hover{
opacity: 1;
}
#content_container {
text-align: center;
clear: both;
margin: 0 auto 0 auto;
position: relative;
width: 980px;
z-index: 999;
}
.entry {
background: transparent;
border-bottom: 0px solid #cccccc;
clear: both;
padding: 0 35px 55px 35px;
margin: 0 0px 0px 0;
width: 905px;
}
.project_title {
text-align:left;
font-size: 12px;
font-weight: bold;
letter-spacing: 1px;
line-height: 50px;
padding: 40px 0 20px 0;
text-rendering: optimizeLegibility;
text-transform: uppercase;
width: 905px;
text-decoration:none;
}
.project_title a {
background: none;
color: #000000;
text-decoration: none;
}
.project_caption {
border-bottom:1px solid rgba(0,0,0,.2);
text-align:left;
margin: 0 auto;
padding:20px;
}
.back-to-top {
background: none;
margin: 10px;
position: fixed;
bottom: 0;
right: 0;
width: 70px;
height: 70px;
z-index: 100;
display: none;
text-decoration: none;
color: rgba(0,0,0,.2);
}
.back-to-top i {
font-size: 60px;
transition: color 0.2s linear;
}
.back-to-top i:hover {
color: rgba(0,0,0,1);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment