Rework SiteTitle styling
This commit is contained in:
@@ -20,20 +20,14 @@
|
||||
threshold: 0,
|
||||
}}
|
||||
>
|
||||
<strong class="mask">
|
||||
<SplitText text="Houses" mode="chars" />
|
||||
</strong>
|
||||
<span class="mask">
|
||||
<SplitText text="Of The" mode="chars" />
|
||||
</span>
|
||||
<strong class="mask">
|
||||
<SplitText text="World" mode="chars" />
|
||||
</strong>
|
||||
<SplitText text="Houses" mode="chars" class="pink mask" />
|
||||
<SplitText text="Of The" mode="chars" class="middle mask" />
|
||||
<SplitText text="World" mode="chars" class="pink mask" />
|
||||
</h1>
|
||||
{:else}
|
||||
<div class="site-title site-title--{variant}">
|
||||
<strong>Houses</strong>
|
||||
<span>Of The</span>
|
||||
<strong>World</strong>
|
||||
<span class="word-1">Houses</span>
|
||||
<span class="middle word-2">Of The</span>
|
||||
<span class="word-3">World</span>
|
||||
</div>
|
||||
{/if}
|
||||
Reference in New Issue
Block a user