feat: integrate Tailwind CSS and remove legacy styles
This commit is contained in:
@@ -3,11 +3,12 @@
|
||||
<f:section name="Header" />
|
||||
|
||||
<f:section name="Main">
|
||||
<f:asset.css identifier="CBStats" href="{cb:assetPath()}/frontend.css" />
|
||||
|
||||
<div class="stats-wrapper">
|
||||
<div class="relative z-10 bg-white p-4 md:py-12 md:px-4 max-w-6xl mx-auto grid grid-cols-2 md:grid-cols-4 gap-4 md:gap-8">
|
||||
<f:format.html>
|
||||
{data.bodytext}
|
||||
{data.bodytext -> f:format.raw() -> cb:processRichText(styles: [
|
||||
'p=text-center uppercase text-primary',
|
||||
'span.big-number=block text-6xl font-hajime normal-case'
|
||||
])}
|
||||
</f:format.html>
|
||||
</div>
|
||||
</f:section>
|
||||
|
||||
Reference in New Issue
Block a user