[html]
<div class="episod">
<h4>очень красивое и длинное название игрового эпизода</h4>
<div class="episod_inner">
<div class="datavrema">
<div class="episod_faces">
<a href="ссылка на профиль"><img src="https://forumstatic.ru/files/001c/33/e8/36564.webp" title="имя персонажа"></a>
<a href="ссылка на профиль"><img src="https://forumstatic.ru/files/001c/33/e8/36564.webp" title="имя персонажа"></a>
<a href="ссылка на профиль"><img src="https://forumstatic.ru/files/001c/33/e8/36564.webp" title="имя персонажа"></a>
</div>
<span>дата и время ▪ место событий</span>
</div>
<div class="episod_opis">
<p> описание эпизода </p>
</div>
</div>
</div>
<style>
:root {
--border: 1px solid #d2d2d2;
--background1: #f6f6f6;
--background2: #ffffff;
--text: #969696;
}
.episod {
position: relative;
margin: 40px auto 0 !important;
box-sizing: border-box;
border: var(--border);
background: var(--background1);
width: 624px;
height: 324px;
padding: 10px;
}
.episod_inner {
border: var(--border);
box-sizing: border-box;
background: var(--background2);
width: 100%;
height: 100%;
}
.episod h4 {
border: var(--border);
background: var(--background1);
position: absolute;
width: 544px;
transform: translate(-50%, -100%);
margin-top: 0px;
left: 50%;
text-align: center;
border-bottom: none;
font-size: 16px!important;
padding: 4px;
font-weight: normal;
font-family: "AppetitePro"!important;
color: var(--text);
line-height: 1.2;
text-shadow: 1px 2px 1px #ffffff;
}
.datavrema {
border-block: var(--border);
background: var(--background1);
position: relative;
width: 100%;
height: 64px;
margin-top: 68px!important;
text-align: center;
box-sizing: border-box;
display: flex;
flex-direction: column;
align-items: center;
justify-content: flex-end;
padding-bottom: 5px;
gap: 20px;
}
.datavrema span {
font-size: 11px;
font-family: "Verdana";
color: var(--text);
line-height: 1.2;
}
.episod_faces {
display: flex;
gap: 40px;
align-items: flex-end;
}
.episod_faces a {
display: block;
height: 60px;
width: 60px;
}
.episod_faces a img {
height: 100%;
width: 100%;
object-fit: cover;
object-position: top center;
filter: grayscale(100%);
border: var(--border);
}
.episod_opis {
margin: 30px 30px!important;
font-size: 11px;
font-family: "Verdana";
color: var(--text);
line-height: 1.2;
height: 120px;
overflow: auto;
text-align: justify;
scrollbar-width: thin;
padding: 0 10px 0 10px;
}
html:has(.episod):not(:has(#pun)) {
min-width: 0 !important;
background: transparent !important;
}
body:has(.episod):not(:has(#pun)) {
width: 100% !important;
min-width: 0 !important;
max-width: 100% !important;
min-height: 0 !important;
margin: 0 !important;
padding: 0 0 10px !important;
background: transparent !important;
}
body:has(.episod):not(:has(#pun))::before,
body:has(.episod):not(:has(#pun))::after {
content: none !important;
display: none !important;
}
.episod {
width: 624px;
max-width: 100%;
}
.episod h4 {
box-sizing: border-box;
max-width: calc(100% - 40px);
}
.episod_faces a {
flex: 0 0 60px;
}
.episod_faces a img {
display: block;
box-sizing: border-box;
}
.episod_opis p {
margin: 0;
font: inherit;
color: inherit;
}
</style>[/html]






