mirror of
				https://github.com/inventree/inventree-website.git
				synced 2025-10-31 21:45:47 +00:00 
			
		
		
		
	reduce styling code
This commit is contained in:
		| @@ -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; | ||||
|     } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user