MediaWiki:Common.css: відмінності між версіями

Картки: .service-card/.place-card на токени (точні збіги, вигляд не змінюється)
(UI Kit: компонент картки .k-card__* + .k-badge (ціль для .place-card/.service-card))
(Картки: .service-card/.place-card на токени (точні збіги, вигляд не змінюється))
Рядок 15: Рядок 15:
   display: flex;
   display: flex;
   flex-direction: column;
   flex-direction: column;
   background: #fff;
   background: var(--k-bg);
   border: 1px solid #eef1f6;
   border: 1px solid var(--k-border);
   border-radius: 14px;
   border-radius: var(--k-radius-md);
   overflow: hidden;
   overflow: hidden;
   box-shadow: 0 1px 2px rgba(0,0,0,.03), 0 1px 8px rgba(0,0,0,.04);
   box-shadow: 0 1px 2px rgba(0,0,0,.03), 0 1px 8px rgba(0,0,0,.04);
Рядок 41: Рядок 41:
.place-card__title { font-size: 17px; font-weight: 700; margin: 0 0 8px; line-height: 1.25; }
.place-card__title { font-size: 17px; font-weight: 700; margin: 0 0 8px; line-height: 1.25; }
.place-card__title a { color: #111827; text-decoration: none; }
.place-card__title a { color: #111827; text-decoration: none; }
.place-card__title a:hover { color: #2a6df4; }
.place-card__title a:hover { color: var(--k-accent); }
.place-card__meta { font-size: 13px; color: #6b7280; margin: 0 0 10px; line-height: 1.5; }
.place-card__meta { font-size: 13px; color: var(--k-text-muted); margin: 0 0 10px; line-height: 1.5; }
.place-card__desc { font-size: 14px; line-height: 1.5; color: #374151; display:-webkit-box; -webkit-line-clamp:4; -webkit-box-orient:vertical; overflow:hidden; }
.place-card__desc { font-size: 14px; line-height: 1.5; color: var(--k-text-secondary); display:-webkit-box; -webkit-line-clamp:4; -webkit-box-orient:vertical; overflow:hidden; }
/* Whole card clickable (stretched link) */
/* Whole card clickable (stretched link) */
.place-card { position: relative; cursor: pointer; }
.place-card { position: relative; cursor: pointer; }
Рядок 52: Рядок 52:
.place-detail { max-width: 760px; }
.place-detail { max-width: 760px; }
.place-detail__img img { display:block; max-width:100%; height:auto; border-radius:14px; margin:4px 0 16px; }
.place-detail__img img { display:block; max-width:100%; height:auto; border-radius:14px; margin:4px 0 16px; }
.place-detail__meta { font-size:14px; color:#6b7280; line-height:1.7; margin:0 0 14px; }
.place-detail__meta { font-size:14px; color:var(--k-text-muted); line-height:1.7; margin:0 0 14px; }
.place-detail__desc { font-size:16px; line-height:1.65; color:#374151; }
.place-detail__desc { font-size:16px; line-height:1.65; color:var(--k-text-secondary); }
.place-detail__desc--empty { color:#9ca3af; font-style:italic; }
.place-detail__desc--empty { color:var(--k-text-hint); font-style:italic; }


/* Grid: 2 columns desktop, 1 column mobile */
/* Grid: 2 columns desktop, 1 column mobile */
Рядок 557: Рядок 557:
   display: flex;
   display: flex;
   flex-direction: column;
   flex-direction: column;
   background: #fff;
   background: var(--k-bg);
   border: 1px solid #eef1f6;
   border: 1px solid var(--k-border);
   border-radius: 14px;
   border-radius: var(--k-radius-md);
   overflow: hidden;
   overflow: hidden;
   box-shadow: 0 1px 2px rgba(0,0,0,.03), 0 1px 8px rgba(0,0,0,.04);
   box-shadow: 0 1px 2px rgba(0,0,0,.03), 0 1px 8px rgba(0,0,0,.04);
Рядок 576: Рядок 576:
}
}
.service-card__title a { color: #111827; text-decoration: none; }
.service-card__title a { color: #111827; text-decoration: none; }
.service-card__title a:hover { color: #2a6df4; }
.service-card__title a:hover { color: var(--k-accent); }
.service-card__members {
.service-card__members {
   display: inline-block;
   display: inline-block;
Рядок 582: Рядок 582:
   font-size: 12px;
   font-size: 12px;
   font-weight: 500;
   font-weight: 500;
   color: #6b7280;
   color: var(--k-text-muted);
   white-space: nowrap;
   white-space: nowrap;
   vertical-align: middle;
   vertical-align: middle;
Рядок 589: Рядок 589:
   font-size: 14px;
   font-size: 14px;
   line-height: 1.5;
   line-height: 1.5;
   color: #374151;
   color: var(--k-text-secondary);
   margin-bottom: 12px;
   margin-bottom: 12px;
}
}
Рядок 608: Рядок 608:
   background-size: 14px 14px;
   background-size: 14px 14px;
}
}
.service-card__row a { color: #2a6df4; text-decoration: none; }
.service-card__row a { color: var(--k-accent); text-decoration: none; }
.service-card__row a:hover { text-decoration: underline; }
.service-card__row a:hover { text-decoration: underline; }


Рядок 639: Рядок 639:
}
}
.service-card--cta:hover {
.service-card--cta:hover {
   border-color: #2a6df4;
   border-color: var(--k-accent);
   background: #f0f6ff;
   background: #f0f6ff;
   color: #2a6df4;
   color: var(--k-accent);
   transform: translateY(-2px);
   transform: translateY(-2px);
   box-shadow: none;
   box-shadow: none;
Рядок 650: Рядок 650:
   height: 36px;
   height: 36px;
   border-radius: 50%;
   border-radius: 50%;
   background: #fff;
   background: var(--k-bg);
   border: 1.5px solid currentColor;
   border: 1.5px solid currentColor;
   display: flex;
   display: flex;
Рядок 668: Рядок 668:
   display: block;
   display: block;
   font-size: 12px;
   font-size: 12px;
   color: #6b7280;
   color: var(--k-text-muted);
   margin-top: 4px;
   margin-top: 4px;
}
}