/* Genel Stiller */ body { margin: 0; padding: 0; font-family: 'Poppins', sans-serif; background: url('https://images.unsplash.com/photo-1517511620798-cec17d428bc0?fit=crop&w=1500&q=80') no-repeat center center fixed; background-size: cover; color: #eee; display: flex; flex-direction: column; min-height: 100vh; overflow-x: hidden; /* Yatay kaymayı engelle */ } /* Header */ .header { width: 100%; text-align: center; padding: 10px 0; background: linear-gradient(135deg, #6A11CB, #2575FC); position: relative; top: 0; left: 0; font-size: 1.2rem; /* Küçültüldü */ color: #FFFFFF; z-index: 1000; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3); height: 50px; line-height: 25px; backdrop-filter: blur(6px); display: flex; align-items: center; justify-content: space-between; padding: 8px 15px; border-bottom: 2px solid rgba(255, 255, 255, 0.2); transition: all 0.3s ease-in-out; } .header img { height: 30px; /* Küçültüldü */ width: auto; border-radius: 50%; box-shadow: none; } .header h2 { flex-grow: 1; text-align: center; font-weight: 600; font-size: 1.1rem; /* Küçültüldü */ text-shadow: none; } .header nav { display: flex; gap: 12px; background: rgba(255, 255, 255, 0.1); border-radius: 8px; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); } .header nav a { color: #FFFFFF; text-decoration: none; font-weight: bold; font-size: 1rem; padding: 8px 12px; border-radius: 5px; transition: all 0.3s ease-in-out; } .header nav a:hover { background: #FFD700; color: #333; } /* Sidebar */ .history-sidebar { width: 290px; background: rgba(20, 20, 20, 0.9); padding: 20px; height: calc(100vh - 60px); position: fixed; top: 60px; left: 0; overflow-y: auto; box-shadow: 4px 0 10px rgba(0, 0, 0, 0.5); border-right: 2px solid rgba(255, 255, 255, 0.1); } .history-sidebar h4 { text-align: center; color: #ffffff; margin-bottom: 15px; font-weight: bold; } .history-sidebar ul { list-style: none; padding: 0; margin: 0; } .history-sidebar a { display: block; color: #ddd; padding: 10px; border-radius: 6px; text-decoration: none; transition: all 0.3s ease-in-out; } .history-sidebar a:hover { background: rgba(91, 34, 224, 0.7); transform: translateX(5px); } /* Ana İçerik */ .history-content { margin-left: 310px; padding: 80px 40px; } /* Arama Kutusu */ .search-container { position: fixed; top: 70px; /* Header'in hemen altında */ left: 50%; transform: translateX(-50%); width: 50%; z-index: 1001; /* Ön plana al */ } .search-container input { width: 100%; padding: 12px; font-size: 1rem; border: none; border-radius: 8px; background: linear-gradient(135deg, #6A11CB, #2575FC); /* Header ile aynı renk */ color: white; text-align: center; outline: none; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3); } .search-container input::placeholder { color: rgba(255, 255, 255, 0.7); } /* Liste */ .history-list { background: rgba(255, 255, 255, 0.1); padding: 15px; border-radius: 10px; margin-top: 20px; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); } .history-list-item { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); padding: 10px 15px; border-radius: 8px; margin-bottom: 8px; transition: all 0.3s ease-in-out; } .history-list-item:hover { background-color: rgba(255, 255, 255, 0.15); transform: scale(1.02); } /* Responsive */ @media (max-width: 768px) { .history-sidebar { width: 100%; height: auto; position: relative; display: flex; justify-content: center; gap: 10px; padding: 10px 0; } .history-sidebar ul { display: flex; gap: 10px; } .history-content { margin-left: 0; width: 100%; padding: 100px 20px; } .search-container { width: 80%; } }