1
1
mirror of https://github.com/primer/css.git synced 2024-12-26 07:35:04 +03:00
css/docs/_layouts/default.html
2015-04-15 15:06:16 -07:00

86 lines
2.9 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
<meta name="keywords" content="">
<meta name="author" content="">
<title>
{{ page.title }} &middot; Primer
</title>
<link rel="stylesheet" href="{{ site.baseurl }}/docs.css">
<!-- Favicons -->
<link rel="apple-touch-icon-precomposed" href="{{ site.baseurl }}/img/apple-touch-icon-precomposed.png">
<link rel="icon" href="{{ site.baseurl }}/favicon.ico">
</head>
<body>
<header class="masthead">
<div class="container">
<a href="{{ site.baseurl }}/" class="masthead-logo">
<span class="mega-octicon octicon-package"></span>
Primer
</a>
<nav class="masthead-nav">
<a {% if page.layout == "page" %}class="active"{% endif %} href="{{ site.baseurl }}/scaffolding">Docs</a>
<a {% if page.title == "About" %}class="active"{% endif %} href="{{ site.baseurl }}/about">About</a>
<a href="{{ site.github.repo }}" target="_blank">GitHub</a>
<a href="{{ site.github.repo }}/blob/master/README.md#install" target="_blank">Install</a>
</nav>
</div>
</header>
{% if page.title == "Home" %}
<div class="jumbotron">
<div class="container">
<h1>Primer</h1>
<p>The CSS toolkit and guidelines that power GitHub.</p>
<a href="{{ site.baseurl }}/scaffolding/" class="btn btn-reverse">
Read the docs
</a>
</div>
</div>
<div class="container about-that">
<div class="columns">
<div class="one-third column">
<h2>Made at GitHub</h2>
<p>Primer is the basecoat of GitHub, made by nerds just like you who share a passion for HTML and CSS.</p>
</div>
<div class="one-third column">
<h2>Open source</h2>
<p>Available for use under the MIT license and built with open source projects like SCSS, Jekyll, Grunt, and more.</p>
</div>
<div class="one-third column">
<h2>Build tools</h2>
<p>Includes a small Gruntfile for compiling our SCSS, Autoprefixer for vendor prefixes, and Parker for CSS stats.</p>
</div>
</div>
</div>
{% endif %}
<div class="container">
{{ content }}
<footer class="footer">
Copyright GitHub {{ site.time | date: '%Y' }}.<br>
Created and maintained by the CSS team at GitHub. <strong>Currently v{{ site.version }}.</strong>
</footer>
</div>
<script src="{{ site.baseurl }}/js/anchor.min.js"></script>
<script>
var selector = '.markdown-body h2, .markdown-body h3';
addAnchors(selector);
</script>
</body>
</html>