parent
cce2245bea
commit
16592c6938
19 changed files with 789 additions and 1 deletions
@ -0,0 +1,20 @@ |
|||||||
|
{% if page.comments != false and jekyll.environment == "production" %} |
||||||
|
|
||||||
|
<div id="disqus_thread"></div> |
||||||
|
<script> |
||||||
|
var disqus_config = function () { |
||||||
|
this.page.url = '{{ page.url | absolute_url }}'; |
||||||
|
this.page.identifier = '{{ page.url | absolute_url }}'; |
||||||
|
}; |
||||||
|
|
||||||
|
(function() { |
||||||
|
var d = document, s = d.createElement('script'); |
||||||
|
|
||||||
|
s.src = 'https://{{ site.disqus.shortname }}.disqus.com/embed.js'; |
||||||
|
|
||||||
|
s.setAttribute('data-timestamp', +new Date()); |
||||||
|
(d.head || d.body).appendChild(s); |
||||||
|
})(); |
||||||
|
</script> |
||||||
|
<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript" rel="nofollow">comments powered by Disqus.</a></noscript> |
||||||
|
{% endif %} |
@ -0,0 +1,46 @@ |
|||||||
|
<footer class="site-footer"> |
||||||
|
|
||||||
|
<div class="wrapper"> |
||||||
|
|
||||||
|
<h2 class="footer-heading">{{ site.title | escape }}</h2> |
||||||
|
|
||||||
|
<div class="footer-col-wrapper"> |
||||||
|
<div class="footer-col footer-col-1"> |
||||||
|
<ul class="contact-list"> |
||||||
|
<li> |
||||||
|
{% if site.author %} |
||||||
|
{{ site.author | escape }} |
||||||
|
{% else %} |
||||||
|
{{ site.title | escape }} |
||||||
|
{% endif %} |
||||||
|
</li> |
||||||
|
{% if site.email %} |
||||||
|
<li><a href="mailto:{{ site.email }}">{{ site.email }}</a></li> |
||||||
|
{% endif %} |
||||||
|
</ul> |
||||||
|
</div> |
||||||
|
|
||||||
|
<div class="footer-col footer-col-2"> |
||||||
|
<ul class="social-media-list"> |
||||||
|
{% if site.github_username %} |
||||||
|
<li> |
||||||
|
{% include icon-github.html username=site.github_username %} |
||||||
|
</li> |
||||||
|
{% endif %} |
||||||
|
|
||||||
|
{% if site.twitter_username %} |
||||||
|
<li> |
||||||
|
{% include icon-twitter.html username=site.twitter_username %} |
||||||
|
</li> |
||||||
|
{% endif %} |
||||||
|
</ul> |
||||||
|
</div> |
||||||
|
|
||||||
|
<div class="footer-col footer-col-3"> |
||||||
|
<p>{{ site.description | escape }}</p> |
||||||
|
</div> |
||||||
|
</div> |
||||||
|
|
||||||
|
</div> |
||||||
|
|
||||||
|
</footer> |
@ -0,0 +1,11 @@ |
|||||||
|
<script> |
||||||
|
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ |
||||||
|
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), |
||||||
|
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) |
||||||
|
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga'); |
||||||
|
|
||||||
|
ga('create', '{{ site.google_analytics }}', 'auto'); |
||||||
|
ga('send', 'pageview'); |
||||||
|
|
||||||
|
</script> |
||||||
|
|
@ -0,0 +1,16 @@ |
|||||||
|
<head> |
||||||
|
<meta charset="utf-8"> |
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=edge"> |
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1"> |
||||||
|
|
||||||
|
<title>{% if page.title %}{{ page.title | escape }}{% else %}{{ site.title | escape }}{% endif %}</title> |
||||||
|
<meta name="description" content="{{ page.excerpt | default: site.description | strip_html | normalize_whitespace | truncate: 160 | escape }}"> |
||||||
|
|
||||||
|
<link rel="stylesheet" href="{{ "/assets/main.css" | relative_url }}"> |
||||||
|
<link rel="canonical" href="{{ page.url | replace:'index.html','' | absolute_url }}"> |
||||||
|
<link rel="alternate" type="application/rss+xml" title="{{ site.title | escape }}" href="{{ "/feed.xml" | relative_url }}"> |
||||||
|
|
||||||
|
{% if jekyll.environment == 'production' and site.google_analytics %} |
||||||
|
{% include google-analytics.html %} |
||||||
|
{% endif %} |
||||||
|
</head> |
@ -0,0 +1,27 @@ |
|||||||
|
<header class="site-header" role="banner"> |
||||||
|
|
||||||
|
<div class="wrapper"> |
||||||
|
|
||||||
|
<a class="site-title" href="{{ "/" | relative_url}}">{{ site.title | escape }}</a> |
||||||
|
|
||||||
|
<nav class="site-nav"> |
||||||
|
<span class="menu-icon"> |
||||||
|
<svg viewBox="0 0 18 15" width="18px" height="15px"> |
||||||
|
<path fill="#424242" d="M18,1.484c0,0.82-0.665,1.484-1.484,1.484H1.484C0.665,2.969,0,2.304,0,1.484l0,0C0,0.665,0.665,0,1.484,0 h15.031C17.335,0,18,0.665,18,1.484L18,1.484z"/> |
||||||
|
<path fill="#424242" d="M18,7.516C18,8.335,17.335,9,16.516,9H1.484C0.665,9,0,8.335,0,7.516l0,0c0-0.82,0.665-1.484,1.484-1.484 h15.031C17.335,6.031,18,6.696,18,7.516L18,7.516z"/> |
||||||
|
<path fill="#424242" d="M18,13.516C18,14.335,17.335,15,16.516,15H1.484C0.665,15,0,14.335,0,13.516l0,0 c0-0.82,0.665-1.484,1.484-1.484h15.031C17.335,12.031,18,12.696,18,13.516L18,13.516z"/> |
||||||
|
</svg> |
||||||
|
</span> |
||||||
|
|
||||||
|
<div class="trigger"> |
||||||
|
{% for my_page in site.pages %} |
||||||
|
{% if my_page.title %} |
||||||
|
<a class="page-link" href="{{ my_page.url | relative_url }}">{{ my_page.title | escape }}</a> |
||||||
|
{% endif %} |
||||||
|
{% endfor %} |
||||||
|
</div> |
||||||
|
</nav> |
||||||
|
|
||||||
|
</div> |
||||||
|
|
||||||
|
</header> |
@ -0,0 +1 @@ |
|||||||
|
<a href="https://github.com/{{ include.username }}"><span class="icon icon--github">{% include icon-github.svg %}</span><span class="username">{{ include.username }}</span></a> |
After Width: | Height: | Size: 953 B |
@ -0,0 +1 @@ |
|||||||
|
<a href="https://twitter.com/{{ include.username }}"><span class="icon icon--twitter">{% include icon-twitter.svg %}</span><span class="username">{{ include.username }}</span></a> |
After Width: | Height: | Size: 814 B |
@ -0,0 +1,20 @@ |
|||||||
|
<!DOCTYPE html> |
||||||
|
<html lang="{{ page.lang | default: site.lang | default: "en" }}"> |
||||||
|
|
||||||
|
{% include head.html %} |
||||||
|
|
||||||
|
<body> |
||||||
|
|
||||||
|
{% include header.html %} |
||||||
|
|
||||||
|
<main class="page-content" aria-label="Content"> |
||||||
|
<div class="wrapper"> |
||||||
|
{{ content }} |
||||||
|
</div> |
||||||
|
</main> |
||||||
|
|
||||||
|
{% include footer.html %} |
||||||
|
|
||||||
|
</body> |
||||||
|
|
||||||
|
</html> |
@ -0,0 +1,25 @@ |
|||||||
|
--- |
||||||
|
layout: default |
||||||
|
--- |
||||||
|
|
||||||
|
<div class="home"> |
||||||
|
|
||||||
|
<h1 class="page-heading">Posts</h1> |
||||||
|
|
||||||
|
{{ content }} |
||||||
|
|
||||||
|
<ul class="post-list"> |
||||||
|
{% for post in site.posts %} |
||||||
|
<li> |
||||||
|
<span class="post-meta">{{ post.date | date: "%b %-d, %Y" }}</span> |
||||||
|
|
||||||
|
<h2> |
||||||
|
<a class="post-link" href="{{ post.url | relative_url }}">{{ post.title | escape }}</a> |
||||||
|
</h2> |
||||||
|
</li> |
||||||
|
{% endfor %} |
||||||
|
</ul> |
||||||
|
|
||||||
|
<p class="rss-subscribe">subscribe <a href="{{ "/feed.xml" | relative_url }}">via RSS</a></p> |
||||||
|
|
||||||
|
</div> |
@ -0,0 +1,14 @@ |
|||||||
|
--- |
||||||
|
layout: default |
||||||
|
--- |
||||||
|
<article class="post"> |
||||||
|
|
||||||
|
<header class="post-header"> |
||||||
|
<h1 class="post-title">{{ page.title | escape }}</h1> |
||||||
|
</header> |
||||||
|
|
||||||
|
<div class="post-content"> |
||||||
|
{{ content }} |
||||||
|
</div> |
||||||
|
|
||||||
|
</article> |
@ -0,0 +1,18 @@ |
|||||||
|
--- |
||||||
|
layout: default |
||||||
|
--- |
||||||
|
<article class="post" itemscope itemtype="http://schema.org/BlogPosting"> |
||||||
|
|
||||||
|
<header class="post-header"> |
||||||
|
<h1 class="post-title" itemprop="name headline">{{ page.title | escape }}</h1> |
||||||
|
<p class="post-meta"><time datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished">{{ page.date | date: "%b %-d, %Y" }}</time>{% if page.author %} • <span itemprop="author" itemscope itemtype="http://schema.org/Person"><span itemprop="name">{{ page.author }}</span></span>{% endif %}</p> |
||||||
|
</header> |
||||||
|
|
||||||
|
<div class="post-content" itemprop="articleBody"> |
||||||
|
{{ content }} |
||||||
|
</div> |
||||||
|
|
||||||
|
{% if site.disqus.shortname %} |
||||||
|
{% include disqus_comments.html %} |
||||||
|
{% endif %} |
||||||
|
</article> |
@ -0,0 +1,43 @@ |
|||||||
|
// Define defaults for each variable. |
||||||
|
|
||||||
|
$base-font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !default; |
||||||
|
$base-font-size: 16px !default; |
||||||
|
$base-font-weight: 400 !default; |
||||||
|
$small-font-size: $base-font-size * 0.875 !default; |
||||||
|
$base-line-height: 1.5 !default; |
||||||
|
|
||||||
|
$spacing-unit: 30px !default; |
||||||
|
|
||||||
|
$text-color: #111 !default; |
||||||
|
$background-color: #fdfdfd !default; |
||||||
|
$brand-color: #2a7ae2 !default; |
||||||
|
|
||||||
|
$grey-color: #828282 !default; |
||||||
|
$grey-color-light: lighten($grey-color, 40%) !default; |
||||||
|
$grey-color-dark: darken($grey-color, 25%) !default; |
||||||
|
|
||||||
|
// Width of the content area |
||||||
|
$content-width: 800px !default; |
||||||
|
|
||||||
|
$on-palm: 600px !default; |
||||||
|
$on-laptop: 800px !default; |
||||||
|
|
||||||
|
// Use media queries like this: |
||||||
|
// @include media-query($on-palm) { |
||||||
|
// .wrapper { |
||||||
|
// padding-right: $spacing-unit / 2; |
||||||
|
// padding-left: $spacing-unit / 2; |
||||||
|
// } |
||||||
|
// } |
||||||
|
@mixin media-query($device) { |
||||||
|
@media screen and (max-width: $device) { |
||||||
|
@content; |
||||||
|
} |
||||||
|
} |
||||||
|
|
||||||
|
// Import partials. |
||||||
|
@import |
||||||
|
"minima/base", |
||||||
|
"minima/layout", |
||||||
|
"minima/syntax-highlighting" |
||||||
|
; |
@ -0,0 +1,198 @@ |
|||||||
|
/** |
||||||
|
* Reset some basic elements |
||||||
|
*/ |
||||||
|
body, h1, h2, h3, h4, h5, h6, |
||||||
|
p, blockquote, pre, hr, |
||||||
|
dl, dd, ol, ul, figure { |
||||||
|
margin: 0; |
||||||
|
padding: 0; |
||||||
|
} |
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/** |
||||||
|
* Basic styling |
||||||
|
*/ |
||||||
|
body { |
||||||
|
font: $base-font-weight #{$base-font-size}/#{$base-line-height} $base-font-family; |
||||||
|
color: $text-color; |
||||||
|
background-color: $background-color; |
||||||
|
-webkit-text-size-adjust: 100%; |
||||||
|
-webkit-font-feature-settings: "kern" 1; |
||||||
|
-moz-font-feature-settings: "kern" 1; |
||||||
|
-o-font-feature-settings: "kern" 1; |
||||||
|
font-feature-settings: "kern" 1; |
||||||
|
font-kerning: normal; |
||||||
|
} |
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/** |
||||||
|
* Set `margin-bottom` to maintain vertical rhythm |
||||||
|
*/ |
||||||
|
h1, h2, h3, h4, h5, h6, |
||||||
|
p, blockquote, pre, |
||||||
|
ul, ol, dl, figure, |
||||||
|
%vertical-rhythm { |
||||||
|
margin-bottom: $spacing-unit / 2; |
||||||
|
} |
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/** |
||||||
|
* Images |
||||||
|
*/ |
||||||
|
img { |
||||||
|
max-width: 100%; |
||||||
|
vertical-align: middle; |
||||||
|
} |
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/** |
||||||
|
* Figures |
||||||
|
*/ |
||||||
|
figure > img { |
||||||
|
display: block; |
||||||
|
} |
||||||
|
|
||||||
|
figcaption { |
||||||
|
font-size: $small-font-size; |
||||||
|
} |
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/** |
||||||
|
* Lists |
||||||
|
*/ |
||||||
|
ul, ol { |
||||||
|
margin-left: $spacing-unit; |
||||||
|
} |
||||||
|
|
||||||
|
li { |
||||||
|
> ul, |
||||||
|
> ol { |
||||||
|
margin-bottom: 0; |
||||||
|
} |
||||||
|
} |
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/** |
||||||
|
* Headings |
||||||
|
*/ |
||||||
|
h1, h2, h3, h4, h5, h6 { |
||||||
|
font-weight: $base-font-weight; |
||||||
|
} |
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/** |
||||||
|
* Links |
||||||
|
*/ |
||||||
|
a { |
||||||
|
color: $brand-color; |
||||||
|
text-decoration: none; |
||||||
|
|
||||||
|
&:visited { |
||||||
|
color: darken($brand-color, 15%); |
||||||
|
} |
||||||
|
|
||||||
|
&:hover { |
||||||
|
color: $text-color; |
||||||
|
text-decoration: underline; |
||||||
|
} |
||||||
|
} |
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/** |
||||||
|
* Blockquotes |
||||||
|
*/ |
||||||
|
blockquote { |
||||||
|
color: $grey-color; |
||||||
|
border-left: 4px solid $grey-color-light; |
||||||
|
padding-left: $spacing-unit / 2; |
||||||
|
font-size: 18px; |
||||||
|
letter-spacing: -1px; |
||||||
|
font-style: italic; |
||||||
|
|
||||||
|
> :last-child { |
||||||
|
margin-bottom: 0; |
||||||
|
} |
||||||
|
} |
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/** |
||||||
|
* Code formatting |
||||||
|
*/ |
||||||
|
pre, |
||||||
|
code { |
||||||
|
font-size: 15px; |
||||||
|
border: 1px solid $grey-color-light; |
||||||
|
border-radius: 3px; |
||||||
|
background-color: #eef; |
||||||
|
} |
||||||
|
|
||||||
|
code { |
||||||
|
padding: 1px 5px; |
||||||
|
} |
||||||
|
|
||||||
|
pre { |
||||||
|
padding: 8px 12px; |
||||||
|
overflow-x: auto; |
||||||
|
|
||||||
|
> code { |
||||||
|
border: 0; |
||||||
|
padding-right: 0; |
||||||
|
padding-left: 0; |
||||||
|
} |
||||||
|
} |
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/** |
||||||
|
* Wrapper |
||||||
|
*/ |
||||||
|
.wrapper { |
||||||
|
max-width: -webkit-calc(#{$content-width} - (#{$spacing-unit} * 2)); |
||||||
|
max-width: calc(#{$content-width} - (#{$spacing-unit} * 2)); |
||||||
|
margin-right: auto; |
||||||
|
margin-left: auto; |
||||||
|
padding-right: $spacing-unit; |
||||||
|
padding-left: $spacing-unit; |
||||||
|
@extend %clearfix; |
||||||
|
|
||||||
|
@include media-query($on-laptop) { |
||||||
|
max-width: -webkit-calc(#{$content-width} - (#{$spacing-unit})); |
||||||
|
max-width: calc(#{$content-width} - (#{$spacing-unit})); |
||||||
|
padding-right: $spacing-unit / 2; |
||||||
|
padding-left: $spacing-unit / 2; |
||||||
|
} |
||||||
|
} |
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/** |
||||||
|
* Clearfix |
||||||
|
*/ |
||||||
|
%clearfix:after { |
||||||
|
content: ""; |
||||||
|
display: table; |
||||||
|
clear: both; |
||||||
|
} |
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/** |
||||||
|
* Icons |
||||||
|
*/ |
||||||
|
.icon > svg { |
||||||
|
display: inline-block; |
||||||
|
vertical-align: middle; |
||||||
|
|
||||||
|
path { |
||||||
|
fill: $grey-color; |
||||||
|
} |
||||||
|
} |
@ -0,0 +1,237 @@ |
|||||||
|
/** |
||||||
|
* Site header |
||||||
|
*/ |
||||||
|
.site-header { |
||||||
|
border-top: 5px solid $grey-color-dark; |
||||||
|
border-bottom: 1px solid $grey-color-light; |
||||||
|
min-height: 56px; |
||||||
|
|
||||||
|
// Positioning context for the mobile navigation icon |
||||||
|
position: relative; |
||||||
|
} |
||||||
|
|
||||||
|
.site-title { |
||||||
|
font-size: 26px; |
||||||
|
font-weight: 300; |
||||||
|
line-height: 56px; |
||||||
|
letter-spacing: -1px; |
||||||
|
margin-bottom: 0; |
||||||
|
float: left; |
||||||
|
|
||||||
|
&, |
||||||
|
&:visited { |
||||||
|
color: $grey-color-dark; |
||||||
|
} |
||||||
|
} |
||||||
|
|
||||||
|
.site-nav { |
||||||
|
float: right; |
||||||
|
line-height: 56px; |
||||||
|
|
||||||
|
.menu-icon { |
||||||
|
display: none; |
||||||
|
} |
||||||
|
|
||||||
|
.page-link { |
||||||
|
color: $text-color; |
||||||
|
line-height: $base-line-height; |
||||||
|
|
||||||
|
// Gaps between nav items, but not on the last one |
||||||
|
&:not(:last-child) { |
||||||
|
margin-right: 20px; |
||||||
|
} |
||||||
|
} |
||||||
|
|
||||||
|
@include media-query($on-palm) { |
||||||
|
position: absolute; |
||||||
|
top: 9px; |
||||||
|
right: $spacing-unit / 2; |
||||||
|
background-color: $background-color; |
||||||
|
border: 1px solid $grey-color-light; |
||||||
|
border-radius: 5px; |
||||||
|
text-align: right; |
||||||
|
|
||||||
|
.menu-icon { |
||||||
|
display: block; |
||||||
|
float: right; |
||||||
|
width: 36px; |
||||||
|
height: 26px; |
||||||
|
line-height: 0; |
||||||
|
padding-top: 10px; |
||||||
|
text-align: center; |
||||||
|
|
||||||
|
> svg path { |
||||||
|
fill: $grey-color-dark; |
||||||
|
} |
||||||
|
} |
||||||
|
|
||||||
|
.trigger { |
||||||
|
clear: both; |
||||||
|
display: none; |
||||||
|
} |
||||||
|
|
||||||
|
&:hover .trigger { |
||||||
|
display: block; |
||||||
|
padding-bottom: 5px; |
||||||
|
} |
||||||
|
|
||||||
|
.page-link { |
||||||
|
display: block; |
||||||
|
padding: 5px 10px; |
||||||
|
|
||||||
|
&:not(:last-child) { |
||||||
|
margin-right: 0; |
||||||
|
} |
||||||
|
margin-left: 20px; |
||||||
|
} |
||||||
|
} |
||||||
|
} |
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/** |
||||||
|
* Site footer |
||||||
|
*/ |
||||||
|
.site-footer { |
||||||
|
border-top: 1px solid $grey-color-light; |
||||||
|
padding: $spacing-unit 0; |
||||||
|
} |
||||||
|
|
||||||
|
.footer-heading { |
||||||
|
font-size: 18px; |
||||||
|
margin-bottom: $spacing-unit / 2; |
||||||
|
} |
||||||
|
|
||||||
|
.contact-list, |
||||||
|
.social-media-list { |
||||||
|
list-style: none; |
||||||
|
margin-left: 0; |
||||||
|
} |
||||||
|
|
||||||
|
.footer-col-wrapper { |
||||||
|
font-size: 15px; |
||||||
|
color: $grey-color; |
||||||
|
margin-left: -$spacing-unit / 2; |
||||||
|
@extend %clearfix; |
||||||
|
} |
||||||
|
|
||||||
|
.footer-col { |
||||||
|
float: left; |
||||||
|
margin-bottom: $spacing-unit / 2; |
||||||
|
padding-left: $spacing-unit / 2; |
||||||
|
} |
||||||
|
|
||||||
|
.footer-col-1 { |
||||||
|
width: -webkit-calc(35% - (#{$spacing-unit} / 2)); |
||||||
|
width: calc(35% - (#{$spacing-unit} / 2)); |
||||||
|
} |
||||||
|
|
||||||
|
.footer-col-2 { |
||||||
|
width: -webkit-calc(20% - (#{$spacing-unit} / 2)); |
||||||
|
width: calc(20% - (#{$spacing-unit} / 2)); |
||||||
|
} |
||||||
|
|
||||||
|
.footer-col-3 { |
||||||
|
width: -webkit-calc(45% - (#{$spacing-unit} / 2)); |
||||||
|
width: calc(45% - (#{$spacing-unit} / 2)); |
||||||
|
} |
||||||
|
|
||||||
|
@include media-query($on-laptop) { |
||||||
|
.footer-col-1, |
||||||
|
.footer-col-2 { |
||||||
|
width: -webkit-calc(50% - (#{$spacing-unit} / 2)); |
||||||
|
width: calc(50% - (#{$spacing-unit} / 2)); |
||||||
|
} |
||||||
|
|
||||||
|
.footer-col-3 { |
||||||
|
width: -webkit-calc(100% - (#{$spacing-unit} / 2)); |
||||||
|
width: calc(100% - (#{$spacing-unit} / 2)); |
||||||
|
} |
||||||
|
} |
||||||
|
|
||||||
|
@include media-query($on-palm) { |
||||||
|
.footer-col { |
||||||
|
float: none; |
||||||
|
width: -webkit-calc(100% - (#{$spacing-unit} / 2)); |
||||||
|
width: calc(100% - (#{$spacing-unit} / 2)); |
||||||
|
} |
||||||
|
} |
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/** |
||||||
|
* Page content |
||||||
|
*/ |
||||||
|
.page-content { |
||||||
|
padding: $spacing-unit 0; |
||||||
|
} |
||||||
|
|
||||||
|
.page-heading { |
||||||
|
font-size: 20px; |
||||||
|
} |
||||||
|
|
||||||
|
.post-list { |
||||||
|
margin-left: 0; |
||||||
|
list-style: none; |
||||||
|
|
||||||
|
> li { |
||||||
|
margin-bottom: $spacing-unit; |
||||||
|
} |
||||||
|
} |
||||||
|
|
||||||
|
.post-meta { |
||||||
|
font-size: $small-font-size; |
||||||
|
color: $grey-color; |
||||||
|
} |
||||||
|
|
||||||
|
.post-link { |
||||||
|
display: block; |
||||||
|
font-size: 24px; |
||||||
|
} |
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/** |
||||||
|
* Posts |
||||||
|
*/ |
||||||
|
.post-header { |
||||||
|
margin-bottom: $spacing-unit; |
||||||
|
} |
||||||
|
|
||||||
|
.post-title { |
||||||
|
font-size: 42px; |
||||||
|
letter-spacing: -1px; |
||||||
|
line-height: 1; |
||||||
|
|
||||||
|
@include media-query($on-laptop) { |
||||||
|
font-size: 36px; |
||||||
|
} |
||||||
|
} |
||||||
|
|
||||||
|
.post-content { |
||||||
|
margin-bottom: $spacing-unit; |
||||||
|
|
||||||
|
h2 { |
||||||
|
font-size: 32px; |
||||||
|
|
||||||
|
@include media-query($on-laptop) { |
||||||
|
font-size: 28px; |
||||||
|
} |
||||||
|
} |
||||||
|
|
||||||
|
h3 { |
||||||
|
font-size: 26px; |
||||||
|
|
||||||
|
@include media-query($on-laptop) { |
||||||
|
font-size: 22px; |
||||||
|
} |
||||||
|
} |
||||||
|
|
||||||
|
h4 { |
||||||
|
font-size: 20px; |
||||||
|
|
||||||
|
@include media-query($on-laptop) { |
||||||
|
font-size: 18px; |
||||||
|
} |
||||||
|
} |
||||||
|
} |
@ -0,0 +1,71 @@ |
|||||||
|
/** |
||||||
|
* Syntax highlighting styles |
||||||
|
*/ |
||||||
|
.highlight { |
||||||
|
background: #fff; |
||||||
|
@extend %vertical-rhythm; |
||||||
|
|
||||||
|
.highlighter-rouge & { |
||||||
|
background: #eef; |
||||||
|
} |
||||||
|
|
||||||
|
.c { color: #998; font-style: italic } // Comment |
||||||
|
.err { color: #a61717; background-color: #e3d2d2 } // Error |
||||||
|
.k { font-weight: bold } // Keyword |
||||||
|
.o { font-weight: bold } // Operator |
||||||
|
.cm { color: #998; font-style: italic } // Comment.Multiline |
||||||
|
.cp { color: #999; font-weight: bold } // Comment.Preproc |
||||||
|
.c1 { color: #998; font-style: italic } // Comment.Single |
||||||
|
.cs { color: #999; font-weight: bold; font-style: italic } // Comment.Special |
||||||
|
.gd { color: #000; background-color: #fdd } // Generic.Deleted |
||||||
|
.gd .x { color: #000; background-color: #faa } // Generic.Deleted.Specific |
||||||
|
.ge { font-style: italic } // Generic.Emph |
||||||
|
.gr { color: #a00 } // Generic.Error |
||||||
|
.gh { color: #999 } // Generic.Heading |
||||||
|
.gi { color: #000; background-color: #dfd } // Generic.Inserted |
||||||
|
.gi .x { color: #000; background-color: #afa } // Generic.Inserted.Specific |
||||||
|
.go { color: #888 } // Generic.Output |
||||||
|
.gp { color: #555 } // Generic.Prompt |
||||||
|
.gs { font-weight: bold } // Generic.Strong |
||||||
|
.gu { color: #aaa } // Generic.Subheading |
||||||
|
.gt { color: #a00 } // Generic.Traceback |
||||||
|
.kc { font-weight: bold } // Keyword.Constant |
||||||
|
.kd { font-weight: bold } // Keyword.Declaration |
||||||
|
.kp { font-weight: bold } // Keyword.Pseudo |
||||||
|
.kr { font-weight: bold } // Keyword.Reserved |
||||||
|
.kt { color: #458; font-weight: bold } // Keyword.Type |
||||||
|
.m { color: #099 } // Literal.Number |
||||||
|
.s { color: #d14 } // Literal.String |
||||||
|
.na { color: #008080 } // Name.Attribute |
||||||
|
.nb { color: #0086B3 } // Name.Builtin |
||||||
|
.nc { color: #458; font-weight: bold } // Name.Class |
||||||
|
.no { color: #008080 } // Name.Constant |
||||||
|
.ni { color: #800080 } // Name.Entity |
||||||
|
.ne { color: #900; font-weight: bold } // Name.Exception |
||||||
|
.nf { color: #900; font-weight: bold } // Name.Function |
||||||
|
.nn { color: #555 } // Name.Namespace |
||||||
|
.nt { color: #000080 } // Name.Tag |
||||||
|
.nv { color: #008080 } // Name.Variable |
||||||
|
.ow { font-weight: bold } // Operator.Word |
||||||
|
.w { color: #bbb } // Text.Whitespace |
||||||
|
.mf { color: #099 } // Literal.Number.Float |
||||||
|
.mh { color: #099 } // Literal.Number.Hex |
||||||
|
.mi { color: #099 } // Literal.Number.Integer |
||||||
|
.mo { color: #099 } // Literal.Number.Oct |
||||||
|
.sb { color: #d14 } // Literal.String.Backtick |
||||||
|
.sc { color: #d14 } // Literal.String.Char |
||||||
|
.sd { color: #d14 } // Literal.String.Doc |
||||||
|
.s2 { color: #d14 } // Literal.String.Double |
||||||
|
.se { color: #d14 } // Literal.String.Escape |
||||||
|
.sh { color: #d14 } // Literal.String.Heredoc |
||||||
|
.si { color: #d14 } // Literal.String.Interpol |
||||||
|
.sx { color: #d14 } // Literal.String.Other |
||||||
|
.sr { color: #009926 } // Literal.String.Regex |
||||||
|
.s1 { color: #d14 } // Literal.String.Single |
||||||
|
.ss { color: #990073 } // Literal.String.Symbol |
||||||
|
.bp { color: #999 } // Name.Builtin.Pseudo |
||||||
|
.vc { color: #008080 } // Name.Variable.Class |
||||||
|
.vg { color: #008080 } // Name.Variable.Global |
||||||
|
.vi { color: #008080 } // Name.Variable.Instance |
||||||
|
.il { color: #099 } // Literal.Number.Integer.Long |
||||||
|
} |
@ -0,0 +1,39 @@ |
|||||||
|
--- |
||||||
|
# Only the main Sass file needs front matter (the dashes are enough) |
||||||
|
--- |
||||||
|
@charset "utf-8"; |
||||||
|
|
||||||
|
// Our variables |
||||||
|
$base-font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; |
||||||
|
$base-font-size: 16px; |
||||||
|
$base-font-weight: 400; |
||||||
|
$small-font-size: $base-font-size * 0.875; |
||||||
|
$base-line-height: 1.5; |
||||||
|
|
||||||
|
$spacing-unit: 30px; |
||||||
|
|
||||||
|
$text-color: #111; |
||||||
|
$background-color: #fdfdfd; |
||||||
|
$brand-color: #2a7ae2; |
||||||
|
|
||||||
|
$grey-color: #828282; |
||||||
|
$grey-color-light: lighten($grey-color, 40%); |
||||||
|
$grey-color-dark: darken($grey-color, 25%); |
||||||
|
|
||||||
|
// Width of the content area |
||||||
|
$content-width: 800px; |
||||||
|
|
||||||
|
$on-palm: 600px; |
||||||
|
$on-laptop: 800px; |
||||||
|
|
||||||
|
// Minima also includes a mixin for defining media queries. |
||||||
|
// Use media queries like this: |
||||||
|
// @include media-query($on-palm) { |
||||||
|
// .wrapper { |
||||||
|
// padding-right: $spacing-unit / 2; |
||||||
|
// padding-left: $spacing-unit / 2; |
||||||
|
// } |
||||||
|
// } |
||||||
|
|
||||||
|
// Import partials from the `minima` theme. |
||||||
|
@import "minima"; |
Loading…
Reference in new issue