mirror of
https://github.com/Xevion/undefined.behavio.rs.git
synced 2025-12-11 10:09:10 -06:00
Improve mobile sizing for Header, add screen-reader directives
This commit is contained in:
@@ -90,8 +90,9 @@ const text = propText ?? "undefined behaviors";
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
<header class:list={["text-5xl text-center lowercase", className]}>
|
<header class:list={["text-3xl md:text-4xl lg:text-5xl text-center lowercase", className]}>
|
||||||
<div class="stack" style="--stacks: 3;">
|
<span class="sr-only">{text}</span>
|
||||||
|
<div class="stack" style="--stacks: 3;" aria-hidden="true">
|
||||||
<span style="--index: 0;">{text}</span>
|
<span style="--index: 0;">{text}</span>
|
||||||
<span style="--index: 1;">{text}</span>
|
<span style="--index: 1;">{text}</span>
|
||||||
<span style="--index: 2;">{text}</span>
|
<span style="--index: 2;">{text}</span>
|
||||||
|
|||||||
Reference in New Issue
Block a user