feat: add tablet styles (768-1023px)

This commit is contained in:
Kentai Radiquum 2025-07-23 11:52:12 +05:00
parent 5981db3626
commit e63a3126ae
Signed by: Radiquum
GPG key ID: 858E8EE696525EED
10 changed files with 67 additions and 24 deletions

View file

@ -14,8 +14,8 @@ export const CharacterImage = ({
}: CharacterImageProps) => {
return (
<div className="relative rounded-4xl overflow-hidden">
<img src={image} alt="" className="rounded-4xl" />
<div className="absolute left-0 right-0 bottom-0 from-[#131314] to-[#131314]/0 bg-gradient-to-t">
<img src={image} alt="" className="rounded-4xl md:w-[288px] aspect-square" />
<div className="absolute left-0 right-0 bottom-0 from-[#131314] to-[#131314]/0 bg-gradient-to-t md:hidden">
<div className="p-4 flex gap-2 justify-between items-end">
<p className="text-5xl">{name}</p>
<p className="flex-1 text-right text-3xl">

View file

@ -2,7 +2,7 @@ export const Section = ({
children,
}: Readonly<{ children: React.ReactNode }>) => {
return (
<div className="max-w-[400px] w-full mx-auto flex flex-col gap-2">
<div className="max-w-[400px] md:max-w-[542px] w-full mx-auto flex flex-col gap-2">
{children}
</div>
);