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:
parent
606eb592f4
commit
d7ba89e5ec
@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
layout: content
|
layout: content
|
||||||
---
|
---
|
||||||
<article class="prose prose-sm sm:prose lg:prose-lg xl:prose-xl mx-auto">
|
<article>
|
||||||
{% include partial/alert.html
|
{% include partial/alert.html
|
||||||
style='info'
|
style='info'
|
||||||
title='caveat'
|
title='caveat'
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
layout: default
|
layout: default
|
||||||
---
|
---
|
||||||
|
|
||||||
<article class="prose prose-sm sm:prose lg:prose-lg xl:prose-xl mx-auto"
|
<article
|
||||||
{% if layout.fullwith %}
|
{% if layout.fullwith %}
|
||||||
style="max-width: 90%"
|
style="max-width: 90%"
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
layout: content
|
layout: content
|
||||||
---
|
---
|
||||||
<article class="prose prose-sm sm:prose lg:prose-lg xl:prose-xl mx-auto">
|
<article>
|
||||||
<h2>{{ page.title }}</h2>
|
<h2>{{ page.title }}</h2>
|
||||||
{{ content }}
|
{{ content }}
|
||||||
{% if page.plugin %}
|
{% if page.plugin %}
|
||||||
|
@ -15,7 +15,7 @@ layout: default
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
<article class="prose prose-sm sm:prose lg:prose-lg xl:prose-xl mx-auto">
|
<article>
|
||||||
<h1>{{ page.title }}</h1>
|
<h1>{{ page.title }}</h1>
|
||||||
<p>
|
<p>
|
||||||
{{ page.date | date_to_string }}
|
{{ page.date | date_to_string }}
|
||||||
|
@ -8,6 +8,10 @@ layout: empty
|
|||||||
|
|
||||||
|
|
||||||
@layer components {
|
@layer components {
|
||||||
|
article {
|
||||||
|
@apply prose prose-sm sm:prose lg:prose-lg xl:prose-xl mx-auto
|
||||||
|
}
|
||||||
|
|
||||||
.custom-underline-blue {
|
.custom-underline-blue {
|
||||||
@apply border-b-4 border-blue-400;
|
@apply border-b-4 border-blue-400;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user