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';

View File

@ -28,7 +28,6 @@ TABLE OF CONTENTS
*/ */
/* /*
1. Global Settings 1. Global Settings
-------------------------------------------------- --------------------------------------------------
@ -142,6 +141,7 @@ main {
} }
.mind-content_main { .mind-content_main {
max-width: 1260px;
width: 1260px; width: 1260px;
margin: auto; margin: auto;
} }
@ -173,6 +173,7 @@ Used to style the navigation bars.
transition: .5s; transition: .5s;
} }
/* This class is applied by a JS script, so that users with JS disabled /* This class is applied by a JS script, so that users with JS disabled
can still see the navbar, but it won't move while they're scrolling. can still see the navbar, but it won't move while they're scrolling.
This is needed because the navbar is transparent, and a black background This is needed because the navbar is transparent, and a black background
@ -297,6 +298,7 @@ nav.mind-site-footer_nav {
text-align: right; text-align: right;
margin: 20px; margin: 20px;
} }
/* /*
1.5. Header 1.5. Header
-------------------------------------------------- --------------------------------------------------
@ -490,6 +492,7 @@ footer.mind-post-card-big_footer {
border-radius: 5px; border-radius: 5px;
} }
/* 4.2. Navbar Post Card style /* 4.2. Navbar Post Card style
-------------------------------------------------- --------------------------------------------------
*/ */
@ -567,6 +570,7 @@ footer.mind-post-card-big_footer {
transform: translate3d(0, -5px, 0); transform: translate3d(0, -5px, 0);
box-shadow: 0 0 2px rgb(0, 0, 0), 0 2px 10px rgb(0, 0, 0); box-shadow: 0 0 2px rgb(0, 0, 0), 0 2px 10px rgb(0, 0, 0);
} }
.mind-tag-card_feature-image { .mind-tag-card_feature-image {
/* /*
@ -586,6 +590,7 @@ footer.mind-post-card-big_footer {
border-radius: 5px; border-radius: 5px;
} }
.mind-tag-card_header { .mind-tag-card_header {
margin: auto; margin: auto;
} }
@ -595,6 +600,7 @@ footer.mind-post-card-big_footer {
text-align: center; text-align: center;
margin: 10px; margin: 10px;
} }
/* 5. Pages & Posts style /* 5. Pages & Posts style
-------------------------------------------------- --------------------------------------------------
style shared between pages and posts (eg. title). style shared between pages and posts (eg. title).
@ -643,8 +649,6 @@ instead of pages ".mind-page*".
*/ */
.mind-post_main { .mind-post_main {
max-width: 1260px;
width: 1260px;
display: grid; display: grid;
grid-template-columns: 1fr 4fr 1fr; grid-template-columns: 1fr 4fr 1fr;
margin: auto; margin: auto;
@ -929,6 +933,7 @@ img.mind-post_feature-image {
.kg-gallery-image { .kg-gallery-image {
margin: 10px 10px; margin: 10px 10px;
} }
.kg-gallery-image img { .kg-gallery-image img {
object-fit: cover; object-fit: cover;
height: 100%; height: 100%;
@ -1030,20 +1035,36 @@ div.mind-policy-popup {
/* ARROW BOUNCE (on Pages and Posts)*/ /* ARROW BOUNCE (on Pages and Posts)*/
@keyframes arrow-bounce-mid { @keyframes arrow-bounce-mid {
0% { top: 89%; } 0% {
50% { top: 87%; } top: 89%;
100% { top: 89%; } }
50% {
top: 87%;
}
100% {
top: 89%;
}
} }
/* ARROW BOUNCE (on Index and Home pages)*/ /* ARROW BOUNCE (on Index and Home pages)*/
@keyframes arrow-bounce-big { @keyframes arrow-bounce-big {
0% { top: 94%; } 0% {
50% { top: 92%; } top: 94%;
100% { top: 94%; } }
50% {
top: 92%;
}
100% {
top: 94%;
}
} }
/* ANIMATED GRADIENT BACKGROUND */ /* ANIMATED GRADIENT BACKGROUND */
@keyframes gradient { @keyframes gradient {
0% {background-position: 0%} 0% {
100% {background-position: 100%} background-position: 0%
}
100% {
background-position: 100%
}
} }

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à",

View File

@ -6,7 +6,9 @@
{{/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>
<time class="post-date" datetime="{{date format='YYYY-MM-DD'}}">{{date format="DD MMMM YYYY"}}</time>
</p>
<h3>{{title}}</h3> <h3>{{title}}</h3>
</header> </header>
<section class="mind-post-card-big_excerpt"> <section class="mind-post-card-big_excerpt">
@ -14,7 +16,9 @@
</section> </section>
<footer class="mind-post-card-big_footer"> <footer class="mind-post-card-big_footer">
{{primary_author.name}} {{primary_author.name}}
{{#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}} {{#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> </footer>
</a> </a>
</article> </article>

View File

@ -5,10 +5,15 @@
<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"}}"
alt="Feature Image"/>
{{/if}} {{/if}}
<header class="mind-post-card-sidebar_header"> <header class="mind-post-card-sidebar_header">
<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> <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>
<h5>{{title}}</h5> <h5>{{title}}</h5>
</header> </header>
</a> </a>