Переключити меню
Toggle preferences menu
Переключити особисте меню
Ви не увійшли до системи
Ваша IP-адреса буде публічно видима, якщо Ви внесете будь-які редагування.

Створення стилів шаблону Персонаж

Матеріал з The Universe of Chaos
Версія від 03:11, 7 червня 2026, створена Maintenance script (обговорення | внесок)
(різн.) ← Попередня версія | Поточна версія (різн.) | Новіша версія → (різн.)

/* Sleek Glassmorphic Character Card */ .tuoc-char-card {

   background: rgba(20, 20, 25, 0.6);
   border: 1px solid rgba(255, 255, 255, 0.08);
   border-radius: 12px;
   padding: 16px;
   max-width: 320px;
   color: #e0e0e7;
   font-family: 'Source Sans 3', sans-serif;
   box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
   backdrop-filter: blur(10px);
   -webkit-backdrop-filter: blur(10px);
   margin: 10px auto;
   transition: transform 0.3s ease, box-shadow 0.3s ease;

}

.tuoc-char-card:hover {

   transform: translateY(-4px);
   box-shadow: 0 12px 40px 0 rgba(220, 38, 38, 0.2); /* Subtle glow from our chaos palette */
   border-color: rgba(220, 38, 38, 0.3);

}

.tuoc-char-header {

   display: flex;
   justify-content: space-between;
   align-items: center;
   margin-bottom: 12px;

}

.tuoc-char-class-badge {

   background: rgba(220, 38, 38, 0.15);
   border: 1px solid rgba(220, 38, 38, 0.4);
   color: #ff6b6b;
   padding: 2px 8px;
   border-radius: 20px;
   font-size: 0.8rem;
   font-weight: 600;
   text-transform: uppercase;
   letter-spacing: 0.5px;

}

.tuoc-char-status-badge {

   padding: 2px 8px;
   border-radius: 20px;
   font-size: 0.8rem;
   font-weight: 600;
   text-transform: uppercase;

}

.tuoc-char-status-badge.status-Живий {

   background: rgba(46, 204, 113, 0.15);
   border: 1px solid rgba(46, 204, 113, 0.4);
   color: #2ecc71;

}

.tuoc-char-status-badge.status-Мертвий {

   background: rgba(149, 165, 166, 0.15);
   border: 1px solid rgba(149, 165, 166, 0.4);
   color: #bdc3c7;

}

.tuoc-char-status-badge.status-Невідомо {

   background: rgba(241, 196, 15, 0.15);
   border: 1px solid rgba(241, 196, 15, 0.4);
   color: #f1c40f;

}

.tuoc-char-status-badge.status-Ув'язнений {

   background: rgba(155, 89, 182, 0.15);
   border: 1px solid rgba(155, 89, 182, 0.4);
   color: #9b59b6;

}

.tuoc-char-avatar {

   width: 100%;
   height: 200px;
   overflow: hidden;
   border-radius: 8px;
   background: #0f0f12;
   display: flex;
   justify-content: center;
   align-items: center;
   border: 1px solid rgba(255, 255, 255, 0.05);

}

.tuoc-char-avatar img {

   width: 100%;
   height: 100%;
   object-fit: cover;
   transition: transform 0.5s ease;

}

.tuoc-char-card:hover .tuoc-char-avatar img {

   transform: scale(1.05);

}

.tuoc-char-no-img {

   color: rgba(255, 255, 255, 0.3);
   font-size: 0.9rem;
   text-transform: uppercase;
   letter-spacing: 1px;

}

.tuoc-char-body {

   margin-top: 14px;

}

.tuoc-char-name {

   margin: 0 0 8px 0 !important;
   font-family: 'Playfair Display', serif;
   font-size: 1.4rem;
   font-weight: 700;
   color: #ffffff;
   text-align: center;
   border-bottom: none !important;

}

.tuoc-char-power {

   margin: 12px 0;

}

.power-label {

   font-size: 0.8rem;
   color: rgba(255, 255, 255, 0.5);
   display: block;
   margin-bottom: 4px;

}

.power-bar-container {

   background: rgba(255, 255, 255, 0.05);
   border-radius: 4px;
   height: 14px;
   position: relative;
   overflow: hidden;
   display: flex;
   align-items: center;

}

.power-bar {

   background: linear-gradient(90deg, #e74c3c, #f39c12);
   height: 100%;
   border-radius: 4px;

}

.power-val {

   position: absolute;
   width: 100%;
   text-align: center;
   font-size: 0.75rem;
   font-weight: 600;
   color: #ffffff;
   font-family: 'IBM Plex Mono', monospace;
   text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);

}

.tuoc-char-description {

   font-size: 0.9rem;
   line-height: 1.4;
   color: rgba(255, 255, 255, 0.7);
   background: rgba(0, 0, 0, 0.2);
   padding: 8px 12px;
   border-radius: 6px;
   min-height: 50px;
   border-left: 3px solid #e74c3c;

}