2
0
mirror of https://github.com/inventree/inventree-website.git synced 2025-04-28 13:36:47 +00:00

reduce styling code

This commit is contained in:
Matthias Mair 2022-04-23 12:58:05 +02:00
parent 606eb592f4
commit d7ba89e5ec
5 changed files with 8 additions and 4 deletions

View File

@ -1,7 +1,7 @@
---
layout: content
---
<article class="prose prose-sm sm:prose lg:prose-lg xl:prose-xl mx-auto">
<article>
{% include partial/alert.html
style='info'
title='caveat'

View File

@ -2,7 +2,7 @@
layout: default
---
<article class="prose prose-sm sm:prose lg:prose-lg xl:prose-xl mx-auto"
<article
{% if layout.fullwith %}
style="max-width: 90%"
{% endif %}

View File

@ -1,7 +1,7 @@
---
layout: content
---
<article class="prose prose-sm sm:prose lg:prose-lg xl:prose-xl mx-auto">
<article>
<h2>{{ page.title }}</h2>
{{ content }}
{% if page.plugin %}

View File

@ -15,7 +15,7 @@ layout: default
{% endif %}
</header>
<article class="prose prose-sm sm:prose lg:prose-lg xl:prose-xl mx-auto">
<article>
<h1>{{ page.title }}</h1>
<p>
{{ page.date | date_to_string }}

View File

@ -8,6 +8,10 @@ layout: empty
@layer components {
article {
@apply prose prose-sm sm:prose lg:prose-lg xl:prose-xl mx-auto
}
.custom-underline-blue {
@apply border-b-4 border-blue-400;
}