Compare commits

..

No commits in common. "a87b7ee37e8d548d28ee95d4df361768b820f352" and "c30dfbc19b3a39778b52de8b28692502ea8ddd1a" have entirely different histories.

13 changed files with 146 additions and 113 deletions

View File

@ -1,28 +0,0 @@
# Welcome to Jekyll!
#
# This config file is meant for settings that affect your whole blog, values
# which you are expected to set up once and rarely edit after that. If you find
# yourself editing this file very often, consider using Jekyll's data files
# feature for the data you need to update frequently.
#
# For technical reasons, this file is *NOT* reloaded automatically when you use
# 'bundle exec jekyll serve'. If you change this file, please restart the server process.
# Site settings
# These are used to personalize your new site. If you look in the HTML files,
# you will see them accessed via {{ site.title }}, {{ site.email }}, and so on.
# You can create any custom variable you would like, and they will be accessible
# in the templates via {{ site.myvariable }}.
title: The 90s called
email: "root@hacktheplanet.be"
author: shmitty
description: > # this means to ignore newlines until "baseurl:"
The 90s called: a Jekyll theme.
baseurl: "" # the subpath of your site, e.g. /blog
url: "https://hacktheplanet.be" # the base hostname & protocol for your site, e.g. http://example.com
# Build settings
markdown: kramdown
theme: the-90s-called
exclude:
- Gemfile

View File

@ -1,23 +1,46 @@
<footer class="site-footer"> <footer class="site-footer">
<div class="wrapper"> <div class="wrapper">
<h2 class="footer-heading">{{ site.title | escape }}</h2> <h2 class="footer-heading">{{ site.title | escape }}</h2>
<p><em>{{ site.description | escape }}</em></p>
<div class="footer-col-wrapper"> <div class="footer-col-wrapper">
<div class="footer-col footer-col-1"> <div class="footer-col footer-col-1">
<ul class="contact-list">
<li>
{% if site.author %} {% if site.author %}
<br>{{ site.author | escape }} {{ site.author | escape }}
{% else %}
{{ site.title | escape }}
{% endif %} {% endif %}
</li>
{% if site.email %} {% if site.email %}
| <a href="mailto:{{ site.email }}">{{ site.email }}</a> <li><a href="mailto:{{ site.email }}">{{ site.email }}</a></li>
{% endif %} {% endif %}
</ul>
</div> </div>
<div class="footer-col footer-col-2"> <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>
<div class="footer-col footer-col-3"> <div class="footer-col footer-col-3">
<p style="text-align: right;">Last updated {{ site.time | date_to_long_string }}</p> <p>{{ site.description | escape }}</p>
</div> </div>
</div> </div>
</div> </div>
</footer> </footer>

View File

@ -2,19 +2,11 @@
<meta charset="utf-8"> <meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<title>
{% if site.title %} <title>{% if page.title %}{{ page.title | escape }}{% else %}{{ site.title | escape }}{% endif %}</title>
{{ site.title | escape }}
{% endif %}
{% if page.title %}
{% if site.title %}
&ndash;
{% endif %}
{{ page.title | escape }}
{% endif %}
</title>
<meta name="description" content="{{ page.excerpt | default: site.description | strip_html | normalize_whitespace | truncate: 160 | escape }}"> <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="stylesheet" href="{{ "/assets/main.css" | relative_url }}">
<link rel="canonical" href="{{ page.url | replace:'index.html','' | absolute_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 }}"> <link rel="alternate" type="application/rss+xml" title="{{ site.title | escape }}" href="{{ "/feed.xml" | relative_url }}">
</head> </head>

View File

@ -1,6 +1,9 @@
<header class="site-header" role="banner"> <header class="site-header" role="banner">
<div class="wrapper"> <div class="wrapper">
<a class="site-title" href="{{ "/" | relative_url}}">{{ site.title | escape }}</a> <a class="site-title" href="{{ "/" | relative_url}}">{{ site.title | escape }}</a>
<nav class="site-nav"> <nav class="site-nav">
<span class="menu-icon"> <span class="menu-icon">
<svg viewBox="0 0 18 15" width="18px" height="15px"> <svg viewBox="0 0 18 15" width="18px" height="15px">
@ -9,6 +12,7 @@
<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"/> <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> </svg>
</span> </span>
<div class="trigger"> <div class="trigger">
{% for my_page in site.pages %} {% for my_page in site.pages %}
{% if my_page.title %} {% if my_page.title %}
@ -17,5 +21,7 @@
{% endfor %} {% endfor %}
</div> </div>
</nav> </nav>
</div> </div>
</header> </header>

View File

@ -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>

View File

@ -0,0 +1 @@
<svg viewBox="0 0 16 16" width="16px" height="16px"><path fill="#828282" d="M7.999,0.431c-4.285,0-7.76,3.474-7.76,7.761 c0,3.428,2.223,6.337,5.307,7.363c0.388,0.071,0.53-0.168,0.53-0.374c0-0.184-0.007-0.672-0.01-1.32 c-2.159,0.469-2.614-1.04-2.614-1.04c-0.353-0.896-0.862-1.135-0.862-1.135c-0.705-0.481,0.053-0.472,0.053-0.472 c0.779,0.055,1.189,0.8,1.189,0.8c0.692,1.186,1.816,0.843,2.258,0.645c0.071-0.502,0.271-0.843,0.493-1.037 C4.86,11.425,3.049,10.76,3.049,7.786c0-0.847,0.302-1.54,0.799-2.082C3.768,5.507,3.501,4.718,3.924,3.65 c0,0,0.652-0.209,2.134,0.796C6.677,4.273,7.34,4.187,8,4.184c0.659,0.003,1.323,0.089,1.943,0.261 c1.482-1.004,2.132-0.796,2.132-0.796c0.423,1.068,0.157,1.857,0.077,2.054c0.497,0.542,0.798,1.235,0.798,2.082 c0,2.981-1.814,3.637-3.543,3.829c0.279,0.24,0.527,0.713,0.527,1.437c0,1.037-0.01,1.874-0.01,2.129 c0,0.208,0.14,0.449,0.534,0.373c3.081-1.028,5.302-3.935,5.302-7.362C15.76,3.906,12.285,0.431,7.999,0.431z"/></svg>

After

Width:  |  Height:  |  Size: 953 B

View File

@ -1,13 +1,20 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="{{ page.lang | default: site.lang | default: "en" }}"> <html lang="{{ page.lang | default: site.lang | default: "en" }}">
{% include head.html %} {% include head.html %}
<body> <body>
{% include header.html %} {% include header.html %}
<main class="page-content" aria-label="Content"> <main class="page-content" aria-label="Content">
<div class="wrapper"> <div class="wrapper">
{{ content }} {{ content }}
</div> </div>
</main> </main>
{% include footer.html %} {% include footer.html %}
</body> </body>
</html> </html>

View File

@ -1,9 +1,13 @@
--- ---
layout: default layout: default
--- ---
<div class="home"> <div class="home">
<h1 class="page-heading">Posts</h1> <h1 class="page-heading">Posts</h1>
{{ content }} {{ content }}
<ul class="post-list"> <ul class="post-list">
{% for post in site.posts %} {% for post in site.posts %}
<li> <li>
@ -15,5 +19,7 @@ layout: default
</li> </li>
{% endfor %} {% endfor %}
</ul> </ul>
<p class="rss-subscribe">subscribe <a href="{{ "/feed.xml" | relative_url }}">via RSS</a></p> <p class="rss-subscribe">subscribe <a href="{{ "/feed.xml" | relative_url }}">via RSS</a></p>
</div> </div>

View File

@ -2,10 +2,13 @@
layout: default layout: default
--- ---
<article class="post"> <article class="post">
<header class="post-header"> <header class="post-header">
<h1 class="post-title">{{ page.title | escape }}</h1> <h1 class="post-title">{{ page.title | escape }}</h1>
</header> </header>
<div class="post-content"> <div class="post-content">
{{ content }} {{ content }}
</div> </div>
</article> </article>

View File

@ -2,10 +2,12 @@
layout: default layout: default
--- ---
<article class="post" itemscope itemtype="http://schema.org/BlogPosting"> <article class="post" itemscope itemtype="http://schema.org/BlogPosting">
<header class="post-header"> <header class="post-header">
<h1 class="post-title" itemprop="name headline">{{ page.title | escape }}</h1> <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> <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> </header>
<div class="post-content" itemprop="articleBody"> <div class="post-content" itemprop="articleBody">
{{ content }} {{ content }}
</div> </div>

View File

@ -3,7 +3,9 @@
*/ */
pre, pre,
code { code {
font-size: 15px;
border: 1px solid #000; border: 1px solid #000;
border-radius: 3px;
background-color: #eef; background-color: #eef;
} }
@ -50,6 +52,8 @@ ul, ol, dl, figure,
} }
} }
/** /**
* Clearfix * Clearfix
*/ */
@ -59,6 +63,8 @@ ul, ol, dl, figure,
clear: both; clear: both;
} }
/** /**
* Icons * Icons
*/ */

View File

@ -32,6 +32,7 @@
top: 9px; top: 9px;
right: $spacing-unit / 2; right: $spacing-unit / 2;
border: 1px solid #000; border: 1px solid #000;
border-radius: 5px;
text-align: right; text-align: right;
.menu-icon { .menu-icon {
@ -66,6 +67,8 @@
} }
} }
/** /**
* Site footer * Site footer
*/ */
@ -79,77 +82,14 @@
margin-bottom: $spacing-unit / 2; margin-bottom: $spacing-unit / 2;
} }
/** .contact-list,
* Page content .social-media-list {
*/
.page-content {
padding: $spacing-unit 0;
}
.page-heading {
font-size: 20px;
}
.post-list {
margin-left: 0;
list-style: none; list-style: none;
margin-left: 0;
> li {
margin-bottom: $spacing-unit;
}
}
.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;
}
}
} }
.footer-col-wrapper { .footer-col-wrapper {
font-size: 15px;
margin-left: -$spacing-unit / 2; margin-left: -$spacing-unit / 2;
@extend %clearfix; @extend %clearfix;
} }
@ -195,3 +135,77 @@
width: 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-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;
}
}
}

View File

@ -2,11 +2,11 @@
Gem::Specification.new do |spec| Gem::Specification.new do |spec|
spec.name = "the-90s-called" spec.name = "the-90s-called"
spec.version = "0.1.3" spec.version = "0.1.0"
spec.authors = ["shmitty"] spec.authors = ["shmitty"]
spec.email = ["root@hacktheplanet.be"] spec.email = ["root@hacktheplanet.be"]
spec.summary = "The 90s called is a *very* basic vanilla HTML theme for Jekyll" spec.summary = "A *very* basic back to the 90s vanilla HTML theme."
spec.homepage = "https://github.com/michaelshmitty/the-90s-called" spec.homepage = "https://github.com/michaelshmitty/the-90s-called"
spec.license = "MIT" spec.license = "MIT"