Открыть меню
Переключить меню настроек
Открыть персональное меню
Вы не представились системе
Ваш IP-адрес будет виден всем, если вы внесёте какие-либо изменения.

Шаблон:UpdateCard/styles.css

Материал из Едрён Батон
Версия от 17:24, 27 апреля 2026; Honvert (обсуждение | вклад) (Новая страница: «.update-cards-container { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 15px; } .update-card { width: 300px; display: flex; flex-direction: column; background: #fff; border: 1px solid #eaecf0; border-radius: 8px; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05); overflow: hidden; transition: transform 0.2s, box-shadow 0.2s; } .update-card:hover { transform: translateY(-4px); box-shadow: 0 6px 12p...»)
(разн.) ← Предыдущая версия | Текущая версия (разн.) | Следующая версия → (разн.)

.update-cards-container {

   display: flex;
   flex-wrap: wrap;
   gap: 20px;
   margin-top: 15px;

}

.update-card {

   width: 300px;
   display: flex;
   flex-direction: column;
   background: #fff;
  border: 1px solid #eaecf0;
   border-radius: 8px;
   box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
   overflow: hidden;
   transition: transform 0.2s, box-shadow 0.2s;

}

.update-card:hover {

   transform: translateY(-4px);
   box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);

}

.update-card-image {

   width: 100%;
   height: 160px;
   background: #f8f9fa;
   display: flex;
   align-items: center;
   justify-content: center;

}

.update-card-image img {

  width: 100%;
   height: 100%;
   object-fit: cover;

}

.update-card-content {

   display: flex;
   flex-direction: column;
 flex-grow: 1;
   padding: 16px;

}

.update-card-date {

   margin-bottom: 8px;
   color: #72777d;
   font-size: 0.85em;
   font-weight: 500;

}

.update-card-title {

   margin-bottom: 10px;
   font-size: 1.2em;
   font-weight: bold;
   line-height: 1.3;

}

.update-card-title a {

   color: #202122;
   text-decoration: none;

}

.update-card-title a:hover {

   color: #3366cc;
   text-decoration: underline;

}

.update-card-desc {

   color: #404244;
  font-size: 0.95em;
 line-height: 1.5;

}