diff --git a/_data/menu.yml b/_data/menu.yml new file mode 100644 index 0000000..3344f40 --- /dev/null +++ b/_data/menu.yml @@ -0,0 +1,8 @@ +- title: Home + url: / + +- title: About + url: /about.html + +- title: Theme Designer + url: http://patdryburgh.com \ No newline at end of file diff --git a/_layouts/home.html b/_layouts/home.html index c67eade..b704d4a 100644 --- a/_layouts/home.html +++ b/_layouts/home.html @@ -23,9 +23,15 @@ layout: default diff --git a/_sass/_article.scss b/_sass/_article.scss index 9cd7992..4a4d51d 100644 --- a/_sass/_article.scss +++ b/_sass/_article.scss @@ -1,29 +1,29 @@ -article > * { +.post > * { margin-left: auto; margin-right: auto; max-width: 36rem; padding: 0 1em; } -article > h1 { +.post > h1 { font-size: 2em; max-width: 48rem; padding: 2em 1em; text-align: center; } -article p { +.post p { text-align: justify; text-indent: 1.5rem; text-justify: inter-word; } -article p:first-of-type, -article h2 + p { +.post p:first-of-type, +.post h2 + p { text-indent: 0; } -article img { +.post img { margin-left: -1em; display: flex; max-width: 100%; @@ -31,7 +31,7 @@ article img { margin: 2em auto; } -article li { +.post li { margin-left: 1.5rem; margin-right: 1.5rem; } diff --git a/_sass/_masthead.scss b/_sass/_masthead.scss index 1789689..cabd2bc 100644 --- a/_sass/_masthead.scss +++ b/_sass/_masthead.scss @@ -13,7 +13,7 @@ .site-masthead h1 { font-size: 3em; - margin-bottom: .125em; + margin-bottom: 0; @media (min-width: $on-tablet) { font-size: 6em; } @@ -29,10 +29,7 @@ } .site-navigation { - position: absolute; - bottom: .75em; - left: 2em; - right: 2em; + margin-top: 4rem; } .site-navigation ul { @@ -53,4 +50,8 @@ display: block; padding: .25em .5em; text-decoration: none; + &:hover, + &:focus { + text-decoration: underline; + } } \ No newline at end of file