Fix indentation

This commit is contained in:
Bea 2020-11-04 23:47:36 +01:00
parent 67ba61d93b
commit 58f26b715b
8 changed files with 1155 additions and 1124 deletions

View File

@ -1,4 +1,3 @@
/* Begin fonts */ /* Begin fonts */
@font-face { @font-face {
font-family: 'Oswald'; font-family: 'Oswald';
@ -15,12 +14,12 @@
} }
@font-face { @font-face {
font-family: 'Montserrat'; font-family: 'Montserrat';
font-style: normal; font-style: normal;
font-weight: 400; font-weight: 400;
font-display: swap; font-display: swap;
src: local('Montserrat Regular'), local('Montserrat-Regular'), url(https://fonts.gstatic.com/s/montserrat/v14/JTUSjIg1_i6t8kCHKm459Wlhyw.woff2) format('woff2'); src: local('Montserrat Regular'), local('Montserrat-Regular'), url(https://fonts.gstatic.com/s/montserrat/v14/JTUSjIg1_i6t8kCHKm459Wlhyw.woff2) format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
} }
@font-face { @font-face {
@ -40,12 +39,12 @@
} }
@font-face { @font-face {
font-family: 'Roboto'; font-family: 'Roboto';
font-style: normal; font-style: normal;
font-weight: 400; font-weight: 400;
font-display: swap; font-display: swap;
src: local('Roboto'), local('Roboto-Regular'), url(https://fonts.gstatic.com/s/roboto/v20/KFOmCnqEu92Fr1Mu4mxK.woff2) format('woff2'); src: local('Roboto'), local('Roboto-Regular'), url(https://fonts.gstatic.com/s/roboto/v20/KFOmCnqEu92Fr1Mu4mxK.woff2) format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
} }
@font-face { @font-face {

File diff suppressed because it is too large Load Diff

View File

@ -5,7 +5,9 @@
"engines": { "engines": {
"ghost-api": "v3" "ghost-api": "v3"
}, },
"keywords": ["ghost-theme"], "keywords": [
"ghost-theme"
],
"license": "Copyright", "license": "Copyright",
"author": { "author": {
"name": "Lorenzo Dellacà", "name": "Lorenzo Dellacà",
@ -14,21 +16,21 @@
"config": { "config": {
"posts_per_page": 10, "posts_per_page": 10,
"image_sizes": { "image_sizes": {
"xxs": { "xxs": {
"width": 64 "width": 64
}, },
"xs": { "xs": {
"width": 100 "width": 100
}, },
"s": { "s": {
"width": 300 "width": 300
}, },
"m": { "m": {
"width": 600 "width": 600
}, },
"l": { "l": {
"width": 1200 "width": 1200
} }
} }
} }
} }

View File

@ -1,7 +1,7 @@
<nav id="mind-global-navbar_primary" class="mind-global-navbar_primary unselectable"> <nav id="mind-global-navbar_primary" class="mind-global-navbar_primary unselectable">
<a href="/"> <a href="/">
{{#if @site.icon}} {{#if @site.icon}}
<img src="{{img_url @site.icon size="xxs"}}" alt="Website Logo"/> <img src="{{img_url @site.icon size="xxs"}}" alt="Website Logo"/>
{{/if}} {{/if}}
</a> </a>
{{navigation}} {{navigation}}

View File

@ -1,20 +1,24 @@
<article class="{{post_class}}"> <article class="{{post_class}}">
<a class="mind-post-card-big_main" href="{{url}}"> <a class="mind-post-card-big_main" href="{{url}}">
{{#if feature_image}} {{#if feature_image}}
<img class="mind-post-card-big_feature-image" src="{{img_url feature_image size="m"}}" alt="Feature Image"/> <img class="mind-post-card-big_feature-image" src="{{img_url feature_image size="m"}}" alt="Feature Image"/>
{{/if}} {{/if}}
<header class="mind-post-card-big_header"> <header class="mind-post-card-big_header">
<p class="mind-post-card-big_meta"><span class="mind-post-card-big_tag">{{primary_tag.name}}</span> <p class="mind-post-card-big_meta"><span class="mind-post-card-big_tag">{{primary_tag.name}}</span>
• <time class="post-date" datetime="{{date format='YYYY-MM-DD'}}">{{date format="DD MMMM YYYY"}}</time></p>
<h3>{{title}}</h3> <time class="post-date" datetime="{{date format='YYYY-MM-DD'}}">{{date format="DD MMMM YYYY"}}</time>
</header> </p>
<section class="mind-post-card-big_excerpt"> <h3>{{title}}</h3>
<p>{{excerpt words="26"}}</p> </header>
</section> <section class="mind-post-card-big_excerpt">
<footer class="mind-post-card-big_footer"> <p>{{excerpt words="26"}}</p>
{{primary_author.name}} </section>
{{#if primary_author.profile_image}}<img class="mind-post-card-big_author-image" src="{{img_url primary_author.profile_image size="xxs"}}" alt="Author image" />{{/if}} <footer class="mind-post-card-big_footer">
</footer> {{primary_author.name}}
</a> {{#if primary_author.profile_image}}
<img class="mind-post-card-big_author-image" src="{{img_url primary_author.profile_image size="xxs"}}"
alt="Author image"/>{{/if}}
</footer>
</a>
</article> </article>

View File

@ -1,19 +1,24 @@
{{#get "posts" limit="3" filter="tags:[{{post.tags}}]+id:-{{post.id}}" include="tags" as |related|}} {{#get "posts" limit="3" filter="tags:[{{post.tags}}]+id:-{{post.id}}" include="tags" as |related|}}
<h4>Similar posts</h4> <h4>Similar posts</h4>
{{#foreach related}} {{#foreach related}}
<article class="{{post_class}}"> <article class="{{post_class}}">
<a class="mind-post-card-sidebar_main" href="{{url}}"> <a class="mind-post-card-sidebar_main" href="{{url}}">
{{#if feature_image}} {{#if feature_image}}
<img class="mind-post-card-sidebar_feature-image" src="{{img_url feature_image size="s"}}" alt="Feature Image"/> <img class="mind-post-card-sidebar_feature-image" src="{{img_url feature_image size="s"}}"
{{/if}} alt="Feature Image"/>
<header class="mind-post-card-sidebar_header"> {{/if}}
<p class="mind-post-card-sidebar_meta"><span class="mind-post-card-sidebar_tag">{{primary_tag.name}}</span> • <time class="post-date" datetime="{{date format='YYYY-MM-DD'}}">{{date format="DD MMMM YYYY"}}</time></p> <header class="mind-post-card-sidebar_header">
<h5>{{title}}</h5> <p class="mind-post-card-sidebar_meta"><span
</header> class="mind-post-card-sidebar_tag">{{primary_tag.name}}</span> •
</a> <time class="post-date" datetime="{{date format='YYYY-MM-DD'}}">{{date
</article> format="DD MMMM YYYY"}}</time>
{{/foreach}} </p>
<h5>{{title}}</h5>
</header>
</a>
</article>
{{/foreach}}
{{else}} {{else}}
<h4>No related posts</h4> <h4>No related posts</h4>
{{/get}} {{/get}}

View File

@ -1,7 +1,7 @@
<article class="{{post_class}}"> <article class="{{post_class}}">
<a class="mind-tag-card_main" href="{{url}}"> <a class="mind-tag-card_main" href="{{url}}">
{{#if feature_image}} {{#if feature_image}}
<img class="mind-tag-card_feature-image" src="{{img_url feature_image size="s"}}" alt="Feature Image"/> <img class="mind-tag-card_feature-image" src="{{img_url feature_image size="s"}}" alt="Feature Image"/>
{{/if}} {{/if}}
<header class="mind-tag-card_header"> <header class="mind-tag-card_header">
<h4>{{name}}</h4> <h4>{{name}}</h4>

View File

@ -1,20 +1,20 @@
<script> <script>
if(window.screen.width > 800) if (window.screen.width > 800)
{ {
document.write('<script src="{{asset "js/three.r95.min.js"}}"><\/script>' + document.write('<script src="{{asset "js/three.r95.min.js"}}"><\/script>' +
'<script src="{{asset "js/vanta.net.min.js"}}"><\/script>' + '<script src="{{asset "js/vanta.net.min.js"}}"><\/script>' +
'<script>' + '<script>' +
'VANTA.NET({'+ 'VANTA.NET({' +
'el: "#vantajs",'+ 'el: "#vantajs",' +
'color: 0x3fd5ff,'+ 'color: 0x3fd5ff,' +
'backgroundColor: 0x190f2b,'+ 'backgroundColor: 0x190f2b,' +
'mouseControls: true,'+ 'mouseControls: true,' +
'touchControls: true,'+ 'touchControls: true,' +
'minHeight: 200.00,'+ 'minHeight: 200.00,' +
'minWidth: 200.00,'+ 'minWidth: 200.00,' +
'scale: 1.00,'+ 'scale: 1.00,' +
'scaleMobile: 1.00'+ 'scaleMobile: 1.00' +
'})'+ '})' +
'<\/script>'); '<\/script>');
} }
</script> </script>