Andoza:Ziyosfera/Bosh sahifa/styles.css
Qiyofa
/* =========================================================
ZIYOSFERA — BOSH SAHIFA
Sahifa: Andoza:Ziyosfera/Bosh sahifa/styles.css
========================================================= */
.ziyo-home {
width: 100%;
max-width: 100%;
margin: 0 auto;
padding: 0;
box-sizing: border-box;
color: #202122;
font-family: sans-serif;
}
.ziyo-home *,
.ziyo-home *::before,
.ziyo-home *::after {
box-sizing: border-box;
}
/* =========================================================
HERO
========================================================= */
.ziyo-hero {
width: 100%;
margin: 0 0 18px 0;
border: 1px solid #c8dbea;
border-radius: 18px;
background: #ffffff;
overflow: hidden;
}
.ziyo-hero-top {
display: flex;
align-items: center;
justify-content: space-between;
gap: 28px;
padding: 20px 22px 18px;
background: #eef5f9;
border-bottom: 1px solid #d5e3ec;
}
.ziyo-hero-left {
flex: 1 1 auto;
min-width: 0;
}
.ziyo-hero-right {
flex: 0 0 auto;
}
/* =========================================================
NOM VA TAVSIF
========================================================= */
.ziyo-site-title {
margin: 0 0 6px 0 !important;
padding: 0 0 3px 0 !important;
border-bottom: 1px solid #a2a9b1 !important;
font-family: Georgia, "Times New Roman", serif !important;
font-size: 2.05em !important;
font-style: italic;
font-weight: 700 !important;
line-height: 1.15 !important;
color: #17365d;
}
.ziyo-site-tagline {
margin: 0 !important;
padding: 0 !important;
max-width: 760px;
font-size: 1.04em;
line-height: 1.65;
color: #33475b;
}
/* =========================================================
STATISTIKA
========================================================= */
.ziyo-stat-grid {
display: grid;
grid-template-columns: repeat(3, minmax(100px, 1fr));
gap: 12px;
}
.ziyo-stat {
min-width: 100px;
padding: 13px 12px 12px;
border: 1px solid #d3e0e9;
border-radius: 16px;
background: #ffffff;
text-align: center;
}
.ziyo-stat-num {
margin: 0 0 5px 0;
font-family: Georgia, "Times New Roman", serif;
font-size: 1.65em;
font-weight: 700;
line-height: 1.1;
color: #174472;
}
.ziyo-stat-label {
margin: 0;
font-size: 0.95em;
font-weight: 600;
line-height: 1.2;
color: #475569;
}
/* =========================================================
HERO PASTKI HAVOLALARI
========================================================= */
.ziyo-hero-bottom {
padding: 19px 22px 20px;
background: #ffffff;
}
.ziyo-hero-links {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 10px 12px;
}
.ziyo-hero-links > a {
display: inline-flex;
align-items: center;
justify-content: center;
min-height: 38px;
padding: 7px 18px;
border: 1px solid #c9d9e6;
border-radius: 22px;
background: #ffffff;
color: #17365d !important;
font-size: 0.95em;
font-weight: 700;
text-decoration: none !important;
}
.ziyo-hero-links > a:hover {
background: #f2f7fa;
border-color: #9ebbd0;
text-decoration: none !important;
}
/* =========================================================
ASOSIY 2 USTUN
========================================================= */
.ziyo-main {
display: grid;
grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
gap: 16px;
align-items: start;
width: 100%;
}
.ziyo-column {
display: flex;
flex-direction: column;
gap: 16px;
min-width: 0;
}
/* =========================================================
UMUMIY KARTOCHKA
========================================================= */
.ziyo-box {
width: 100%;
border: 1px solid #d6dde3;
border-radius: 16px;
background: #ffffff;
overflow: hidden;
}
.ziyo-box-head {
display: flex;
align-items: center;
gap: 10px;
min-height: 52px;
padding: 9px 14px;
border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.ziyo-box-title {
flex: 1 1 auto;
font-size: 1.08em;
font-weight: 700;
line-height: 1.3;
color: #202122;
}
.ziyo-box-body {
padding: 14px 16px 16px;
font-size: 0.98em;
line-height: 1.6;
color: #202122;
overflow-wrap: anywhere;
}
/* =========================================================
IKONKALAR — MUHIM
========================================================= */
.ziyo-box-icon {
display: flex !important;
align-items: center !important;
justify-content: center !important;
flex: 0 0 38px;
width: 38px;
min-width: 38px;
height: 38px;
margin: 0 !important;
padding: 0 !important;
position: static !important;
float: none !important;
}
.ziyo-box-icon a,
.ziyo-box-icon span,
.ziyo-box-icon figure {
display: flex !important;
align-items: center !important;
justify-content: center !important;
margin: 0 !important;
padding: 0 !important;
position: static !important;
float: none !important;
}
.ziyo-box-icon img,
.ziyo-box-icon .mw-file-element {
display: block !important;
width: 34px !important;
max-width: 34px !important;
height: 34px !important;
margin: 0 !important;
padding: 0 !important;
position: static !important;
float: none !important;
top: auto !important;
right: auto !important;
bottom: auto !important;
left: auto !important;
transform: none !important;
object-fit: contain;
}
/* =========================================================
BLOKLARNING RANGLARI
========================================================= */
#z-tm {
border-color: #e6d4aa;
}
#z-tm .ziyo-box-head {
background: #fff3d7;
}
#z-tm .ziyo-box-title {
color: #785000;
}
#z-ym {
border-color: #badfbe;
}
#z-ym .ziyo-box-head {
background: #eaf7ec;
}
#z-ym .ziyo-box-title {
color: #245b2d;
}
#z-xm {
border-color: #ccd3e5;
}
#z-xm .ziyo-box-head {
background: #eef0f8;
}
#z-xm .ziyo-box-title {
color: #39456d;
}
#z-tr {
border-color: #d8c7e8;
}
#z-tr .ziyo-box-head {
background: #f4ecfa;
}
#z-tr .ziyo-box-title {
color: #63427b;
}
#z-yan {
border-color: #e8c9d1;
}
#z-yan .ziyo-box-head {
background: #fde8ed;
}
#z-yan .ziyo-box-title {
color: #a51d43;
}
#z-bls {
border-color: #bad6e8;
}
#z-bls .ziyo-box-head {
background: #e7f4fb;
}
#z-bls .ziyo-box-title {
color: #205d7d;
}
#z-bgn {
border-color: #cbdcbf;
}
#z-bgn .ziyo-box-head {
background: #edf7e8;
}
#z-bgn .ziyo-box-title {
color: #3b6530;
}
#z-kt {
border-color: #c9d6e3;
}
#z-kt .ziyo-box-head {
background: #edf3f8;
}
#z-kt .ziyo-box-title {
color: #355a78;
}
/* =========================================================
BODY ICHIDAGI ELEMENTLAR
========================================================= */
.ziyo-box-body > :first-child {
margin-top: 0;
}
.ziyo-box-body > :last-child {
margin-bottom: 0;
}
.ziyo-box-body p {
margin-top: 0.5em;
margin-bottom: 0.8em;
}
.ziyo-box-body ul,
.ziyo-box-body ol {
margin-top: 0.4em;
margin-bottom: 0.7em;
}
.ziyo-box-body table {
max-width: 100%;
}
.ziyo-box-body .wikitable {
width: 100%;
}
.ziyo-box-body img {
max-width: 100%;
height: auto;
}
/* =========================================================
KUN TASVIRI
========================================================= */
#z-kt .ziyo-box-body {
text-align: center;
}
#z-kt .ziyo-box-body img {
max-width: 100%;
height: auto;
}
/* =========================================================
MINI HAVOLALAR
========================================================= */
.ziyo-mini-links {
clear: both;
margin-top: 10px;
padding-top: 8px;
border-top: 1px solid #eaecf0;
text-align: right;
}
.ziyo-mini-links ul {
display: flex;
flex-wrap: wrap;
justify-content: flex-end;
gap: 4px 10px;
margin: 0 !important;
padding: 0 !important;
list-style: none;
}
.ziyo-mini-links li {
display: inline;
margin: 0 !important;
padding: 0 !important;
}
/* =========================================================
HAVOLALAR
========================================================= */
.ziyo-home a {
text-decoration: none;
}
.ziyo-home a:hover {
text-decoration: underline;
}
/* =========================================================
FLOAT TOZALASH
========================================================= */
.ziyo-box::after,
.ziyo-box-body::after,
.ziyo-main::after,
.ziyo-hero::after {
content: "";
display: table;
clear: both;
}
/* =========================================================
MEDIAWIKI RASM STILINI CHEKLASH
========================================================= */
.ziyo-home .mw-file-description,
.ziyo-home .mw-file-element {
max-width: 100%;
}
.ziyo-home .ziyo-box-icon .mw-file-description {
display: flex !important;
align-items: center !important;
justify-content: center !important;
width: 34px;
height: 34px;
margin: 0 !important;
padding: 0 !important;
}
/* =========================================================
PLANSHET
========================================================= */
@media screen and (max-width: 900px) {
.ziyo-hero-top {
flex-direction: column;
align-items: stretch;
}
.ziyo-hero-right {
width: 100%;
}
.ziyo-stat-grid {
width: 100%;
grid-template-columns: repeat(3, minmax(0, 1fr));
}
.ziyo-main {
grid-template-columns: 1fr;
}
}
/* =========================================================
MOBIL
========================================================= */
@media screen and (max-width: 600px) {
.ziyo-home {
font-size: 0.96em;
}
.ziyo-hero {
border-radius: 12px;
}
.ziyo-hero-top {
padding: 15px 14px;
gap: 16px;
}
.ziyo-site-title {
font-size: 1.7em !important;
}
.ziyo-site-tagline {
font-size: 0.96em;
line-height: 1.5;
}
.ziyo-stat-grid {
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 7px;
}
.ziyo-stat {
min-width: 0;
padding: 10px 5px;
border-radius: 12px;
}
.ziyo-stat-num {
font-size: 1.35em;
}
.ziyo-stat-label {
font-size: 0.78em;
}
.ziyo-hero-bottom {
padding: 14px;
}
.ziyo-hero-links {
gap: 7px;
}
.ziyo-hero-links > a {
min-height: 34px;
padding: 6px 11px;
font-size: 0.88em;
}
.ziyo-main {
gap: 12px;
}
.ziyo-column {
gap: 12px;
}
.ziyo-box {
border-radius: 12px;
}
.ziyo-box-head {
min-height: 48px;
padding: 7px 11px;
}
.ziyo-box-icon {
flex-basis: 34px;
width: 34px;
min-width: 34px;
height: 34px;
}
.ziyo-box-icon img,
.ziyo-box-icon .mw-file-element {
width: 30px !important;
max-width: 30px !important;
height: 30px !important;
}
.ziyo-box-title {
font-size: 1em;
}
.ziyo-box-body {
padding: 12px;
font-size: 0.95em;
}
.nomobile {
display: none !important;
}
}
/* =========================================================
JUDA KICHIK EKRAN
========================================================= */
@media screen and (max-width: 420px) {
.ziyo-stat-grid {
grid-template-columns: repeat(3, minmax(0, 1fr));
}
.ziyo-stat-label {
font-size: 0.72em;
}
.ziyo-hero-links > a {
flex: 1 1 auto;
}
}
/* Maxsus:NewPages-dagi ortiqcha sana va ismlarni yashirib, faqat toza maqola nomlarini ko'rsatish */
#z-rand .mw-newpages-time,
#z-rand .mw-userlink,
#z-rand .mw-usertoollinks,
#z-rand .comment,
#z-rand .mw-changeslist-links,
#z-rand .mw-changeslist-separator {
display: none !important;
}
#z-rand ul {
margin: 0;
padding-left: 20px;
}
#z-rand li {
margin-bottom: 6px;
font-weight: 600;
font-size: 0.98rem;
}