Style updates

This commit is contained in:
Rob Watson 2018-01-10 07:25:20 +00:00
parent de4c073e8b
commit a169cc0a35
2 changed files with 25 additions and 5 deletions

View File

@ -10,7 +10,11 @@ layout: default
{{ content }}
{% if site.posts.size > 0 %}
<h2 class="post-list-heading">{{ page.list_title | default: "Recent posts" }}</h2>
{% if page.list_title %}
<h2 class="post-list-heading">{{ page.list_title }}</h2>
{% endif %}
<ul class="post-list">
{% for post in site.posts %}
<li>

View File

@ -2,14 +2,18 @@
---
@import 'minima';
@import url('https://fonts.googleapis.com/css?family=Roboto+Slab:700|Open+Sans|Ubuntu+Mono');
@import url('https://fonts.googleapis.com/css?family=Archivo+Black|Tenor+Sans|Ubuntu+Mono');
html, body, div, p {
font-family: 'Open Sans'
font-family: 'Tenor'
}
body {
font-size: 17px;
}
h1, h2, h3, h4, h5, h6 {
font-family: 'Roboto Slab'
font-family: 'Archivo Black'
}
pre, code {
@ -25,12 +29,13 @@ body > header {
background-color: #000;
.site-title, .site-title:visited {
font-family: 'Roboto Slab';
font-family: 'Archivo Black';
color: #fff;
}
.site-nav {
.page-link, .page-link:visited {
font-family: 'Archivo Black';
color: #fff;
@include media-query($on-palm) {
@ -40,6 +45,17 @@ body > header {
}
}
.page-content {
background: #efefef;
padding-top: 0px;
}
.page-content > .wrapper {
padding-top: 30px;
background: #fff;
}
img.profile {
width: 400px;
}