diff --git a/assets/css/screen.css b/assets/css/screen.css index 74cf5ba..fd9f9c5 100644 --- a/assets/css/screen.css +++ b/assets/css/screen.css @@ -39,7 +39,7 @@ a { } a:hover { - color: pink; + color: #d9b9e6 } /* Generic class to make things unselectable */ @@ -63,6 +63,34 @@ a:hover { margin: auto; } +.ptheme-global-navbar_primary { + background-color: #201724; + width: 100%; + + display: flex; + align-items: center; + justify-content: flex-start; + text-align: center; + + white-space: nowrap; + text-transform: uppercase; +} + +.ptheme-global-navbar_primary ul { + display: block; + width: 100%; +} + +.ptheme-global-navbar_primary li { + display: inline-block; +} + +.ptheme-index-post_article { + padding: 20px 0; + display: flex; + flex-direction: row; +} + .ptheme-content_main { max-width: 1260px; width: 80%; @@ -70,17 +98,38 @@ a:hover { overflow: hidden; } -.ptheme-index-post_article { - padding: 20px 0; +.ptheme-index-post_feature-image-container { + display: flex; + flex-direction: column; + justify-content: center; } -a.ptheme-index-post_article_link { - display: flex; - flex-direction: row; -} .ptheme-index-post_feature-image { - max-width: 100%; + width: 250px; + height: 140px; + padding: 20px; + + object-fit: cover; + border-radius: 25px; +} + +.ptheme-index-post_excerpt { + width: 100%; + text-align: justify; +} + +.ptheme-index-post_footer { + padding: 10px; + display: flex; + justify-content: right; + align-items: center; +} + +.ptheme-index-post_author-image { + width: 25px; + padding: 10px; + border-radius: 100%; } .kg-width-wide { diff --git a/index.hbs b/index.hbs index aa4f74b..d8d4c42 100644 --- a/index.hbs +++ b/index.hbs @@ -1,48 +1,56 @@ {{!< default}} -
+

{{@site.title}}

+ +
{{!-- Looping through every post --}} {{#foreach posts}}
- -
+
{{#if feature_image}} - {{title}} + + {{title}} + {{/if}}
-
-
-

{{primary_tag.name}} - • - -

-

{{title}}

-
+
+

+ {{#foreach tags}} + {{name}}{{#unless @last}}, {{/unless}} + {{/foreach}} + • + +

+ +
+

{{title}}

+
-
-

{{excerpt words="26"}}

-
-
- -
-
-
{{/foreach}} diff --git a/post.hbs b/post.hbs index e69de29..3340eba 100644 --- a/post.hbs +++ b/post.hbs @@ -0,0 +1,6 @@ +{{!< default}} +
+ {{#post}} + {{content}} + {{/post}} +
\ No newline at end of file