усовершенствуй дизайн, чтоб больше было похоже на soundcloud. index: <!DOCTYPE html>…
- User
усовершенствуй дизайн, чтоб больше было похоже на soundcloud.
index:
code<title>Home</title>code<div class="form-group">Search by genre: All
css: .musician-info { display: inline-block; margin-left: 10px; vertical-align: top;
}
.name { font-weight: bold; font-size: 1.2em; }
.genre { display: block; font-size: 0.9em; color: #666; }
ul li a img { max-width: 200px; height: 200px; object-fit: cover; }
/* Normalize CSS */ body { margin: 0; font-family: 'Roboto', sans-serif; font-size: 16px; line-height: 1.5; }
/* Header */ .header { background-color: #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); }
.navbar-brand img { height: 50px; }
/* Hero */ .hero { background-image: url('/img/hero.jpg'); background-size: cover; background-position: center; color: #fff; padding: 100px 0; }
.hero-title { font-size: 48px; margin-bottom: 20px; }
.nowplaying { font-size: 15px; margin-bottom: 50px; text-align: center; margin-top: 50px; }
.hero-subtitle { font-size: 24px; margin-bottom: 40px; }
.hero .btn-primary { background-color: #ffc107; border-color: #ffc107; }
.hero .btn-primary:hover { background-color: #ffca2c; border-color: #ffca2c; }
/* Search */ .section-search { background-color: #f8f9fa; padding: 80px 0; }
.section-title { font-size: 36px; margin-bottom: 40px; text-align: center; }
.form-search { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; max-width: 800px; margin: 0 auto; position: relative; /* add this */ }
.form-search .btn-primary { position: relative; /* add this / right: 0; / add this / top: 100%; / add this / margin-top: 20px; / add this */ margin-left: 10px; }
.form-group { margin: 10px; }
.form-group select { margin-top: 10px; }
.form-group label { margin-bottom: 5px; display: block; }
.form-control { border-radius: 0; }
.btn-primary { background-color: #ffc107; border-color: #ffc107; }
.btn-primary:hover { background-color: #ffca2c; border-color: #ffca2c; }
/* Results */ .section-results { padding: 80px 0; text-align: center; }
/* Footer */ .footer { background-color: #212529; color: #fff; padding: 20px 0; }
.footer p { margin-bottom: 0; font-size: 14px; }
.footer a { color: #fff; }
.footer a:hover { color: #ffc107; }
/* audio player */ .audio-tracklist { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(auto, 1fr); grid-gap: 20px; list-style: none; max-width: 1200px; margin: 0 auto; padding: 0; }
- Assistant