UNPKG

wylink

Version:

Modern ve özelleştirilebilir link portal (linktree tarzı) oluşturmak için CLI aracı

286 lines (246 loc) 5.53 kB
/* Google Font Import */ @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap'); /* CSS Reset and Global Styles */ * { margin: 0; padding: 0; box-sizing: border-box; } :root { --primary-bg: #0D1321; --secondary-bg: #1D2D44; --card-bg: #3E5C76; --highlight: #748CAB; --text-color: #F0EBD8; --shadow: rgba(0, 0, 0, 0.2); --glass-bg: rgba(62, 92, 118, 0.2); } body { font-family: 'Poppins', sans-serif; background-color: var(--primary-bg); color: var(--text-color); line-height: 1.6; min-height: 100vh; position: relative; overflow-x: hidden; } a { text-decoration: none; color: var(--text-color); transition: all 0.3s ease; } /* Particles.js Container */ #particles-js { position: absolute; width: 100%; height: 100%; top: 0; left: 0; z-index: -1; } /* Main Container */ .container { max-width: 800px; margin: 0 auto; padding: 2rem 1rem; z-index: 1; position: relative; } /* Profile Section */ .profile { display: flex; flex-direction: column; align-items: center; margin-bottom: 2rem; text-align: center; } .profile-image { width: 120px; height: 120px; border-radius: 50%; overflow: hidden; margin-bottom: 1rem; border: 3px solid var(--highlight); box-shadow: 0 0 20px var(--shadow); transition: all 0.3s ease; } .profile-image img { width: 100%; height: 100%; object-fit: cover; } .profile-image:hover { transform: scale(1.05); box-shadow: 0 0 25px var(--highlight); } .profile-name { font-size: 2rem; font-weight: 700; margin-bottom: 0.5rem; color: var(--text-color); } .profile-description { font-size: 1rem; font-weight: 300; margin-bottom: 1.5rem; color: var(--highlight); } /* Social Icons */ .social-icons { display: flex; gap: 1rem; margin-bottom: 2rem; } .social-icon { width: 40px; height: 40px; border-radius: 50%; background-color: var(--secondary-bg); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; transition: all 0.3s ease; box-shadow: 0 4px 10px var(--shadow); } .social-icon:hover { transform: translateY(-5px); background-color: var(--highlight); color: var(--primary-bg); } /* Links Container */ .links-container { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2rem; } .link-card { background: var(--glass-bg); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-radius: 10px; padding: 1rem; display: flex; align-items: center; transition: all 0.3s ease; border: 1px solid rgba(255, 255, 255, 0.1); box-shadow: 0 8px 15px var(--shadow); overflow: hidden; position: relative; } .link-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(45deg, transparent, var(--highlight), transparent); opacity: 0; transition: opacity 0.3s ease; z-index: -1; } .link-card:hover { transform: translateY(-5px) scale(1.02); box-shadow: 0 15px 20px var(--shadow); } .link-card:hover::before { opacity: 0.2; } .link-icon { width: 40px; height: 40px; border-radius: 50%; background-color: var(--secondary-bg); display: flex; align-items: center; justify-content: center; margin-right: 1rem; font-size: 1.2rem; flex-shrink: 0; transition: all 0.3s ease; } .link-card:hover .link-icon { background-color: var(--highlight); color: var(--primary-bg); transform: rotate(360deg); } .link-content { flex-grow: 1; } .link-title { font-size: 1.1rem; font-weight: 600; margin-bottom: 0.2rem; } .link-description { font-size: 0.85rem; color: rgba(240, 235, 216, 0.8); } /* Footer */ footer { text-align: center; padding: 1rem 0; font-size: 0.85rem; color: rgba(240, 235, 216, 0.7); border-top: 1px solid rgba(255, 255, 255, 0.1); margin-top: 2rem; } footer a:hover { color: var(--highlight); } /* Animation Classes */ .reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s ease; } .revealed { opacity: 1; transform: translateY(0); } /* Responsive Design */ @media screen and (max-width: 768px) { .container { padding: 1.5rem 1rem; } .profile-image { width: 100px; height: 100px; } .profile-name { font-size: 1.8rem; } .social-icon { width: 35px; height: 35px; font-size: 1rem; } } @media screen and (max-width: 480px) { .profile-image { width: 80px; height: 80px; } .profile-name { font-size: 1.5rem; } .profile-description { font-size: 0.9rem; } .link-card { padding: 0.8rem; } .link-icon { width: 35px; height: 35px; font-size: 1rem; } .link-title { font-size: 1rem; } .link-description { font-size: 0.8rem; } }