Skip to content

Instantly share code, notes, and snippets.

@angvishvish
Last active August 29, 2015 14:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save angvishvish/9ff1448f61359f2f316e to your computer and use it in GitHub Desktop.
Save angvishvish/9ff1448f61359f2f316e to your computer and use it in GitHub Desktop.
Foundation off canvas
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Foundation</title>
<link rel="stylesheet" href="foundation.css">
<script src="jquery-1.11.1.min.js"></script>
<script src="foundation.min.js"></script>
</head>
<body>
<div class="off-canvas-wrap docs-wrap" data-offcanvas="">
<div class="inner-wrap">
<nav class="tab-bar">
<section class="left-small">
<a class="left-off-canvas-toggle menu-icon"><span></span></a>
</section>
<section class="right tab-bar-section">
<h1 class="title">Foundation</h1>
</section>
</nav>
<aside class="left-off-canvas-menu">
<ul class="off-canvas-list">
<li><label>Foundation</label></li>
<li><a href="#">The Psychohistorians</a></li>
<li><a href="#">The Encyclopedists</a></li>
<li><a href="#">The Mayors</a></li>
<li><a href="#">The Traders</a></li>
<li><a href="#">The Merchant Princes</a></li>
<li><label>Foundation and Empire</label></li>
<li><a href="#">The General</a></li>
<li><a href="#">The Mule</a></li>
<li><label>Second Foundation</label></li>
<li><a href="#">Search by the Mule</a></li>
<li><a href="#">Search by the Foundation</a></li>
</ul>
</aside>
<section class="main-section">
<div class="row">
<div class="large-12 columns">
<br>
<h4>The Psychohistorians</h4>
<p>Set in the year 0 F.E. ("Foundation Era"), The Psychohistorians opens on Trantor, the capital of the 12,000-year-old Galactic Empire. Though the empire appears stable and powerful, it is slowly decaying in ways that parallel the decline of the Western Roman Empire. Hari Seldon, a mathematician and psychologist, has developed psychohistory, a new field of science and psychology that equates all possibilities in large societies to mathematics, allowing for the prediction of future events.</p>
<p>Using psychohistory, Seldon has discovered the declining nature of the Empire, angering the aristocratic members of the Committee of Public Safety, the de facto rulers of the Empire. The Committee considers Seldon's views and statements treasonous, and he is arrested along with young mathematician Gaal Dornick, who has arrived on Trantor to meet Seldon. Seldon is tried by the Committee and defends his beliefs, explaining his theories and predictions, including his belief that the Empire will collapse in 500 years and enter a 30,000-year dark age, to the Committee's members. </p>
</div>
</div>
</section>
<a class="exit-off-canvas"></a>
</div>
</div>
<script>
$(document).foundation();
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment