Andreiblack commited on
Commit
2bd042a
·
verified ·
1 Parent(s): e460a9b

<div class="fighter-card">

Browse files

<img src="https://i.imgur.com/8O3G4aK.jpg" alt="Charles Oliveira">
<h3>Charles Oliveira</h3>
<p class="fighter-desc">Легенда UFC. Бывший чемпион легкого веса, мастер сабмишенов, стиль — агрессивный и зрелищный. </p>
</div>
.fighter-card {
background: linear-gradient(145deg, #111, #1b1b1b);
border: 1px solid rgba(255, 215, 0, 0.5);
border-radius: 20px;
box-shadow: 0 0 25px rgba(255, 215, 0, 0.3);
transition: all 0.3s ease;
}
.fighter-card:hover {
transform: scale(1.05);
box-shadow: 0 0 40px rgba(255, 215, 0, 0.6);
}
.fighter-card img {
width: 100%;
border-radius: 20px 20px 0 0;
}
.fighter-card h3 {
color: #ffd700;
font-family: 'Bebas Neue', sans-serif;
letter-spacing: 1px;
}
.fighter-card p {
color: #ccc;
font-size: 0.9em;
padding: 0 10px 15px;
}

Files changed (1) hide show
  1. index.html +28 -19
index.html CHANGED
@@ -123,6 +123,33 @@
123
  .nav-link:hover:after {
124
  width: 100%;
125
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
126
  </style>
127
  </head>
128
  <body class="antialiased">
@@ -196,25 +223,7 @@
196
  </div>
197
  </div>
198
  </div>
199
-
200
- <!-- Fighter Card 3 -->
201
- <div class="card-hover bg-[#111111] rounded-xl overflow-hidden transition-all duration-300 ease-in-out">
202
- <div class="relative h-80 bg-cover bg-center" style="background-image: url('http://static.photos/sport/640x360/5');">
203
- <div class="absolute inset-0 bg-gradient-to-t from-black to-transparent"></div>
204
- <div class="absolute bottom-0 left-0 p-6">
205
- <h3 class="text-2xl font-bold">Дмитрий "Буря" Козлов</h3>
206
- <p class="text-[#00FF9D]">10-0-0 | Средний вес</p>
207
- </div>
208
- </div>
209
- <div class="p-6">
210
- <p class="text-[#E0E0E0] mb-4">Специализация: кикбоксинг, вольная борьба</p>
211
- <div class="flex space-x-4">
212
- <a href="#" class="text-[#E0E0E0] hover:text-[#00FF9D]"><i data-feather="instagram"></i></a>
213
- <a href="#" class="text-[#E0E0E0] hover:text-[#00FF9D]"><i data-feather="twitter"></i></a>
214
- </div>
215
- </div>
216
- </div>
217
- </div>
218
  </div>
219
  </section>
220
  <!-- Events Section -->
 
123
  .nav-link:hover:after {
124
  width: 100%;
125
  }
126
+ .fighter-card {
127
+ background: linear-gradient(145deg, #111, #1b1b1b);
128
+ border: 1px solid rgba(255, 215, 0, 0.5);
129
+ border-radius: 20px;
130
+ box-shadow: 0 0 25px rgba(255, 215, 0, 0.3);
131
+ transition: all 0.3s ease;
132
+ }
133
+ .fighter-card:hover {
134
+ transform: scale(1.05);
135
+ box-shadow: 0 0 40px rgba(255, 215, 0, 0.6);
136
+ }
137
+ .fighter-card img {
138
+ width: 100%;
139
+ border-radius: 20px 20px 0 0;
140
+ }
141
+ .fighter-card h3 {
142
+ color: #ffd700;
143
+ font-family: 'Inter', sans-serif;
144
+ font-weight: bold;
145
+ letter-spacing: 1px;
146
+ padding: 15px 15px 5px;
147
+ }
148
+ .fighter-card p {
149
+ color: #ccc;
150
+ font-size: 0.9em;
151
+ padding: 0 15px 15px;
152
+ }
153
  </style>
154
  </head>
155
  <body class="antialiased">
 
223
  </div>
224
  </div>
225
  </div>
226
+ </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
227
  </div>
228
  </section>
229
  <!-- Events Section -->