diff --git a/README.md b/README.md index e69de29..ae4cd9f 100644 --- a/README.md +++ b/README.md @@ -0,0 +1,2 @@ +# Ezhil +Clean and minimal personal blog and portfolio theme for Hugo. diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 4e6b67f..0abbe00 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -13,8 +13,10 @@
{{ .Content }}
+ + {{ partial "disqus.html" . }} {{ partial "footer.html" . }} - \ No newline at end of file + diff --git a/layouts/index.html b/layouts/index.html index a3fbfd8..bd08629 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -31,5 +31,6 @@ {{ partial "footer.html" . }} + {{ template "_internal/google_analytics_async.html" . }} diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 5cac3be..b3a22cd 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -12,9 +12,11 @@ {{- end -}} + {{ template "_internal/opengraph.html" . }} + {{ template "_internal/twitter_cards.html" . }} - \ No newline at end of file + diff --git a/static/css/main.css b/static/css/main.css index 807487b..2b00d3f 100644 --- a/static/css/main.css +++ b/static/css/main.css @@ -3,6 +3,7 @@ body { font-weight: 300; color: #333; line-height: 1.6; + font-size: 16px; } a, a:hover { @@ -63,13 +64,6 @@ blockquote cite { opacity: .8 } -.browsehappy { - margin: .2rem 0; - background: #ccc; - color: #000; - padding: .2rem 0 -} - a,a:hover { color: #a00; text-decoration: none @@ -135,9 +129,6 @@ ul.flat li { min-height: .1rem } -.page-label { -} - .page-title { margin: 0 } @@ -150,24 +141,14 @@ ul { list-style: disc inside } -.codehilitetable td { - border: 0; - padding-top: 0; - padding-bottom: 0; - padding-right: 0 -} - -.codehilitetable td pre { +.highlight pre { margin-bottom: 0; - margin-top: 0 + margin-top: 0; + padding: 20px; + background-color: #FAFAFA !important; } -.codehilitetable td.linenos { - color: #999; - font-size: .9em -} - -.codehilite { +.highlight { background: 0 0 } @@ -220,8 +201,6 @@ ul { text-transform: capitalize; } -.section {} - .section .section-header { font-size: 0.75rem; font-weight: 600; @@ -281,3 +260,35 @@ ul { .tag-cloud a { margin-right: 15px; } + +@media (max-width: 767px) { + body { + padding: 20px; + } + + h1 { + font-size: 2rem + } + + h2 { + font-size: 1.6rem + } + + h3 { + font-size: 1.2rem + } + + h4 { + font-size: 1rem + } + + .container { + margin-top: 10px; + } +} + +@media (max-width: 480px) { + body { + font-size: 14px; + } +}