Skip to content

Commit

Permalink
Updated design
Browse files Browse the repository at this point in the history
no refs
  • Loading branch information
djordjevlais committed Dec 17, 2023
1 parent 0e5c8a0 commit 7d6c8ad
Show file tree
Hide file tree
Showing 15 changed files with 80 additions and 30 deletions.
2 changes: 1 addition & 1 deletion assets/built/index.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/built/index.css.map

Large diffs are not rendered by default.

12 changes: 9 additions & 3 deletions assets/css/components/global.css
Original file line number Diff line number Diff line change
Expand Up @@ -18,19 +18,20 @@ body {
min-height: 100vh;
margin: 0;
padding: 0;
color: #000;
color: #212122;
/* color: color-mix(in srgb, var(--color-base) 80%, white); */
font-family: var(--font-sans-serif);
font-size: 1.4rem;
line-height: 1.6em;
line-height: 23px;
font-weight: 400;
font-style: normal;
background: #F5C2A3;
background: #e0e0da;
/* background-color: #ddddff; */
scroll-behavior: smooth;
/* -webkit-font-smoothing: antialiased; */
/* -moz-osx-font-smoothing: grayscale; */
letter-spacing: -0.02px;
text-transform: lowercase;
}
@media (max-width: 500px) {
body {
Expand Down Expand Up @@ -135,6 +136,11 @@ ul:not([class]) li + li {
a:not([class]) {
color: var(--color-primary);
text-decoration-skip-ink: auto;
text-underline-offset: 4px;
}

a:not([class]):hover {
opacity: 0.7;
}

a[class] {
Expand Down
6 changes: 4 additions & 2 deletions assets/css/ghost/content.css
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
font-family: var(--font-sans-serif);
font-weight: 400;
font-size: 1.4rem;
line-height: 1.5em;
line-height: 23px;
}

.gh-content > ul,
Expand Down Expand Up @@ -104,6 +104,7 @@
.gh-canvas dl,
.gh-canvas p {
font-size: 1.6rem;
line-height: 26px;
}

.gh-content blockquote::before {
Expand Down Expand Up @@ -178,7 +179,8 @@ figcaption strong {
}

.kg-callout-card {
background-color: #edb18d !important;
background-color: transparent !important;
border: 1px solid currentColor;
}


Expand Down
3 changes: 1 addition & 2 deletions assets/css/ghost/footer.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,8 @@
}

.gh-separator {
width: 140px;
margin-bottom: 16px;
border-top: 1px inset #ffd7bd;
border-top: 1px inset #ffffd9;
border-style: inset;
border-width: 1px;
}
Expand Down
1 change: 0 additions & 1 deletion assets/css/ghost/header.css
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@
display: block;
padding: 10px 0;
font-weight: 600;
font-size: 1.6rem;
line-height: 1em;
}

Expand Down
16 changes: 15 additions & 1 deletion assets/css/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,14 @@ h2.gh-card-title {
text-align: left;
}

.gh-page-head--tag .tag-counter {
margin-bottom: 12px;
}

.gh-page-head--tag .tag-description {
font-style: italic;
}

.gh-page-image {
margin: 4vmin 0 0 0;
}
Expand Down Expand Up @@ -251,8 +259,10 @@ h2.gh-card-title {
}

.intro img {
margin-bottom: 24px;
margin-bottom: 12px;
width: 132px;
box-shadow: 4px 4px 4px -3px rgba(0, 0, 0, 0.55);
border-radius: 4px;
}

.block {
Expand Down Expand Up @@ -285,4 +295,8 @@ time {

.gh-title {
margin-bottom: 0;
}

.dont-wrap {
white-space: nowrap;
}
Binary file added assets/me.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
28 changes: 28 additions & 0 deletions custom-writing.hbs
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{{!< default}}
<div class="gh-page">
<div class="gh-container">
<div class="intro">
<img src="assets/me.png" srcset="assets/me.png 2x" alt="Picture of me garnished with a rose"/>
<p>Hey there. I’m Đorđe, a software designer from Serbia, <span class="dont-wrap">now living in Lisbon, Portugal.</span></p>
</div>

<div class="block">
<h2>Latest Writing</h2>
<ul>
{{#foreach posts limit="5"}}
{{> "list" page=../pagination.page }} {{!-- partials/list.hbs --}}
{{/foreach}}
</ul>
<p><a href="#">see all</a></p>
{{!-- <p>If you enjoyed these, you can <a href="{{@site.signup_url}}">subscribe</a> to future posts, grab the <a href="{{@site.url}}/rss/">RSS feed</a>, or check the entire <a href="#">archive</a>.</p> --}}
</div>

<div class="block">
<h2>Other</h2>
<ul>
<li>I used to write <a href="https://nevinooptuzen.substack.com">TV recaps of a Yugoslavian cop TV show from the 90s</a>†</li>
<li>I work for <a href="https://ghost.org"><span class="ghost-line">Ghost Foundation <img src="assets/boo.gif" alt="Boo"></span></a></li>
</ul>
</div>
</div>
</div>
2 changes: 1 addition & 1 deletion default.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
<footer class="gh-foot">
<div class="gh-container">
<hr class="gh-separator"/>
<p>© 2023 Đorđe Vlaisavljević &centerdot; <a href="mailto:[email protected]">Email</a> &centerdot; <a href="https://www.are.na/dorde-vlaisavljevic">Arena</a></p>
<p>updated: 16 Dec 2023 &centerdot; <a href="mailto:[email protected]">Email</a> &centerdot; <a href="https://www.are.na/dorde-vlaisavljevic">Arena</a> &centerdot; <a href="https://letterboxd.com/trojerucica/">Letterboxd</a> &centerdot; <a href="https://read.cv/djordjevlais">cv</a></p>
{{!-- <div class="gh-foot-meta">
Published with <a href="https://ghost.org" target="_blank" rel="noopener">Ghost</a>
</div> --}}
Expand Down
15 changes: 8 additions & 7 deletions index.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,25 @@
<div class="gh-page">
<div class="gh-container">
<div class="intro">
<img src="assets/djordje-rounded.png" srcset="assets/djordje-rounded.png 2x" alt="Picture of me garnished with a rose"/>
<p>Hey there, I’m Đorđe, a software designer from Serbia, now living in Portugal.</p>
<img src="assets/me.png" srcset="assets/me.png 2x" alt="Picture of me garnished with a rose"/>
<p>Hey there. I’m Đorđe, a software designer from Serbia, <span class="dont-wrap">now living in Lisbon, Portugal.</span></p>
</div>

<div class="block">
<h2>Writing</h2>
<h2>Latest Writing</h2>
<ul>
{{#foreach posts}}
{{> "card" page=../pagination.page }} {{!-- partials/list.hbs --}}
{{#foreach posts limit="5"}}
{{> "list" page=../pagination.page }} {{!-- partials/list.hbs --}}
{{/foreach}}
</ul>
<p>If you enjoyed these, you can <a href="{{@site.signup_url}}">subscribe</a>.</p>
<p><a href="#">see all</a></p>
{{!-- <p>If you enjoyed these, you can <a href="{{@site.signup_url}}">subscribe</a> to future posts, grab the <a href="{{@site.url}}/rss/">RSS feed</a>, or check the entire <a href="#">archive</a>.</p> --}}
</div>

<div class="block">
<h2>Other</h2>
<ul>
<li>I <a href="https://nevinooptuzen.substack.com">used to write</a>† TV recaps of a Yugoslavian cop TV show from the 90s</li>
<li>I used to write <a href="https://nevinooptuzen.substack.com">TV recaps of a Yugoslavian cop TV show from the 90s</a>†</li>
<li>I work for <a href="https://ghost.org"><span class="ghost-line">Ghost Foundation <img src="assets/boo.gif" alt="Boo"></span></a></li>
</ul>
</div>
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion partials/list.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
Re-usable list for linking to posts
--}}

<li class="{{post_class}}"><a href="{{url}}">{{title}}</a>, <time datetime="{{date format="YYYY-MM-DD"}}">{{date format="D MMM YYYY"}}</time></li>
<li class="{{post_class}}"><a href="{{url}}">{{title}}</a> &centerdot; <time datetime="{{date format="YYYY-MM-DD"}}">{{date format="D MMM YYYY"}}</time></li>
1 change: 0 additions & 1 deletion post.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@
</div>

<footer class="gh-footer gh-canvas">

<p>If you enjoyed this, you can <a href="{{@site.signup_url}}">subscribe to future posts</a>.</p>

{{!-- <div class="gh-post-authors">
Expand Down
16 changes: 9 additions & 7 deletions tag.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@
<div class="gh-container">

{{#tag}}
<header class="gh-page-head">
<header class="gh-page-head gh-page-head--tag">

<p>There {{plural ../pagination.total empty='posts' singular='is ' plural='are '}}<strong>{{plural ../pagination.total empty='posts' singular='% post' plural='% posts'}}</strong> filed under <strong>{{name}}</strong></p>
<p class="tag-counter">There {{plural ../pagination.total empty='posts' singular='is ' plural='are '}}<strong>{{plural ../pagination.total empty='posts' singular='% post' plural='% posts'}}</strong> filed under <strong>{{name}}</strong></p>

{{#if description}}
<blockquote>
<p class="tag-description">
{{description}}
</blockquote>
</p>
{{/if}}

{{#if feature_image}}
Expand All @@ -22,11 +22,13 @@
{{/tag}}

<div class="gh-postfeed">
{{#foreach posts}}
<ul>
{{#foreach posts}}

{{> "card"}} {{!-- partials/card.hbs --}}
{{> "list"}} {{!-- partials/card.hbs --}}

{{/foreach}}
{{/foreach}}
</ul>
</div>

</div>
Expand Down

0 comments on commit 7d6c8ad

Please sign in to comment.