Test

Объявление

оскар ненавидел всё вот это вот бунтарское, подпольное, пропахшее перегаром от чего-то очевидно дешманского, дебоширское, нарушающее законы и вступающее в разрез со здравым смыслом. оскар

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

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


Вы здесь » Test » Новый форум » зверушки тест


зверушки тест

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

1

123

0

2

[html]
<div class="mascot-game-container">
  <div class="mascot-header">
    <h3>Сезон Охоты Открыт</h3>
    <p>Блуждайте по темам форума, будьте внимательны и ловите разбежавшихся питомцев! Кликните по зверьку, чтобы поймать его. Вся статистика автоматически обновляется здесь.</p>
  </div>
 
  <!-- Встроенный виджет статистики -->
  <div class="catcher-widget">
    <div class="catcher-widget-header">
      Зверушек поймано: <span id="caught-total-count">0</span>
    </div>
    <div class="catcher-scroll-area">
      <ul id="caught-users-list">
        <li style="color: #888; justify-content: center; font-style: italic;">Связь с базой...</li>
      </ul>
    </div>
  </div>
</div>

<style>
/* --- ОБЩИЙ КОНТЕЙНЕР (В стиле Бинго) --- */
.mascot-game-container {
  font-family: 'Playfair Display', serif;
  margin: 20px 0;
  padding: 25px 30px;
  background: url(https://forumstatic.ru/files/001c/b9/21/42951.png) no-repeat top / 100%,
              url(https://forumstatic.ru/files/001c/b9/21/99326.png) repeat, #ababab;
  border: 1px solid #d4c5b0;
  border-radius: 4px;
  box-shadow:
    inset 0 0 40px rgba(139, 115, 85, 0.1),
    0 4px 15px rgba(0, 0, 0, 0.05);
  position: relative;
}

/* --- ШАПКА С ТЕКСТОМ --- */
.mascot-header {
  text-align: center;
  margin-bottom: 25px;
  background: #fff5e4ad;
  box-shadow: 0px 2px 9px -3px rgba(0,0,0,0.4);
  border: 2px solid #d1ba90;
  backdrop-filter: blur(5px);
  padding: 20px 30px;
  border-radius: 10px;
}

.mascot-header h3 {
  font-size: 26px;
  font-weight: 700;
  margin: 0 0 10px 0;
  font-family: 'Moisette', sans-serif;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #32393e;
}

.mascot-header p {
  font-style: italic;
  color: #7a6b58;
  font-size: 15px;
  line-height: 1.5;
  margin: 0;
}

/* --- САМ ВИДЖЕТ СО СТАТИСТИКОЙ --- */
.catcher-widget {
  margin: 0 auto;
  padding: 20px;
  max-width: 450px;
  background: rgba(255, 245, 228, 0.85);
  border: 2px solid #d1ba90;
  border-radius: 10px;
  box-shadow: 0px 2px 9px -3px rgba(0,0,0,0.4);
  backdrop-filter: blur(5px);
  position: relative;
}

/* Внутренняя тонкая рамочка виджета */
.catcher-widget::before {
  content: '';
  position: absolute;
  top: 6px; left: 6px; right: 6px; bottom: 6px;
  border: 1px dashed rgba(179, 151, 98, 0.4);
  border-radius: 6px;
  pointer-events: none;
}

.catcher-widget-header {
  text-align: center;
  font-family: 'Moisette', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #32393e;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 1px solid rgba(179, 151, 98, 0.4);
  margin-bottom: 15px;
  padding-bottom: 12px;
}

#caught-total-count {
  color: #b39762;
  font-size: 24px;
  margin-left: 5px;
}

/* --- СПИСОК ИГРОКОВ --- */
.catcher-scroll-area {
  max-height: 180px;
  overflow-y: auto;
  padding-right: 15px;
  position: relative;
  z-index: 2; /* Чтобы скролл был поверх внутренней рамки */
}

/* Кастомный скроллбар */
.catcher-scroll-area::-webkit-scrollbar { width: 5px; }
.catcher-scroll-area::-webkit-scrollbar-thumb { background: #dcd3c1; border-radius: 5px; }
.catcher-scroll-area::-webkit-scrollbar-track { background: transparent; }

#caught-users-list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: 'Inter Tight', sans-serif;
}

#caught-users-list li {
  padding: 8px 5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px dashed rgba(179, 151, 98, 0.3);
  color: #7a6b58;
  font-size: 15px;
  transition: background 0.2s;
}

#caught-users-list li:hover {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 4px;
}

#caught-users-list li:last-child {
  border-bottom: none;
}

#caught-users-list li span {
  color: #31475c;
  font-weight: 600;
  text-transform: capitalize;
}

#caught-users-list li b {
  color: #b39762;
  font-size: 16px;
  background: #fffcf2;
  border: 1px solid rgba(212, 175, 55, 0.4);
  padding: 2px 10px;
  border-radius: 12px;
  box-shadow: inset 0 0 5px rgba(212, 175, 55, 0.1);
}
</style>
[/html][hideprofile]

0


Вы здесь » Test » Новый форум » зверушки тест


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