refactor some of the styles, start adding donation sectoin

pull/2/head
Brian Picciano 6 years ago
parent c61dcf483b
commit d1446c6d6f
  1. 2
      _config.yml
  2. 22
      _includes/header.html
  3. 8
      _layouts/post.html
  4. 45
      assets/main.css

@ -1,4 +1,4 @@
title: The Mediocre Blog title: Mediocre Blog
author: Brian Picciano author: Brian Picciano
email: mediocregopher@gmail.com email: mediocregopher@gmail.com
description: >- description: >-

@ -1,12 +1,12 @@
<header id="title-header" role="banner"> <header id="title-header" role="banner">
<div class="row"> <div class="row row-vertically-centered">
<div class="eight columns"> <div class="eight columns">
<h5 class="title"> <h1 class="title">
<a href="{{ "/" | relative_url }}">{{ site.title | escape }}</a> <a href="{{ "/" | relative_url }}">{{ site.title | escape }}</a>
</h5> </h1>
</div> </div>
<div class="four columns"> <div class="four columns light">
<div class="social"> <div class="social">
<span class="spaced">RSS/Social:</span> <span class="spaced">RSS/Social:</span>
<a class="spaced" href="{{ 'feed.xml' | relative_url }}"> <a class="spaced" href="{{ 'feed.xml' | relative_url }}">
@ -19,6 +19,20 @@
<i class="fab fa-twitter"></i> <i class="fab fa-twitter"></i>
</a> </a>
</div> </div>
<div class="donation">
<span>If you like what I do, consider donating!</span><br/>
<span>
<a href="https://cash.me/$mediocregopher">USD</a>
<a href="bitcoin:1KSqgPBQ7VWc5yxUT2DsB3VpsvRyahL2k8">BTC</a>
LTC
ETH
ZEC
</span>
</div>
</div> </div>
</div> </div>

@ -7,16 +7,16 @@ layout: default
<h1 id="post-headline" itemprop="name headline"> <h1 id="post-headline" itemprop="name headline">
{{ page.title | escape }} {{ page.title | escape }}
</h1> </h1>
<div id="post-sub-header"> <div class="light">
<span itemprop="author" itemscope itemtype="http://schema.org/Person"> <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
<span itemprop="name">{{ site.author }}</span> <span itemprop="name">{{ site.author }}</span>
</span> </span>
<!-- -->
<time datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished"> <time datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished">
{{ page.date | date: "%b %-d, %Y" }} {{ page.date | date: "%b %-d, %Y" }}
</time> </time>
<span itemprop="about">{{ page.description }}</span> <span itemprop="about"><em>{{ page.description }}</em></span>
</div> </div>
</header> </header>

@ -2,15 +2,35 @@ ul {
list-style: circle; list-style: circle;
} }
.light {
color: #666;
}
.light a {
color: #666 !important;
}
.light a:hover {
color: #222;
}
/* for making all content within a row be vertically centered */
.row-vertically-centered .columns {
display: inline-block;
float: none;
margin-left: 0;
vertical-align: middle;
}
#title-header { #title-header {
border-bottom: 1px solid #AAA; border-bottom: 1px solid #666;
padding-top: 2rem;
padding-bottom:2rem;
} }
#title-header .title { #title-header .title {
margin-top: 2rem; margin: 0;
margin-bottom: 2rem; font-weight: bold;
margin-left: 0;
margin-right: 0;
} }
#title-header .title a { #title-header .title a {
@ -18,18 +38,9 @@ ul {
text-decoration: none; text-decoration: none;
} }
#title-header .social {
margin-top: 1rem;
}
#title-header .social .spaced { #title-header .social .spaced {
color: #AAA;
text-decoration: none; text-decoration: none;
margin-right: 1em; margin-right: 0.5em;
}
#title-header .social a:hover {
color: #222;
} }
#posts-list { #posts-list {
@ -55,10 +66,6 @@ ul {
margin: 0; margin: 0;
} }
#post-sub-header {
color: #AAA;
}
#post-content ul { #post-content ul {
margin-left: 1em; margin-left: 1em;
} }

Loading…
Cancel
Save