mirror of
https://github.com/Radiquum/radiquum.github.io.git
synced 2025-09-08 15:33:54 +05:00
feat: add tablet styles (768-1023px)
This commit is contained in:
parent
5981db3626
commit
e63a3126ae
10 changed files with 67 additions and 24 deletions
|
@ -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">
|
||||
|
|
|
@ -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>
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue