feat: blog post styling
continuous-integration/drone/push Build is failing Details

This commit is contained in:
kolaente 2022-01-29 16:55:26 +01:00
parent d259f4e8f2
commit 7dba1e4924
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
3 changed files with 22 additions and 18 deletions

View File

@ -0,0 +1,7 @@
<a href="https://vikunja.cloud/?utm_source=io&utm_medium=io&utm_campaign=blog_post"
class="bg-hero-llama bg-cover bg-no-repeat bg-center py-44 flex items-center justify-center flex-col shadow hover:shadow-lg rounded text-white mt-8">
<h2 class="font-title text-3xl font-bold">Vikunja Cloud is here!</h2>
<p class="pt-4">
Get a hosted Vikunja Account.
</p>
</a>

View File

@ -1,24 +1,17 @@
{{ partial "header.html" . }} {{ partial "header.html" . }}
<div class="max-w-xl mx-auto"> <article class="max-w-screen-lg mx-auto mt-4">
<div class="content"> <h1 class="text-3xl font-bold font-title mb-8">
<h1> <a href="{{ .Permalink }}">
<a href="{{ .Permalink }}"> {{ .Title }}
{{ .Title }} </a>
</a> </h1>
</h1>
<p> <div class="max-w-none prose prose-a:text-primary prose-a:no-underline hover:prose-a:underline prose-h1:font-title prose-h1:font-bold prose-img:rounded-sm">
<i>{{ .Date.Format "2006-01-02" }}</i>
</p>
{{ partial "headline-hash.html" .Content }} {{ partial "headline-hash.html" .Content }}
</div> </div>
<div class="vikunja-cloud-banner"> {{ partial "vikunja-cloud-banner.html" }}
<h2 class="title">Vikunja Cloud is here!</h2> </article>
<a href="https://vikunja.cloud/?utm_source=io&utm_medium=io&utm_campaign=blog_post" class="button noshadow">
Get a hosted Vikunja Account
</a>
</div>
</div>
{{ partial "footer.html" . }} {{ partial "footer.html" . }}

View File

@ -5,6 +5,11 @@ module.exports = {
'./src/*.css', './src/*.css',
'./layouts/**/*.html' './layouts/**/*.html'
], ],
safelist: [
'p-4',
'!text-white',
'!underline',
],
theme: { theme: {
extend: { extend: {
colors: { colors: {
@ -25,6 +30,5 @@ module.exports = {
plugins: [ plugins: [
require('@tailwindcss/typography'), require('@tailwindcss/typography'),
require('@tailwindcss/forms'), require('@tailwindcss/forms'),
require('@tailwindcss/aspect-ratio'),
], ],
} }