diff --git a/themes/beaver/layouts/blog/single.html b/themes/beaver/layouts/blog/single.html index c605613fc..aabb35a9e 100644 --- a/themes/beaver/layouts/blog/single.html +++ b/themes/beaver/layouts/blog/single.html @@ -1,46 +1,50 @@ {{ partial "page/header.html" . }} -
-
-
-
-
-
-
-
-
-
+
+
+
+
+
-
-
-
-
-
-

- {{ .Title }} -

-
-
-
-
-
- {{ .Content }} -
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
-
- {{ partial "page/footer.html" . }} +
+
+
+
+
+

{{ .Title }}

+
+
+
+
+
+ {{ .Content }} +
+
+
+
+
+
+
+
+
+
+ + + + + + + + +{{ partial "page/footer.html" . }} diff --git a/themes/beaver/layouts/page/blog.html b/themes/beaver/layouts/page/blog.html index 361cd018b..66fd7158f 100644 --- a/themes/beaver/layouts/page/blog.html +++ b/themes/beaver/layouts/page/blog.html @@ -3,7 +3,7 @@
-
+
@@ -20,52 +20,30 @@
-
-
-

- Blog -

-
-
-
-
-
-

Browse through our blog page filled with updated information and the - latest tips to help you achieve your goals.

-
-
-
-
-
+
+

Blog

+

Browse through our blog page filled with updated information and the latest tips to help you achieve your goals.

{{ range where site.RegularPages "Type" "blog" }} -
-

{{ .Title }}

-
- {{ .Summary }} -
+ +
+

{{ .Title }}

+ {{ .Summary }} +
+ {{ $t := time.AsTime .Params.created_at }} + {{ $t.Format "Jan 2, 2006" }} +
{{ end }} -
-

Sorry, we couldn't find any posts. Please try a different search.

-
- -
-
-
+

diff --git a/themes/beaver/static/style.css b/themes/beaver/static/style.css index 2b59d994d..63ae4c28f 100644 --- a/themes/beaver/static/style.css +++ b/themes/beaver/static/style.css @@ -34,3 +34,102 @@ Appearance > Theme Settings > Code or create a child theme. .g-recaptcha { float: left; } + +/*Blog*/ +.blog { + padding: 135px 0 50px; +} + +.blog img { + width: auto; + max-width: 100%; + height: auto; + max-height: 75vh; + margin: 0 auto; + display: block; +} + +.blog .container { + max-width: 700px !important; + margin: 0 auto !important; +} + +.blog h1, +.blog .heading { + font-size: 42px; + line-height: 52px; + font-weight: 700; + margin: 0 0 32px !important; +} + +.blog h2 { + font-size: 24px; + line-height: 30px; + font-weight: 600; + margin: 42px 0 0 !important; +} + +.blog h3 { + font-size: 20px; + line-height: 24px; + font-weight: 600; + margin: 26px 0 0 !important; +} + +.blog blockquote { + margin: 42px 0 42px -20px; + padding: 0 0 0 23px; + box-shadow: inset 3px 0 0 0 #242424; + position: relative; +} + +.blog blockquote p { + margin-top: 22px; +} + +.blog blockquote h1, +.blog blockquote h2, +.blog blockquote h3 { + margin-top: 30px; + font-weight: 300; + font-size: 28px; + line-height: 40px; + color: #6B6B6B; +} + +.blog blockquote h1 a, +.blog blockquote h2 a, +.blog blockquote h3 a { + color: #6B6B6B; +} + +.blog blockquote h1:before, +.blog blockquote h2:before, +.blog blockquote h3:before { + content: ''; + position: absolute; + width: 5px; + top: 0; + bottom: 0; + left: 0; + background: #fff; +} + +.blog blockquote strong { + font-style: italic; +} + +.blog p { + font-size: 20px; + line-height: 32px; + margin-bottom: 42px; +} + +.blog p a { + color: inherit; +} + +.blog .link { + color: #6B6B6B; + text-decoration: none; +}