From 47b62e3b178189588d663bfc48b9a5a0aecf53e0 Mon Sep 17 00:00:00 2001 From: Michael Zhang Date: Mon, 28 May 2018 12:07:44 -0500 Subject: [PATCH] more style updates --- _layouts/post.html | 3 ++- _sass/fonts.scss | 15 +++++++++++++++ _sass/main.scss | 20 +++++++++++++++++++- index.html | 6 ++---- 4 files changed, 38 insertions(+), 6 deletions(-) diff --git a/_layouts/post.html b/_layouts/post.html index 07008e0..417da61 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -6,7 +6,8 @@ -
+
+ « back

{{ page.title }}

published: {{ page.date | date_to_long_string }}

diff --git a/_sass/fonts.scss b/_sass/fonts.scss index ae4407d..b3794fc 100644 --- a/_sass/fonts.scss +++ b/_sass/fonts.scss @@ -1,8 +1,23 @@ +@font-face { + font-family: "Roboto"; + font-weight: 200; + src: url(/fonts/Roboto/Roboto-Thin.ttf) format("truetype"); +} @font-face { font-family: "Roboto"; font-weight: 300; src: url(/fonts/Roboto/Roboto-Light.ttf) format("truetype"); } +@font-face { + font-family: "Roboto"; + font-weight: 400; + src: url(/fonts/Roboto/Roboto-Regular.ttf) format("truetype"); +} +@font-face { + font-family: "Roboto"; + font-weight: 700; + src: url(/fonts/Roboto/Roboto-Bold.ttf) format("truetype"); +} @font-face { font-family: "RobotoMono"; font-weight: 300; diff --git a/_sass/main.scss b/_sass/main.scss index 3146dc9..6c8a3bb 100644 --- a/_sass/main.scss +++ b/_sass/main.scss @@ -7,12 +7,30 @@ body { font-weight: 300; } +a { + text-decoration: none; +} + +small { + font-weight: 200; +} + +h1, +h2, +h3, +h4, +h5, +h6 { + font-weight: 700; +} + *::selection { background-color: #444444; color: #f0f0f0; } -pre, code { +pre, +code { font-family: "RobotoMono", monospace; font-weight: 300; padding: 10px; diff --git a/index.html b/index.html index 5492f12..eb0ebdd 100644 --- a/index.html +++ b/index.html @@ -9,13 +9,11 @@ layout: default

- {{ post.title }} + {{ post.title }}

- - {{ post.date | date: "%B %e, %Y" }} - + {{ post.date | date: "%B %e, %Y" }} {% endfor %}