UNPKG

anipub

Version:

A simple Anime Watching Site using Nodejs

285 lines (242 loc) 7.05 kB
:root { --primary: #8a2be2; --primary-dark: #6a1cb9; --secondary: #ff6b6b; --dark: #1a1a2e; --darker: #16213e; --light: #f8f9fa; --gray: #e9ecef; --text: #2d3346; --text-light: #6c757d; --success: #28a745; --warning: #ffc107; --danger: #dc3545; --border-radius: 12px; --box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1); --transition: all 0.3s ease; } * { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: 'Poppins', sans-serif; background: linear-gradient(135deg, var(--darker) 0%, var(--dark) 100%); color: var(--light); line-height: 1.6; min-height: 100vh; padding-bottom: 2rem; } .profile-container { margin-top: 2rem; display: grid; grid-template-columns: 1fr 2fr; gap: 2rem; } @media (max-width: 900px) { .profile-container { grid-template-columns: 1fr; } } .profile-card { background: rgba(26, 26, 46, 0.6); backdrop-filter: blur(10px); border-radius: var(--border-radius); overflow: hidden; box-shadow: var(--box-shadow); transition: var(--transition); } .profile-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2); } .profile-header { position: relative; height: 160px; overflow: hidden; } .profile-bg { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.7); } .profile-img-container { position: absolute; bottom: 5px; left: 70px; transform: translateX(-50%); width: 120px; height: 120px; border-radius: 50%; border: 4px solid var(--dark); background: var(--dark); overflow: hidden; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2); } .profile-img { width: 100%; height: 100%; object-fit: cover; } .profile-body { padding: 70px 20px 20px; text-align: center; } .profile-name { font-size: 1.8rem; font-weight: 700; margin-bottom: 0.5rem; color: var(--light); } .profile-bio { color: var(--text-light); margin-bottom: 1.5rem; font-style: italic; } .profile-stats { display: flex; justify-content: center; gap: 1.5rem; margin-bottom: 1.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid rgba(255, 255, 255, 0.1); } .stat { text-align: center; } .stat-value { font-size: 1.5rem; font-weight: 700; color: var(--secondary); } .stat-label { font-size: 0.85rem; color: var(--text-light); } .profile-actions { display: flex; justify-content: center; gap: 1rem; } .btn { padding: 0.6rem 1.5rem; border-radius: 50px; border: none; font-weight: 500; cursor: pointer; transition: var(--transition); display: inline-flex; align-items: center; gap: 0.5rem; } .btn-primary { background: var(--primary); color: white; } .btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); } .btn-outline { background: transparent; border: 1px solid var(--primary); color: var(--primary); } .btn-outline:hover { background: rgba(138, 43, 226, 0.1); transform: translateY(-2px); } .details-card { background: rgba(26, 26, 46, 0.6); backdrop-filter: blur(10px); border-radius: var(--border-radius); padding: 2rem; box-shadow: var(--box-shadow); transition: var(--transition); } .details-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2); } .details-header { margin-bottom: 2rem; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid rgba(255, 255, 255, 0.1); padding-bottom: 1rem; } .details-title { font-size: 1.5rem; font-weight: 600; color: var(--light); } .detail-item { display: flex; margin-bottom: 1.5rem; align-items: flex-start; } .detail-icon { width: 40px; height: 40px; border-radius: 50%; background: rgba(138, 43, 226, 0.2); display: flex; align-items: center; justify-content: center; margin-right: 1rem; color: var(--primary); flex-shrink: 0; } .detail-content { flex: 1; } .detail-label { font-size: 0.9rem; color: var(--text-light); margin-bottom: 0.25rem; } .detail-value { color: var(--light); font-weight: 500; } .genre-list { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.5rem; } .genre-tag { background: rgba(255, 107, 107, 0.2); color: var(--secondary); padding: 0.35rem 0.8rem; border-radius: 50px; font-size: 0.85rem; transition: var(--transition); text-decoration: none; } .genre-tag:hover { background: var(--secondary); color: var(--dark); transform: translateY(-2px); } @keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } } .profile-card, .details-card { animation: fadeIn 0.6s ease-out; } .details-card { animation-delay: 0.2s; animation-fill-mode: both; }