MediaWiki:Vector-2022.css: Różnice pomiędzy wersjami
Wygląd
Nie podano opisu zmian |
Nie podano opisu zmian Znacznik: Wycofane |
||
| Linia 1: | Linia 1: | ||
/* ========================================================= */ | /* ========================================================= */ | ||
/* ===================== KARTY / CARD GRID START =========== */ | /* ===================== KARTY / CARD GRID START =========== */ | ||
| Linia 319: | Linia 6: | ||
<div class="card-grid" style="--neon: #00ff99;"> | <div class="card-grid" style="--neon: #00ff99;"> | ||
. | |||
<div class="card"> | |||
[[Plik:Omar.jpg|160x270px|class=card-img]] | |||
<div class="card-label">Omar – Menedżer</div> | |||
</div> | |||
</div> | </div> | ||
WAŻNE: | |||
Nie używaj już "frameless". | |||
*/ | */ | ||
| Linia 334: | Linia 29: | ||
--neon: #00ff99; | --neon: #00ff99; | ||
} | } | ||
/* ========================================================= */ | |||
/* ======================== KARTA START ==================== */ | |||
/* ========================================================= */ | |||
.card { | .card { | ||
| Linia 348: | Linia 47: | ||
background: transparent !important; | background: transparent !important; | ||
border: | border: 0 !important; | ||
outline: 0 !important; | |||
box-shadow: none !important; | box-shadow: none !important; | ||
} | } | ||
/* | /* ========================================================= */ | ||
/* ========================= KARTA END ===================== */ | |||
/* ========================================================= */ | |||
/* ========================================================= */ | |||
/* ========== CZYSZCZENIE WRAPPERÓW MEDIAWIKI START ======== */ | |||
/* ========================================================= */ | |||
.card *, | |||
.card > *, | |||
.card figure, | .card figure, | ||
.card span, | |||
.card a, | |||
.card .image, | |||
.card .thumb, | .card .thumb, | ||
.card .thumbinner, | .card .thumbinner, | ||
.card .mw-file-element, | .card .mw-file-element, | ||
| Linia 362: | Linia 74: | ||
.card .mw-halign-none, | .card .mw-halign-none, | ||
.card .mw-halign-center, | .card .mw-halign-center, | ||
.card | .card .mw-file-description, | ||
.card . | .card .tright, | ||
.card . | .card .tleft { | ||
background: transparent !important; | background: transparent !important; | ||
border: | |||
border: 0 !important; | |||
outline: 0 !important; | |||
box-shadow: none !important; | box-shadow: none !important; | ||
padding: 0 !important; | padding: 0 !important; | ||
margin: 0 !important; | margin: 0 !important; | ||
} | } | ||
.card img | /* ========================================================= */ | ||
.card-img { | /* ============ CZYSZCZENIE WRAPPERÓW MEDIAWIKI END ======== */ | ||
/* ========================================================= */ | |||
/* ========================================================= */ | |||
/* ====================== STYL OBRAZKÓW START ============== */ | |||
/* ========================================================= */ | |||
.card img.card-img { | |||
width: 160px !important; | width: 160px !important; | ||
height: 270px !important; | height: 270px !important; | ||
object-fit: cover !important; | object-fit: cover !important; | ||
display: block; | display: block !important; | ||
background: transparent !important; | background: transparent !important; | ||
border: 2px solid var(--neon) !important; | border: 2px solid var(--neon) !important; | ||
border-radius: 8px !important; | border-radius: 8px !important; | ||
box-shadow: 0 0 10px var(--neon) !important; | box-shadow: | ||
0 0 10px var(--neon) !important; | |||
transition: | transition: | ||
| Linia 394: | Linia 117: | ||
} | } | ||
.card img | /* Hover */ | ||
.card-img:hover { | |||
.card img.card-img:hover { | |||
transform: scale(1.05); | transform: scale(1.05); | ||
| Linia 401: | Linia 125: | ||
0 0 20px var(--neon), | 0 0 20px var(--neon), | ||
0 0 30px var(--neon) !important; | 0 0 30px var(--neon) !important; | ||
} | } | ||
/* ========================================================= */ | /* ========================================================= */ | ||
/* ====================== | /* ======================= STYL OBRAZKÓW END =============== */ | ||
/* ========================================================= */ | /* ========================================================= */ | ||
| Linia 431: | Linia 134: | ||
/* ========================================================= */ | /* ========================================================= */ | ||
/* ====================== | /* ====================== PODPISY KART START =============== */ | ||
/* ========================================================= */ | /* ========================================================= */ | ||
. | .card-label { | ||
margin-top: 10px; | |||
min-height: 38px; | |||
- | line-height: 1.4; | ||
} | } | ||
/* ========================================================= */ | /* ========================================================= */ | ||
/* ======================= | /* ======================= PODPISY KART END ================ */ | ||
/* ========================================================= */ | /* ========================================================= */ | ||
| Linia 472: | Linia 151: | ||
/* ========================================================= */ | /* ========================================================= */ | ||
/* ====================== | /* ====================== KARTY / CARD GRID END ============ */ | ||
/* ========================================================= */ | /* ========================================================= */ | ||
Wersja z 12:08, 15 maj 2026
/* ========================================================= */
/* ===================== KARTY / CARD GRID START =========== */
/* ========================================================= */
/*
Użycie w artykule:
<div class="card-grid" style="--neon: #00ff99;">
<div class="card">
[[Plik:Omar.jpg|160x270px|class=card-img]]
<div class="card-label">Omar – Menedżer</div>
</div>
</div>
WAŻNE:
Nie używaj już "frameless".
*/
.card-grid {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 30px;
max-width: 1400px;
margin: 30px auto;
--neon: #00ff99;
}
/* ========================================================= */
/* ======================== KARTA START ==================== */
/* ========================================================= */
.card {
width: 180px;
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
font-weight: bold;
font-size: 14px;
color: #ccc;
background: transparent !important;
border: 0 !important;
outline: 0 !important;
box-shadow: none !important;
}
/* ========================================================= */
/* ========================= KARTA END ===================== */
/* ========================================================= */
/* ========================================================= */
/* ========== CZYSZCZENIE WRAPPERÓW MEDIAWIKI START ======== */
/* ========================================================= */
.card *,
.card > *,
.card figure,
.card span,
.card a,
.card .image,
.card .thumb,
.card .thumbinner,
.card .mw-file-element,
.card .mw-default-size,
.card .mw-halign-none,
.card .mw-halign-center,
.card .mw-file-description,
.card .tright,
.card .tleft {
background: transparent !important;
border: 0 !important;
outline: 0 !important;
box-shadow: none !important;
padding: 0 !important;
margin: 0 !important;
}
/* ========================================================= */
/* ============ CZYSZCZENIE WRAPPERÓW MEDIAWIKI END ======== */
/* ========================================================= */
/* ========================================================= */
/* ====================== STYL OBRAZKÓW START ============== */
/* ========================================================= */
.card img.card-img {
width: 160px !important;
height: 270px !important;
object-fit: cover !important;
display: block !important;
background: transparent !important;
border: 2px solid var(--neon) !important;
border-radius: 8px !important;
box-shadow:
0 0 10px var(--neon) !important;
transition:
transform 0.3s ease,
box-shadow 0.3s ease;
}
/* Hover */
.card img.card-img:hover {
transform: scale(1.05);
box-shadow:
0 0 20px var(--neon),
0 0 30px var(--neon) !important;
}
/* ========================================================= */
/* ======================= STYL OBRAZKÓW END =============== */
/* ========================================================= */
/* ========================================================= */
/* ====================== PODPISY KART START =============== */
/* ========================================================= */
.card-label {
margin-top: 10px;
min-height: 38px;
line-height: 1.4;
}
/* ========================================================= */
/* ======================= PODPISY KART END ================ */
/* ========================================================= */
/* ========================================================= */
/* ====================== KARTY / CARD GRID END ============ */
/* ========================================================= */