Skip to content

Instantly share code, notes, and snippets.

@kilmc
Created January 3, 2014 13:04
Show Gist options
  • Select an option

  • Save kilmc/8237565 to your computer and use it in GitHub Desktop.

Select an option

Save kilmc/8237565 to your computer and use it in GitHub Desktop.
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>We Long To Belong</title>
<link rel="stylesheet" href="stylesheets/css/screen.css" media="all">
<script type="text/javascript" src="//use.typekit.net/slh5fdy.js"></script>
<script type="text/javascript">try{Typekit.load();}catch(e){}</script>
<!-- <script src="http://code.jquery.com/jquery-1.9.1.min.js"></script> -->
</head>
<body>
<div class="site-wrapper">
<header class="site-header">
<h1>We Long to Belong</h1>
<p class="intro-paragraph">
A once-yearly, now-quarterly publication reflecting on the global pandemic of not fitting in–this having affected mankind for centuries, maybe longer.
</p>
</header>
<section class="issues-wrap">
<h2 class="issue-year-label">2014</h2>
<ul class="issues year-3">
<li class="issue">
<p class="title">Issue 4</p>
<p class="release-date">February 9</p>
</li>
<li class="issue upcoming">
<p class="title">Issue 5</p>
<p class="release-date">May 9</p>
</li>
<li class="issue upcoming">
<p class="title">Issue 6</p>
<p class="release-date">August 9</p>
</li>
<li class="issue upcoming">
<p class="title">Issue 7</p>
<p class="release-date">November 9</p>
</li>
</ul>
<h2 class="issue-year-label">2013</h2>
<ul class="issues year-2">
<li class="issue">
<p class="title">Issue 3</p>
<p class="release-date">August 9</p>
</li>
<li class="issue">
<p class="title">Issue 2</p>
<p class="release-date">November 9</p>
</li>
</ul>
<h2 class="issue-year-label">2012</h2>
<ul class="issues year-1">
<li class="issue">
<p class="title">Issue 1</p>
<p class="release-date">August 9</p>
</li>
</ul>
</section>
<footer class="site-footer">
</footer>
</div>
</body>
</html>
@import 'helpers';
@import 'vendor/bourbon/bourbon';
@import 'vendor/neat/neat';
@import 'reset';
/* Base
================================ */
html {
font-size: 62.5%
}
body {
background: $c-bg;
color: $c-primary;
font-family: $t-fam-primary;
font-size: 1.6rem;
}
a, a:link, a:visited {
color: $c-primary;
text-decoration: none;
border-bottom: 2px solid rgba($c-primary, 0.2);
&:hover {
border-bottom: 2px solid rgba($c-primary, 0.6);
}
}
/* Text
================================ */
// Use the class "text" on any container specifically for textual content
.text {
p {
font-family: $t-fam-primary;
}
h1, h2, h3, h4, h5, h6 {
font-family: $t-fam-secondary;
}
}
/* Main Site
================================ */
.site-wrapper {
@include outer-container;
}
// Header
.site-header {
@include span-columns(9);
margin-top: $tl-body*3;
h1 {
font-size: 4.3rem;
font-weight: 600;
margin-bottom: $tl-body;
}
.intro-paragraph {
font-size: $tz-body;
line-height: $tl-body;
@include span-columns(4);
}
}
.site-logo {
font-family: $t-fam-secondary;
font-weight: normal;
margin-bottom: $t-leading;
font-style: italic;
width: 80%;
margin: 0 auto;
padding-top: 10rem;
font-size: 6rem;
a {
color: #fff;
}
}
// Footer
.site-footer {
}
/* Content Area
================================ */
.site-content {
margin: 0 auto;
padding-left: 10%;
}
.issues-wrap {
margin: 6rem auto;
font-size: 2rem;
line-height: 3rem;
// font-style: italic;
}
.section-title {
background: $c-primary;
color: #fff;
padding: 4rem 0 2rem 2rem;
font-style: italic;
font-size: 4rem;
&.small {
font-size: 2.4rem;
padding: 2.4rem 0 1.5rem 2rem;
}
}
.issues-wrap {
.title {
}
.release-date {
}
}
.issue-year-label {
@include span-columns(1 of 9);
}
.issues {
margin-bottom: $tl-body;
@include span-columns(8 of 9);
}
.issue {
@include span-columns(2 of 8);
@include omega(4n);
&.upcoming {
opacity: 0.5;
}
}
.year-1,
.year-2 {
}
.site-footer {
padding-left: 10%;
margin-bottom: 14rem;
font-size: 2rem;
p {
margin-top: 2rem;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment