feat: portfolio styles
This commit is contained in:
parent
666fe03f2d
commit
e9e5e7d30b
3 changed files with 15 additions and 5 deletions
|
@ -58,7 +58,7 @@
|
||||||
{{ post.title }}
|
{{ post.title }}
|
||||||
</a>
|
</a>
|
||||||
</h3>
|
</h3>
|
||||||
<p class="mt-5 leading-6">{{ post.intro }}</p>
|
<p class="mt-5 leading-6 min-h-0 lg:min-h-32">{{ post.intro }}</p>
|
||||||
</div>
|
</div>
|
||||||
{% if post.main_image %}
|
{% if post.main_image %}
|
||||||
<div class="relative mx-auto">
|
<div class="relative mx-auto">
|
||||||
|
|
|
@ -4,8 +4,14 @@
|
||||||
|
|
||||||
{% block body_class %}template-portfolio{% endblock %}
|
{% block body_class %}template-portfolio{% endblock %}
|
||||||
|
|
||||||
{% block content %}
|
|
||||||
<h1>{{ page.title }}</h1>
|
|
||||||
|
|
||||||
{{ page.body }}
|
{% block content %}
|
||||||
|
<section class="flex flex-col items-center justify-center h-full px-0 md:px-4 lg:px-8">
|
||||||
|
<article class="mb-16 px-1 md:px-4 lg:px-8">
|
||||||
|
<h1>{{ page.title }}</h1>
|
||||||
|
<div class="blog-content w-full">
|
||||||
|
{{ page.body }}
|
||||||
|
</div>
|
||||||
|
</article>
|
||||||
|
</section>
|
||||||
{% endblock %}
|
{% endblock %}
|
|
@ -45,7 +45,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
h3 {
|
h3 {
|
||||||
@apply mt-12 mb-2 text-xl sm:text-2xl lg:text-2xl leading-none font-extrabold tracking-tight text-black dark:text-white;
|
@apply mt-10 mb-3 text-xl sm:text-2xl lg:text-2xl leading-none font-extrabold tracking-tight text-black dark:text-white;
|
||||||
}
|
}
|
||||||
|
|
||||||
h4 {
|
h4 {
|
||||||
|
@ -56,6 +56,10 @@
|
||||||
@apply my-2 mb-3 text-lg leading-relaxed;
|
@apply my-2 mb-3 text-lg leading-relaxed;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
li {
|
||||||
|
@apply my-2 text-lg;
|
||||||
|
}
|
||||||
|
|
||||||
.blog-content ul, .home-content ul {
|
.blog-content ul, .home-content ul {
|
||||||
@apply list-none list-inside;
|
@apply list-none list-inside;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue