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 */
@font-face {
font-family: 'Oswald';

View File

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

View File

@ -5,7 +5,9 @@
"engines": {
"ghost-api": "v3"
},
"keywords": ["ghost-theme"],
"keywords": [
"ghost-theme"
],
"license": "Copyright",
"author": {
"name": "Lorenzo Dellacà",

View File

@ -6,7 +6,9 @@
{{/if}}
<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>
• <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>
</header>
<section class="mind-post-card-big_excerpt">
@ -14,7 +16,9 @@
</section>
<footer class="mind-post-card-big_footer">
{{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>
</a>
</article>

View File

@ -5,10 +5,15 @@
<a class="mind-post-card-sidebar_main" href="{{url}}">
{{#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}}
<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>
</header>
</a>