Skip to content

Commit

Permalink
Dark background
Browse files Browse the repository at this point in the history
  • Loading branch information
phocks committed Feb 10, 2019
1 parent 16d9a1b commit e2b4abd
Show file tree
Hide file tree
Showing 9 changed files with 29 additions and 32 deletions.
20 changes: 9 additions & 11 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,17 +1,15 @@
GEM
remote: https://rubygems.org/
specs:
addressable (2.5.2)
addressable (2.6.0)
public_suffix (>= 2.0.2, < 4.0)
colorator (1.1.0)
concurrent-ruby (1.1.4)
em-websocket (0.5.1)
eventmachine (>= 0.12.9)
http_parser.rb (~> 0.6.0)
eventmachine (1.2.7)
eventmachine (1.2.7-x64-mingw32)
ffi (1.9.25)
ffi (1.9.25-x64-mingw32)
ffi (1.10.0-x64-mingw32)
forwardable-extended (2.6.0)
http_parser.rb (0.6.0)
i18n (0.9.5)
Expand Down Expand Up @@ -57,26 +55,26 @@ GEM
rouge (3.3.0)
ruby_dep (1.5.0)
safe_yaml (1.0.4)
sass (3.7.2)
sass (3.7.3)
sass-listen (~> 4.0.0)
sass-listen (4.0.0)
rb-fsevent (~> 0.9, >= 0.9.4)
rb-inotify (~> 0.9, >= 0.9.7)
thread_safe (0.3.6)
tzinfo (1.2.5)
thread_safe (~> 0.1)
tzinfo-data (1.2018.7)
tzinfo (2.0.0)
concurrent-ruby (~> 1.0)
tzinfo-data (1.2018.9)
tzinfo (>= 1.0.0)
wdm (0.1.1)

PLATFORMS
ruby
x64-mingw32

DEPENDENCIES
jekyll (~> 3.8.4)
jekyll-feed (~> 0.6)
minima (~> 2.0)
tzinfo-data
wdm (~> 0.1.0)

BUNDLED WITH
1.16.4
2.0.1
2 changes: 1 addition & 1 deletion _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# 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: Quoke
title: Quoke.
author: Joshua Byrd
email: [email protected]
description: >- # this means to ignore newlines until "baseurl:"
Expand Down
1 change: 0 additions & 1 deletion _includes/nav.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,4 @@
<h2>
<a href="/"> Quoke.</a>
</h2>
<span><a href="/about">About</a></span>
</nav>
5 changes: 2 additions & 3 deletions _layouts/index.html → _layouts/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
{% include head.html %}
<body>
{% include nav.html %}
<main>
{{ site.tags.life }}
<main>
<h1>Quotations</h1>
{% assign sortedQuotations = site.quotations | sort: 'date' | reverse %}
{% for quotation in sortedQuotations limit:20 %}
Expand Down Expand Up @@ -35,7 +34,7 @@ <h1>Topics</h1>
<span class="topic-link">
<a href="{{ topic.url }}">{{ topic.title }}</a>
</span>
{% endfor %}
{% endfor %}
</main>
{% include foot.html %}
</body>
Expand Down
1 change: 0 additions & 1 deletion _layouts/quotation.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@
</blockquote>
</div>
</div>
<hr>
{% if page.topics %}
<span class="quotation-tags">
Topics:
Expand Down
21 changes: 12 additions & 9 deletions _sass/_main.scss
Original file line number Diff line number Diff line change
@@ -1,28 +1,31 @@
@import url("https://fonts.googleapis.com/css?family=Trocchi");
@import url("https://fonts.googleapis.com/css?family=IBM+Plex+Sans");
@import url('https://fonts.googleapis.com/css?family=Press+Start+2P');

// Some variables
$color-light-grey: #ababab;
$color-medium-grey: #777;
$color-medium-grey: #676767;
$color-dark-grey: #434343;
$page-gutter: 15px;
$quote-font-size: 22px;
$quote-line-height: 1.6em;

body {
background-color: black;
font-family: "IBM Plex Sans", sans-serif;
margin: 0;
margin-bottom: 10px;
}

a {
text-decoration: none;
color: #121212;
border-bottom: 1px dotted #ddd;
}

main {
max-width: 780px;
color: white;
max-width: 960px;
padding: 0 $page-gutter;
margin-left: auto;
margin-right: auto;

a {
color: white;
}
}

.quotation-link,
Expand Down
7 changes: 3 additions & 4 deletions _sass/_nav.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
nav {
font-family: 'IBM Plex Sans', sans-serif;
background-color: black;
padding: 0px $page-gutter;
color: white;
Expand All @@ -11,7 +10,7 @@ nav {
}

h2 {
font-family: 'Trocchi', serif;
font-family: "Press Start 2P", cursive;
display: inline-block;
margin-right: 10px;
margin-top: 10px;
Expand All @@ -21,10 +20,10 @@ nav {
span {
font-size: 14px;
position: relative;
top: -1px;
top: -1px;
}

span a {
text-decoration: underline;
text-decoration: underline;
}
}
2 changes: 1 addition & 1 deletion _sass/_quotation.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.quotation-date,
.quotation-tags {
font-size: 14px;
color: $color-light-grey;
color: $color-medium-grey;
margin-right: 10px;

a {
Expand Down
2 changes: 1 addition & 1 deletion index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
# Feel free to add content and custom Front Matter to this file.
# To modify the layout, see https://jekyllrb.com/docs/themes/#overriding-theme-defaults

layout: index
layout: home
---

0 comments on commit e2b4abd

Please sign in to comment.