Постописцы недели

Имя участника 1 Имя участника 2 Имя участника 3

Активисты недели

Имя участника 1 Имя участника 2 Имя участника 3

пиши посты,радуй соигроков ©

we need you

TW design

Информация о пользователе

Привет, Гость! Войдите или зарегистрируйтесь.


Вы здесь » TW design » Новый форум » html


html

Сообщений 1 страница 3 из 3

1

[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]

0

2

код вылезает :с

Код:
<div class="plashka"><a href="https://itisanewworld.rusff.me/viewtopic.php?id=1513"><img src="https://i.postimg.cc/BQwwhmxt/ezgif-2-7163350ce7.png"></a><div><strong>WELL ИК ОЛЕ PIE</strong><span>раз, два, <a href="https://itisanewworld.rusff.me/profile.php?id=268">кончил </a></span></div></div>

0

3

Проверка

Код:
длинный очень длинный текст <div class="plashka"><a href="https://itisanewworld.rusff.me/viewtopic.php?id=1513"><img src="https://i.postimg.cc/BQwwhmxt/ezgif-2-7163350ce7.png"></a><div><strong>WELL ИК ОЛЕ PIE</strong><span>раз, два, <a href="https://itisanewworld.rusff.me/profile.php?id=268">кончил </a></span></div></div> <div class="plashka"><a href="https://itisanewworld.rusff.me/viewtopic.php?id=1513"><img src="https://i.postimg.cc/BQwwhmxt/ezgif-2-7163350ce7.png"></a><div><strong>WELL ИК ОЛЕ PIE</strong><span>раз, два, <a href="https://itisanewworld.rusff.me/profile.php?id=268">кончил </a></span></div></div> <div class="plashka"><a href="https://itisanewworld.rusff.me/viewtopic.php?id=1513"><img src="https://i.postimg.cc/BQwwhmxt/ezgif-2-7163350ce7.png"></a><div><strong>WELL ИК ОЛЕ PIE</strong><span>раз, два, <a href="https://itisanewworld.rusff.me/profile.php?id=268">кончил </a></span></div></div> <div class="plashka"><a href="https://itisanewworld.rusff.me/viewtopic.php?id=1513"><img src="https://i.postimg.cc/BQwwhmxt/ezgif-2-7163350ce7.png"></a><div><strong>WELL ИК ОЛЕ PIE</strong><span>раз, два, <a href="https://itisanewworld.rusff.me/profile.php?id=268">кончил </a></span></div></div>
длинный очень длинный текст <div class="plashka"><a href="https://itisanewworld.rusff.me/viewtopic.php?id=1513"><img src="https://i.postimg.cc/BQwwhmxt/ezgif-2-7163350ce7.png"></a><div><strong>WELL ИК ОЛЕ PIE</strong><span>раз, два, <a href="https://itisanewworld.rusff.me/profile.php?id=268">кончил </a></span></div></div> <div class="plashka"><a href="https://itisanewworld.rusff.me/viewtopic.php?id=1513"><img src="https://i.postimg.cc/BQwwhmxt/ezgif-2-7163350ce7.png"></a><div><strong>WELL ИК ОЛЕ PIE</strong><span>раз, два, <a href="https://itisanewworld.rusff.me/profile.php?id=268">кончил </a></span></div></div> <div class="plashka"><a href="https://itisanewworld.rusff.me/viewtopic.php?id=1513"><img src="https://i.postimg.cc/BQwwhmxt/ezgif-2-7163350ce7.png"></a><div><strong>WELL ИК ОЛЕ PIE</strong><span>раз, два, <a href="https://itisanewworld.rusff.me/profile.php?id=268">кончил </a></span></div></div> <div class="plashka"><a href="https://itisanewworld.rusff.me/viewtopic.php?id=1513"><img src="https://i.postimg.cc/BQwwhmxt/ezgif-2-7163350ce7.png"></a><div><strong>WELL ИК ОЛЕ PIE</strong><span>раз, два, <a href="https://itisanewworld.rusff.me/profile.php?id=268">кончил </a></span></div></div>

0


Вы здесь » TW design » Новый форум » html


Рейтинг форумов | Создать форум бесплатно