From 5018f70387a4700bd271dd6268a787ed2add579d Mon Sep 17 00:00:00 2001 From: Aly Sewelam Date: Sat, 4 Jul 2026 20:05:59 +0300 Subject: [PATCH] bang --- notes.org | 16 +++++++++++ src/components/Hero.astro | 11 +++++++ src/styles/global.css | 60 ++++++++++++++++++++++++++++----------- 3 files changed, 71 insertions(+), 16 deletions(-) create mode 100644 notes.org diff --git a/notes.org b/notes.org new file mode 100644 index 0000000..4ac22db --- /dev/null +++ b/notes.org @@ -0,0 +1,16 @@ +* Inbox +** [2026-07-04 Sat 18:13] Style +rounded corners +soft pastels + +** [2026-07-04 Sat 18:11] Pallete +- Colors + - #00a0d6 + - #ffe77e + - #fdf5b5 + - #fc8da1 + - #e5362b +- Fonts + - Outfit + - Titan One + diff --git a/src/components/Hero.astro b/src/components/Hero.astro index c20ba4c..0534c81 100644 --- a/src/components/Hero.astro +++ b/src/components/Hero.astro @@ -13,6 +13,17 @@ const { image, title, subtitle } = Astro.props;
+
+ + + +
{title}
diff --git a/src/styles/global.css b/src/styles/global.css index c326589..bba5b38 100644 --- a/src/styles/global.css +++ b/src/styles/global.css @@ -1,15 +1,15 @@ :root { - --bg: #f0e0ea; + --bg: #fdf5b5; --surface: #ffffff; - --text: #1a1120; - --text-muted: #7a5a75; - --border: #e8d0e4; - --accent: #d4a0c0; - --accent-light: #e8bcd4; + --text: #e5362b; + --text-muted: #a8322b; + --border: #cceaf5; + --accent: #00a0d6; + --accent-light: #80cfea; --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06); --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08); --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.1); - --radius: 4px; + --radius: 8px; --max-width: 1200px; --content-width: 720px; --font-sans: system-ui, -apple-system, sans-serif; @@ -116,18 +116,45 @@ h1, h2, h3, h4 { align-items: center; } .hero-image { - aspect-ratio: 3 / 4; - overflow: hidden; - background: var(--border); - border-radius: var(--radius); + position: relative; + aspect-ratio: 1 / 1; + background: #e5362b; + border: 24px solid #e5362b; + border-top: 64px solid #e5362b; + border-radius: 16px; + padding: 0; + display: flex; + align-items: center; + justify-content: center; +} +.hero-image-icons { + position: absolute; + top: -48px; + right: -5px; + display: flex; + gap: 8px; + z-index: 1; +} +.hero-icon { + width: 28px; + height: 28px; + background: #fdf5b5; + border-radius: 50%; + display: flex; + align-items: center; + justify-content: center; + color: #e5362b; +} +.hero-icon svg { + width: 14px; + height: 14px; } .hero-image img { width: 100%; height: 100%; object-fit: cover; - transition: transform 0.6s ease; + border-radius: 12px; } -.hero-image:hover img { transform: scale(1.03); } .hero-content h1 { font-size: 2.5rem; margin-bottom: 0.5rem; @@ -167,7 +194,7 @@ h1, h2, h3, h4 { /* Painting card */ .painting-card { background: var(--surface); - border-radius: var(--radius); + border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-sm); transition: transform 0.3s ease, box-shadow 0.3s ease; @@ -178,9 +205,10 @@ h1, h2, h3, h4 { box-shadow: var(--shadow-lg); } .painting-card-image { - aspect-ratio: 3 / 4; - overflow: hidden; + aspect-ratio: 1 / 1; background: var(--border); + border-radius: 16px; + overflow: hidden; } .painting-card-image img { width: 100%;