diff --git a/src/app/page.css b/src/app/page.css index 1763897..51967ba 100644 --- a/src/app/page.css +++ b/src/app/page.css @@ -1,22 +1,22 @@ :root { --bg: #fff; - --bg-pattern: #ebdfdf; + --bg-pattern: #f5eded; - --surface: #fff; - --border: #e2e8f0; + --surface: #ffffff; + --border: #fbcfe8; - --text-header: #444; - --text-title: #666; - --text-title-shadow: #7d93bb; + --text-header: #475569; + --text-title: #64748b; + --text-title-shadow: #cbd5e1; - --text-main: #5a6b82; + --text-main: #64748b; --text-dim: #94a3b8; --accent: #d7e6ff; --pink-accent: #ffd6f5; --sparkle: #ffffff; - --sparkle-glow: rgba(0, 100, 255, 0.555); + --sparkle-glow: rgba(255, 182, 193, 0.8); --border-width: 2px; } @@ -38,11 +38,8 @@ body { overflow-x: hidden; background-color: var(--bg); - background-image: - linear-gradient(45deg, var(--bg-pattern) 25%, transparent 25%, transparent 75%, var(--bg-pattern) 75%, var(--bg-pattern)), - linear-gradient(45deg, var(--bg-pattern) 25%, #fff 25%, #fff 75%, var(--bg-pattern) 75%, var(--bg-pattern)); - background-size: 40px 40px; - background-position: 0 0, 20px 20px; + background-image: radial-gradient(var(--bg-pattern) 2px, transparent 2px); + background-size: 16px 16px; } /* @@ -54,7 +51,7 @@ body { } 50% { - transform: translateY(-10px); + transform: translateY(-6px); } 100% { @@ -64,20 +61,20 @@ body { .main-frame { background: var(--surface); - - padding: 40px; - + padding: 35px 25px 25px 25px; position: relative; - max-width: 420px; + max-width: 400px; width: 100%; - box-shadow: 4px 4px 0px var(--accent); - border: 2px solid #fff; - outline: 1px solid var(--pink-accent); + border: 1px solid var(--pink-accent); + outline: 4px solid #fff; + box-shadow: 0 0 0 5px var(--accent), 8px 8px 0px rgba(215, 230, 255, 0.5); - animation: float 6s ease-in-out infinite; + border-radius: 2px; + animation: float 5s ease-in-out infinite; } + .main-frame::before, .main-frame::after { content: "✧"; @@ -93,74 +90,79 @@ body { } .main-frame::after { - bottom: 10px; + top: 10px; right: 10px; } .content-box { - border: 1px ridge var(--pink-accent); - background: #fffafa; + border: 1px double var(--accent); + background: #fffdfd; margin-top: 20px; - padding: 18px; + padding: 15px; + position: relative; + box-shadow: inset 0 0 10px rgba(255, 214, 245, 0.2); +} + +.content-box::before { + content: "•"; + position: absolute; + top: -4px; + left: 6px; + background: #fff; + padding: 0 4px; + font-size: 0.6rem; + color: var(--text-dim); } /* text stuffs */ h1 { - font-size: 1.5rem; - letter-spacing: -1px; + font-size: 1.8rem; + letter-spacing: 1px; color: var(--text-header); text-transform: lowercase; font-style: italic; font-weight: normal; - margin-bottom: 5px; - filter: drop-shadow(0 0 15px var(--text-title-shadow)); + margin-top: 10px; + margin-bottom: 2px; + text-shadow: 2px 2px 0px var(--pink-accent); } .motto { - font-size: 0.8rem; - letter-spacing: 2px; - margin-bottom: 20px; + font-size: 0.75rem; + letter-spacing: 1px; + margin-bottom: 15px; color: var(--text-dim); } .social-links { - margin: 25px 0; + margin: 20px 0; font-size: 0.8rem; + color: var(--pink-accent); } .social-links a { color: var(--text-main); text-decoration: none; - margin: 0 10px; - padding: 2px 8px; - transition: 0.5s; + margin: 0 6px; + padding: 2px 6px; + border-bottom: 1px dashed transparent; + transition: all 0.3s ease; +} + +.social-links a:hover { + color: var(--text-header); + border-bottom: 1px dashed var(--pink-accent); } .title { - font-size: 1.1rem; - margin-bottom: 10px; + font-size: 0.95rem; + font-style: italic; + font-weight: normal; + margin-bottom: 8px; color: var(--text-title); -} - -.invite-btn { - display: inline-block; - margin-top: 15px; - - text-decoration: none; - color: var(--text-dim); - font-size: 0.7rem; - text-transform: uppercase; - letter-spacing: 2px; - - transition: 0.3s; -} - -.invite-btn:hover { - color: var(--accent); - text-shadow: 0 0 15px var(--sparkle); - letter-spacing: 2.5px; + letter-spacing: 0.5px; } .directory { @@ -168,46 +170,54 @@ h1 { padding: 0; display: flex; justify-content: center; - gap: 12px; + gap: 8px; + margin: 5px 0; } .directory a { - padding: 4px 12px; - font-size: 0.8rem; + text-decoration: none; + background: #fff; + + padding: 3px 8px; + font-size: 0.73rem; color: var(--text-main); - transition: 0.5s; + border: 1px solid #fff; + + padding: 3px 10px; + + border: 1px solid var(--accent); + box-shadow: 2px 2px 0px var(--pink-accent); + + transition: 0.2s ease; } -/* text hover anim */ -.social-links a:hover, .directory a:hover { - color: #fff; - background: var(--pink-accent); - box-shadow: 0 0 15px var(--pink-accent); - border-radius: 4px; cursor: url('https://cdn.cursors-4u.net/previews/my-custom-cursor-8-1-e2eeed6e-preview-32.webp') 0 0, auto !important; + color: var(--text-header); + box-shadow: 1px 1px 0px var(--pink-accent); + background: var(--pink-accent); } .marquee { width: 100%; overflow: hidden; white-space: nowrap; - padding: 10px 0; - margin-top: 30px; + padding: 6px 0; + margin-top: 25px; - font-size: 0.75rem; - letter-spacing: 2.5px; - color: var(--text-dim); + font-size: 0.7rem; + color: var(--text-main); + opacity: 0.8; - border-top: 1px ridge var(--pink-accent); - border-bottom: 1px ridge var(--pink-accent); - background: rgba(255, 255, 255, 0.5); + border-top: 1px double var(--pink-accent); + border-bottom: 1px double var(--pink-accent); + background: linear-gradient(to right, transparent, rgba(255, 214, 245, 0.3), transparent); } .marquee span { display: inline-block; padding-left: 100%; - animation: marquee 15s linear infinite; + animation: marquee 25s linear infinite; } @keyframes marquee { @@ -224,68 +234,53 @@ h1 { modal */ .modal-overlay { - position: fixed; - top: 0; - left: 0; - width: 100%; - height: 100%; - background: rgba(255, 255, 255, 0.6); - backdrop-filter: blur(2px); - display: flex; - justify-content: center; - align-items: center; - z-index: 1000; - animation: fadeIn 0.3s ease; + position: fixed; + top: 0; + left: 0; + width: 100%; + height: 100%; + background: rgba(255, 255, 255, 0.4); + backdrop-filter: blur(3px); + display: flex; + justify-content: center; + align-items: center; + z-index: 1000; } .modal-content { - background: var(--surface); - padding: 25px; - border: 1px ridge var(--pink-accent); - outline: 1px solid var(--accent); - box-shadow: 8px 8px 0px var(--pink-accent); - text-align: center; - min-width: 250px; + background: var(--surface); + padding: 20px; + border: 1px solid var(--pink-accent); + box-shadow: 4px 4px 0px var(--accent); + text-align: center; + min-width: 250px; } .modal-header { - color: var(--text-title); - font-size: 1.1rem; - margin-bottom: 15px; - border-bottom: 1px double var(--accent); - padding-bottom: 5px; + color: var(--text-title); + font-size: 1rem; + font-style: italic; + margin-bottom: 12px; + border-bottom: 1px dashed var(--accent); + padding-bottom: 5px; } .modal-body p { - font-size: 0.9rem; - margin: 8px 0; - color: var(--text-main); + font-size: 0.85rem; + margin: 6px 0; + color: var(--text-main); } .modal-close-btn { - background: none; - border: none; - margin-top: 15px; - font-family: inherit; - font-size: 0.7rem; - color: var(--text-dim); - text-transform: uppercase; - letter-spacing: 1px; - cursor: pointer; - transition: 0.3s; -} - -.modal-close-btn:hover { - color: var(--text-title-shadow); - letter-spacing: 2px; -} - -@keyframes fadeIn { - from { opacity: 0; } - to { opacity: 1; } -} - -@keyframes popIn { - from { transform: scale(0.8); opacity: 0; } - to { transform: scale(1); opacity: 1; } -} + background: none; + border: none; + margin-top: 12px; + font-family: inherit; + font-size: 0.7rem; + color: var(--text-dim); + text-transform: lowercase; + font-style: italic; + cursor: pointer; + text-decoration: underline; + text-underline-offset: 2px; +} \ No newline at end of file