[html]
<style>
/* .news-wrapper {
margin: 0;
background: linear-gradient(135deg, #f0f9f1 0%, #d0e8d0 100%);
color: #2e3d27;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
} */
.news-container {
max-width: 600px;
width: 100%;
margin: 50px auto;
padding: 0 20px 50px;
display: flex;
flex-direction: column;
gap: 50px;
position: relative;
}
.header-block {
display: flex;
align-items: center;
gap: 30px;
padding: 30px 40px;
border-radius: 16px;
box-shadow: 0 8px 15px rgba(46, 61, 39, 0.15),
inset 0 0 30px #282d258f;
position: relative;
overflow: hidden;
transition: transform 0.4s ease;
}
.header-block:hover {
transform: scale(1.04) rotate(-1deg);
box-shadow:
0 20px 20pxrgb(230 228 228),
inset 0 0 50px #e6e4e4;
}
.header-block h1 {
font-family: 'Rajdhani', sans-serif;
font-size: 3rem;
color: #375130;
margin: 0;
line-height: 1.1;
text-shadow: 1px 1px 1px #bdd3a6;
user-select: none;
}
.header-block img {
width: 180px;
height: 120px;
border-radius: 14px;
object-fit: cover;
box-shadow: 0 8px 20px rgba(55, 81, 48, 0.3);
transition: filter 0.4s ease, transform 0.6s ease;
filter: drop-shadow(0 2px 3px rgba(0,0,0,0.15));
cursor: pointer;
}
.header-block img:hover {
filter: drop-shadow(0 6px 16px rgba(0,0,0,0.35)) saturate(1.3);
transform: scale(1.05) rotate(2deg);
}
.main-text {
padding: 30px 40px;
border-radius: 16px;
font-size: 1.3em;
line-height: 1.65;
max-width: 600px;
margin: 0 auto;
color: #3c4d28;
position: relative;
white-space: pre-wrap;
}
.main-text::before {
content: "❦";
position: absolute;
top: 15px;
left: 20px;
font-size: 2rem;
color: #7ea05b99;
}
/* Адаптивный блок колонок с неизменной высотой и автоматической подгонкой ширины */
.columns-block {
display: grid;
gap: 10px;
padding: 20px 20px 25px;
border-radius: 16px;
grid-template-columns: repeat(3, 1fr);
/* Вытягиваемся по высоте в 120px */
grid-auto-rows: 120px;
}
.column-item {
perspective: 1000px;
/* width и height задаются через grid-auto-rows и колонки */
width: 100%;
height: 120px;
}
.card {
position: relative;
width: 100%;
height: 120px;
border-radius: 12px;
box-shadow: 0 3px 15px rgba(46, 61, 39, 0.15);
cursor: pointer;
transform-style: preserve-3d;
transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.card.flipped {
transform: rotateY(180deg);
}
.card-front, .card-back {
position: absolute;
top: 0; left: 0; right: 0; bottom: 0;
border-radius: 12px;
backface-visibility: hidden;
padding: 1px 1px 0;
box-sizing: border-box;
}
.card-front {
box-shadow: 0 3px 10px rgba(46, 61, 39, 0.07);
user-select: none;
position: relative;
}
.card-front img {
width: 100%;
height: 120px;
border-radius: 12px;
object-fit: cover;
box-shadow: 0 5px 15px rgba(46, 61, 39, 0.2);
display: block;
}
#header-title {
display: block!important;
}
.card-front h3 {
position: absolute;
bottom: 0;
left: 0;
width: 100%;
margin: 0;
background: rgba(59, 72, 35, 0.7);
color: #e4f0c3;
font-family: 'Rajdhani', sans-serif;
font-weight: 600;
font-size: 1rem;
padding: 6px 1px;
border-bottom-left-radius: 12px;
border-bottom-right-radius: 12px;
text-align: center;
}
.card-back {
box-shadow: inset 0 0 20px #9bb86c;
color: #395225;
transform: rotateY(180deg);
text-align: center;
font-weight: 500;
line-height: 8px !important;
font-size: 11px;
padding: 10px 10px;
user-select: text;
display: flex;
flex-direction: column;
justify-content: center;
gap: 8px;
}
.card-back p {
margin: 0 6px;
line-height: 1.3;
white-space: pre-wrap;
}
.card-back a {
color: #39710a;
font-weight: 600;
font-size: 0.9rem;
text-decoration: none;
border-bottom: 2px solid transparent;
transition: border-color 0.3s ease;
}
.card-back a:hover,
.card-back a:focus {
border-color: #2d5f08;
outline: none;
}
.spare-block {
border-radius: 16px;
box-shadow:
0 20px 20px rgba(46, 61, 39, 0.3),
inset 0 0 50px #bbd5a8;
padding: 35px 40px;
display: flex;
justify-content: center;
align-items: center;
min-height: 180px;
position: relative;
overflow: hidden;
font-size: 13px;
color: #3b4c23;
transition: background-color 0.4s ease;
cursor: default;
max-width: 600px;
margin: 0 auto;
}
.spare-block:hover {
box-shadow: 0 20px 50px rgba(80, 110, 45, 0.35);
transform: translateY(-8px);
}
.spare-block h2 {
font-family: 'Rajdhani', monospace;
font-weight: 700;
font-size: 1.8rem;
margin-bottom: 15px;
color: #5d7030;
text-shadow: 0 1px 1px #bed18c;
}
.spare-block img {
max-height: 160px;
max-width: 100%;
border-radius: 12px;
box-shadow: 0 4px 20px rgba(55, 81, 48, 0.25);
}
.news-container::before, .news-container::after {
content: '';
position: absolute;
width: 140px;
height: 140px;
background:
url('https://img.icons8.com/ios-filled/100/77a056/leaf.png') no-repeat center / contain;
opacity: 0.15;
pointer-events: none;
}
.news-container::before {
top: 0;
left: 0;
transform: rotate(-15deg);
}
.news-container::after {
bottom: 0;
right: 0;
transform: rotate(35deg);
}
.digital-code {
font-family: 'Rajdhani', monospace;
font-weight: 600;
color: #3f5a20;
letter-spacing: 0.06em;
}
</style>
<section class='news-wrapper'>
<div class="news-container" aria-label="Объявление с тематикой листвы и кода">
<!-- 1: Заголовок и картинка -->
<section class="header-block" role="banner" aria-labelledby="header-title">
<h1 id="header-title" class="digital-code">Новости №1</h1>
<img src="https://i.pinimg.com/736x/ff/44/38/ff44385c658ecac5aeb6947ccfa185b0.jpg" alt="Зелёные листья на дереве" />
</section>
<!-- 2: Основной текст -->
<section class="main-text" role="main" aria-label="Основной текст объявления">
«Мир ещё пахнет свежей краской... И это ваш шанс оставить след пока чернила не высохли»
Хроникёр Альдо
В этот прекрасный летний денек мы с радостью объявляем об открытии нашего форума — места, где оживают ваши истории, а персонажи обретают судьбы!
Форум переодевается в новое оформление тем, работа кипит и в скором времени мы выползем из-под груды черновиков и кодов, и наведем красоту. А пока спешу сообщить вам о том, что у нас тут творится!
✦ Последние деньки <a href="https://yourworld.f-rpg.me/viewtopic.php?id=30">пазлового челленджа</a>. Не упустите возможность подзаработать монет или проскочить в игру с анкетой в пять мемов!
✦ До следующей субботы будет действовать <a href="https://yourworld.f-rpg.me/viewtopic.php?id=31">беспроигрышная лотерея</a>. Приятные бонусы могут осесть на вашем счету или в профиле.
✦ Для любителей графики у нас стартовала акция <a href="https://yourworld.f-rpg.me/viewtopic.php?id=53#p2497">графическое бинго</a>. Берите симпатичную мордашку из списка предложенных и вместе с ней сразу получите набор графики для профиля, которая включает в себя: аватар, плашку и фон на ваш вкус.
✦ Ну и напоследок всем, кто уже с нами, а также тем, кто придет до 5 июля, на счет капнет 100 подарочных монет!
На этом всё — обновки закончены!
Теперь ваша очередь: врывайтесь в игру, создавайте истории и наполняйте этот мир жизнью. Ваши персонажи уже ждут своего часа. Пусть их истории будут эпичными!
</section>
</html>[/html]