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 }} {{ content }}
{% if site.posts.size > 0 %} {% 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"> <ul class="post-list">
{% for post in site.posts %} {% for post in site.posts %}
<li> <li>

View File

@ -2,14 +2,18 @@
--- ---
@import 'minima'; @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 { html, body, div, p {
font-family: 'Open Sans' font-family: 'Tenor'
}
body {
font-size: 17px;
} }
h1, h2, h3, h4, h5, h6 { h1, h2, h3, h4, h5, h6 {
font-family: 'Roboto Slab' font-family: 'Archivo Black'
} }
pre, code { pre, code {
@ -25,12 +29,13 @@ body > header {
background-color: #000; background-color: #000;
.site-title, .site-title:visited { .site-title, .site-title:visited {
font-family: 'Roboto Slab'; font-family: 'Archivo Black';
color: #fff; color: #fff;
} }
.site-nav { .site-nav {
.page-link, .page-link:visited { .page-link, .page-link:visited {
font-family: 'Archivo Black';
color: #fff; color: #fff;
@include media-query($on-palm) { @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 { img.profile {
width: 400px; width: 400px;
} }