/* * Gradient Text Effect * Replaces Tailwind's bg-gradient-to-r + from-pink-500 + to-blue-500 + bg-clip-text + text-transparent * Used for main heading text effect */ .gradient-text { background: linear-gradient(to right, var(--color-pink-500), var(--color-blue-500)); -webkit-background-clip: text; background-clip: text; color: transparent; } /* Button Links */ /* * Button Component * Replaces DaisyUI's .btn class with custom styling * Base button with hover effects and proper alignment */ .btn { display: inline-flex; align-items: center; justify-content: center; padding: 0.5rem 1rem; border-radius: 0.5rem; font-weight: 500; transition: background-color 0.2s; background-color: rgba(255, 255, 255, 0.1); } .btn:hover { background-color: rgba(255, 255, 255, 0.2); } /* * Icon Link Component * Custom component for icon buttons * Includes hover scale effect (transform: scale(1.1)) */ .icon-link { display: inline-flex; align-items: center; justify-content: center; padding: 0.5rem; border-radius: 0.5rem; transition: transform 0.2s; } .icon-link:hover { transform: scale(1.1); } /* Header & Navigation */ /* * Navigation Bar * Replaces DaisyUI's .navbar component * Provides a responsive header with proper spacing */ .navbar { display: flex; align-items: center; padding: 0.5rem 1rem; min-height: 4rem; width: 100%; } .navbar-start { flex: 1; } .navbar-end { flex: 1; display: flex; justify-content: flex-end; } /* * Dropdown Menu * Replaces DaisyUI's .dropdown component * Used for the hamburger menu navigation */ .dropdown { position: relative; display: inline-block; } /* * Ghost Button * Replaces DaisyUI's .btn-ghost * Transparent button with hover effect, used for hamburger menu */ .btn-ghost { display: inline-flex; align-items: center; justify-content: center; padding: 0; width: 3rem; height: 3rem; } .btn-ghost svg { margin: 0; } .dropdown-content { display: none; position: absolute; right: 0; margin-top: 0.75rem; padding: 0.5rem; background-color: var(--theme-night-bg); border-radius: 0.5rem; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); z-index: 50; } .menu { list-style: none; padding: 0; margin: 0; } .menu-compact { display: flex; flex-direction: column; gap: 0.5rem; } /* * Badge Component * Replaces DaisyUI's .badge and .badge-accent * Used for tags and labels with accent color variant */ .badge { display: inline-flex; align-items: center; justify-content: center; background-color: var(--prose-invert-code-bg); color: var(--prose-invert-code); padding: 0.25rem 0.75rem; border-radius: 1rem; font-size: 0.875rem; font-weight: 500; } .badge-accent { background-color: var(--color-pink-500); color: var(--color-white); }