mirror of
https://github.com/inventree/inventree-website.git
synced 2025-04-28 05:26:44 +00:00
reduce styling code
This commit is contained in:
parent
606eb592f4
commit
d7ba89e5ec
@ -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'
|
||||
|
@ -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 %}
|
||||
|
@ -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 %}
|
||||
|
@ -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 }}
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user