From 41895acbab58486d009a8eb5e5f6738fd584990b Mon Sep 17 00:00:00 2001 From: Micah Cowell Date: Mon, 14 Mar 2016 17:31:35 -0700 Subject: [PATCH] em is awesome with fonts --- _data/navigation.yml | 3 -- _data/{projects.yml => websites.yml} | 8 ---- _includes/head.html | 1 + _sass/_config.scss | 4 ++ _sass/_reset.scss | 2 +- assets/css/main.scss | 58 ++++++++++++++++------------ index.html | 19 +++++++-- me/index.html | 2 +- work/index.html | 14 ------- 9 files changed, 57 insertions(+), 54 deletions(-) rename _data/{projects.yml => websites.yml} (59%) delete mode 100644 work/index.html diff --git a/_data/navigation.yml b/_data/navigation.yml index 933b551..ffde3bd 100644 --- a/_data/navigation.yml +++ b/_data/navigation.yml @@ -4,9 +4,6 @@ - title: about url: /me -- title: portfolio - url: /work - - title: github url: https://github.com/getmicah diff --git a/_data/projects.yml b/_data/websites.yml similarity index 59% rename from _data/projects.yml rename to _data/websites.yml index 70b3d6d..6524e33 100644 --- a/_data/projects.yml +++ b/_data/websites.yml @@ -9,11 +9,3 @@ - title: GetPeppers category: website url: http://getpeppers.com - -- title: Fatso - category: theme - url: https://github.com/getmicah/fatso - -- title: Beam - category: theme - url: https://github.com/getmicah/beam diff --git a/_includes/head.html b/_includes/head.html index 7dcbf7d..66faf1d 100644 --- a/_includes/head.html +++ b/_includes/head.html @@ -16,4 +16,5 @@ {% endif %} + diff --git a/_sass/_config.scss b/_sass/_config.scss index e2fab38..93c30a3 100644 --- a/_sass/_config.scss +++ b/_sass/_config.scss @@ -1,3 +1,7 @@ // COLORS $color-primary: #272727; $color-background: #FFFFFF; + +// FONT +$font-url: "https://fonts.googleapis.com/css?family=Ubuntu+Mono:400,700,400italic"; +$font-family: "'Ubuntu Mono', "; diff --git a/_sass/_reset.scss b/_sass/_reset.scss index 1847353..e0d8f9f 100644 --- a/_sass/_reset.scss +++ b/_sass/_reset.scss @@ -15,7 +15,7 @@ time, mark, audio, video { margin: 0; padding: 0; border: 0; - font-size: 100%; + font-size: 1em; font: inherit; vertical-align: baseline; } diff --git a/assets/css/main.scss b/assets/css/main.scss index 58b7b8c..67f6378 100644 --- a/assets/css/main.scss +++ b/assets/css/main.scss @@ -7,6 +7,8 @@ body { color: $color-primary; background: $color-background; + font-family: 'Inconsolata', ; + font-size: 100%; } h1, h2 { margin-bottom: 5px; @@ -38,26 +40,25 @@ ul { .wrapper { max-width: 600px; margin: auto; - padding: 15px; - @media screen and (min-width: 570px) { - padding: 30px; + padding: 30px; + padding-top: 60px; + @media screen and (max-width: 570px) { + padding: 20px; } } .main { - margin-bottom: 30px; - padding-bottom: 15px; - border-bottom: 1px solid #000; - @media screen and (min-width: 570px) { - display: flex; - justify-content: space-between; - align-items: baseline; - padding-bottom: 5px; + display: flex; + justify-content: space-between; + align-items: baseline; + padding-bottom: 40px; + @media screen and (max-width: 570px) { + display: block; } h1 { - font-size: 36px; - margin-right: 20px; + font-size: 2em; + margin-bottom: 0; } ul { margin-top: 10px; @@ -69,29 +70,38 @@ ul { } -.blog { +.work { + padding-bottom: 30px; h1 { - font-size: 26px; + font-size: 1.4em; + margin-bottom: 5px; + } +} + + + +.blog { + padding-bottom: 30px; + h1 { + font-size: 1.4em; + margin-bottom: 5px; } } .post { + padding-bottom: 30px; h1 { - font-size: 26px; - } -} - - -.portfolio { - h1 { - font-size: 26px; + font-size: 1.4em; + margin-bottom: 5px; } } .about { + padding-bottom: 30px; h1 { - font-size: 26px; + font-size: 1.4em; + margin-bottom: 5px; } } diff --git a/index.html b/index.html index 254a021..b445b0d 100644 --- a/index.html +++ b/index.html @@ -3,11 +3,24 @@ layout: default --- -
+
+

Web Design:

    - {% for post in site.posts %} + {% for websites in site.data.websites %}
  • - {{ post.date | date: '%b %d %Y' }} | {{ post.title }} + {{ websites.url }} +
  • + {% endfor %} +
+
+ + +
+

Blog Posts:

+
    + {% for post in site.posts %} +
  • + {{ post.date | date: '%b %d %Y' }} - {{ post.title }}
  • {% endfor %}
diff --git a/me/index.html b/me/index.html index 48c030e..bc51eb5 100644 --- a/me/index.html +++ b/me/index.html @@ -4,5 +4,5 @@ layout: default
-

About

+
diff --git a/work/index.html b/work/index.html deleted file mode 100644 index d3b7c53..0000000 --- a/work/index.html +++ /dev/null @@ -1,14 +0,0 @@ ---- -layout: default ---- - - -
- -