[hideprofile][html]
<div class="tabs-wrapper">
<!-- ДОБАВИТЬ ЧЕРЕЗ ПРОБЕЛ taken ПОСЛЕ inner, ЕСЛИ ПЕРСОНАЖ ЗАНЯТ -->
<div class="tabs-inner">
<div class="action-card">
<div class="status">ЗАНЯТО</div>
<div class="top">
<div class="photo">
<img src="https://i.pinimg.com/originals/25/f8/7d/25f87dd4864d3180b87f01abc4081cea.gif" alt="">
</div>
<div class="info">
<h2>Пророк</h2>
<div class="line">
<span>FC:</span> <em>cole sprouse</em>
<div class="line">
<span>Занятость:</span> Первый с прорицанием
</div>
</div>
</div>
</div>
<div class="gradient-line"></div>
<div class="bio">
<h3><strong>Биография</strong></h3>
<p>
После попадания в институт жизнь делится на "до" и "после". Кто знает, может быть парень прошел бы полностью все, что происходит с другими , если бы не его редкий дар, о котором все узнали совершенно случайно. </p>
<p>Трудности заключаются в том, что Институту необходимо исследовать данного подопытного, но он совершенно не хочет идти с ними на контакт , бормоча что-то в духе "дайте позвонить брату". Даже насильственные методы здесь не помогают, потому что чаще всего подопытный вырубается от нанесенных ему побоев. </p>
</div>
</div>
</div>
</div>
<style>
@font-face {
font-family: 'Cinzel';
src: url('https://raw.githubusercontent.com/tukiteruamano-a11y/anketa/main/cinzel_regular.ttf') format('truetype');
}
@font-face { font-family: 'Comfortaa'; src: url('https://raw.githubusercontent.com/flamevector-rusff/styles/main/comfortaa.ttf');}
.tabs-wrapper {
width: 850px;
padding: 5px;
background: url(https://upforme.ru/uploads/001c/a4/b9/3/943373.jpg) repeat;
border-radius: 10px;
margin: 0 auto;
}
.tabs-inner {
background: #c7c7c7;
padding: 5px;
border-radius: 8px;
}
/* КАРТОЧКА */
.action-card {
position: relative;
font-family: 'Cinzel', serif;
color: #1f1f1f;
}
/* ВЕРХ */
.top {
display: flex;
gap: 15px;
margin-top: 15px;
}
.photo {
width: 180px;
height: 240px;
flex-shrink: 0;
overflow: hidden;
border-radius: 6px;
border: 1px solid #9a9a9a;
margin-left: 15px;
}
.photo img {
width: 100%;
height: 100%;
object-fit: cover;
filter:sepia(70%) saturate(50%) brightness(90%);
}
.info h2 {
margin: 0 0 10px;
font-size: 22px;
letter-spacing: 1px;
}
.line {
font-size: 14px;
margin-bottom: 6px;
}
.line span {
font-weight: bold;
color: #4a4a4a;
}
/* БИО */
.bio {
margin: 15px;
text-indent: 25px;
text-align: justify;
}
.bio h3 {
margin: 0 0 8px;
font-size: 16px;
letter-spacing: 1px;
}
.bio p {
margin: 0;
font-size: 18px !important;
line-height: 1.5;
font-family: 'Comfortaa';
}
/* ЗАНЯТО */
.status {
display: none;
position: absolute;
inset: 0;
background: rgba(199,199,199,0.85);
z-index: 5;
text-align: center;
align-items: center;
justify-content: center;
font-size: 42px;
letter-spacing: 4px;
color: #444;
}
/* СОСТОЯНИЕ ЗАНЯТО */
.tabs-inner.taken {
filter: grayscale(1);
}
.tabs-inner.taken .status {
display: flex;
}
.gradient-line {
height: 2px;
margin: 15px 0;
border-radius: 1px;
background: linear-gradient(
to right,
rgba(116, 77, 55, 0) 0%,
rgba(116, 77, 55, 1) 50%,
rgba(116, 77, 55, 0) 100%
);
}
</style>
[/html]