MediaViki:Common.css: Redaktələr arasındakı fərq
Görünüş
Səhifə "→Burada yerləşən CSS bütün skinlərə tətbiq olunur: .mw-parser-output ul { margin-left: 1.2em; } .mw-parser-output h2 { margin-top: 1.2em; }" məzmunu ilə yaradıldı |
Redaktənin izahı yoxdur |
||
| (Eyni istifadəçi tərəfindən edilmiş 11 ara dəyişiklik göstərilmir) | |||
| Sətir 1: | Sətir 1: | ||
/* | /* ================================================== | ||
GLOBAL STYLES (all skins) | |||
================================================== */ | |||
.mw-parser-output ul { | .mw-parser-output ul { | ||
margin-left: 1.2em; | margin-left: 1.2em; | ||
| Sətir 6: | Sətir 9: | ||
.mw-parser-output h2 { | .mw-parser-output h2 { | ||
margin-top: 1.2em; | margin-top: 1.2em; | ||
} | |||
/* ================================================== | |||
AzXP homepage layout | |||
================================================== */ | |||
.azxp-grid { | |||
display: grid; | |||
grid-template-columns: 2fr 1fr; | |||
gap: 24px; | |||
margin-top: 1em; | |||
} | |||
.azxp-main, | |||
.azxp-side { | |||
min-width: 0; | |||
} | |||
.azxp-notice { | |||
background: #f8f9fa; | |||
border-left: 5px solid #3366cc; | |||
padding: 10px; | |||
margin: 12px 0; | |||
} | |||
/* Mobile fallback */ | |||
@media (max-width: 900px) { | |||
.azxp-grid { | |||
grid-template-columns: 1fr; | |||
} | |||
} | |||
/* ================================================== | |||
Card layout | |||
================================================== */ | |||
.azxp-card { | |||
border: 1px solid #eaecf0; | |||
padding: 12px; | |||
margin-bottom: 20px; | |||
background: #fff; | |||
display: flex; | |||
gap: 16px; | |||
align-items: flex-start; | |||
} | |||
.azxp-card-photo { | |||
width: 120px; | |||
flex-shrink: 0; | |||
text-align: center; | |||
} | |||
.azxp-photo-placeholder { | |||
width: 120px; | |||
height: 160px; | |||
background: #f8f9fa; | |||
border: 1px dashed #a2a9b1; | |||
display: flex; | |||
align-items: center; | |||
justify-content: center; | |||
font-size: 12px; | |||
color: #54595d; | |||
} | |||
.azxp-card-content { | |||
flex: 1; | |||
} | |||
/* ================================================== | |||
Index columns | |||
================================================== */ | |||
.azxp-index ul { | |||
column-count: 3; | |||
column-gap: 30px; | |||
} | |||
@media (max-width: 900px) { | |||
.azxp-index ul { | |||
column-count: 1; | |||
} | |||
} | |||
/* ================================================== | |||
FOOTER FIX – Vector-2022 SAFE METHOD | |||
================================================== */ | |||
/* | |||
REQUIREMENTS: | |||
- Footer text must be added via MediaViki:Footer as: | |||
* <span class="azxp-createdby">Ərsəyə gətirdi: Qoşqar M.</span> | |||
- Logo remains defined in LocalSettings.php via $wgFooterIcons | |||
*/ | |||
/* Make footer content a single horizontal row */ | |||
.mw-footer__content { | |||
display: flex; | |||
justify-content: space-between; | |||
align-items: center; | |||
} | |||
/* Keep footer links inline */ | |||
.mw-footer__places ul { | |||
display: flex; | |||
align-items: center; | |||
gap: 12px; | |||
flex-wrap: wrap; | |||
} | |||
/* Push "Ərsəyə gətirdi" to the right */ | |||
.azxp-createdby { | |||
margin-left: auto; | |||
white-space: nowrap; | |||
font-size: 0.9em; | |||
opacity: 0.85; | |||
} | } | ||
Səhifənin 18:18, 30 dekabr 2025 tarixinə olan son versiyası
/* ==================================================
GLOBAL STYLES (all skins)
================================================== */
.mw-parser-output ul {
margin-left: 1.2em;
}
.mw-parser-output h2 {
margin-top: 1.2em;
}
/* ==================================================
AzXP homepage layout
================================================== */
.azxp-grid {
display: grid;
grid-template-columns: 2fr 1fr;
gap: 24px;
margin-top: 1em;
}
.azxp-main,
.azxp-side {
min-width: 0;
}
.azxp-notice {
background: #f8f9fa;
border-left: 5px solid #3366cc;
padding: 10px;
margin: 12px 0;
}
/* Mobile fallback */
@media (max-width: 900px) {
.azxp-grid {
grid-template-columns: 1fr;
}
}
/* ==================================================
Card layout
================================================== */
.azxp-card {
border: 1px solid #eaecf0;
padding: 12px;
margin-bottom: 20px;
background: #fff;
display: flex;
gap: 16px;
align-items: flex-start;
}
.azxp-card-photo {
width: 120px;
flex-shrink: 0;
text-align: center;
}
.azxp-photo-placeholder {
width: 120px;
height: 160px;
background: #f8f9fa;
border: 1px dashed #a2a9b1;
display: flex;
align-items: center;
justify-content: center;
font-size: 12px;
color: #54595d;
}
.azxp-card-content {
flex: 1;
}
/* ==================================================
Index columns
================================================== */
.azxp-index ul {
column-count: 3;
column-gap: 30px;
}
@media (max-width: 900px) {
.azxp-index ul {
column-count: 1;
}
}
/* ==================================================
FOOTER FIX – Vector-2022 SAFE METHOD
================================================== */
/*
REQUIREMENTS:
- Footer text must be added via MediaViki:Footer as:
* <span class="azxp-createdby">Ərsəyə gətirdi: Qoşqar M.</span>
- Logo remains defined in LocalSettings.php via $wgFooterIcons
*/
/* Make footer content a single horizontal row */
.mw-footer__content {
display: flex;
justify-content: space-between;
align-items: center;
}
/* Keep footer links inline */
.mw-footer__places ul {
display: flex;
align-items: center;
gap: 12px;
flex-wrap: wrap;
}
/* Push "Ərsəyə gətirdi" to the right */
.azxp-createdby {
margin-left: auto;
white-space: nowrap;
font-size: 0.9em;
opacity: 0.85;
}