MediaWiki:Common.css: Difference between revisions

No edit summary
No edit summary
Line 7: Line 7:
     max-width: 1200px;
     max-width: 1200px;
     margin: 0 auto;
     margin: 0 auto;
    /* Typography baseline (consistency) */
    font-size: 15px;
    line-height: 1.55;
}
/* Ensure portal content inherits the same base sizing */
.bc-wrap .bc-card,
.bc-wrap .bc-cleanlist,
.bc-wrap .bc-cleanlist ul,
.bc-wrap .bc-cleanlist ol,
.bc-wrap .bc-cleanlist li {
    font-size: inherit;
    line-height: inherit;
}
}


Line 39: Line 53:


.bc-hero .bc-kicker {
.bc-hero .bc-kicker {
     font-size: 12px;
     font-size: 13px; /* normalized to match other small UI text */
     letter-spacing: .06em;
     letter-spacing: .06em;
     text-transform: uppercase;
     text-transform: uppercase;
Line 61: Line 75:
     background: rgba(255,255,255,.10);
     background: rgba(255,255,255,.10);
     font-size: 13px;
     font-size: 13px;
    line-height: 1.3;
     white-space: nowrap;
     white-space: nowrap;
}
}
Line 105: Line 120:
}
}


/* Typography normalization inside portal */
.bc-card h2 {
.bc-card h2 {
     margin: 0 0 10px 0;
     margin: 0 0 10px 0;
     font-size: 18px;
     font-size: 18px;
     line-height: 1.2;
     line-height: 1.25; /* consistent */
}
}


Line 114: Line 130:
     margin: 14px 0 8px 0;
     margin: 14px 0 8px 0;
     font-size: 15px;
     font-size: 15px;
    line-height: 1.3; /* consistent */
}
}


/* Use the same base size for most body text, keep subtle slightly smaller */
.bc-subtle {
.bc-subtle {
     color: #555;
     color: #555;
     font-size: 13px;
     font-size: 13px;
     line-height: 1.45;
     line-height: 1.5;
}
}


.bc-mini {
.bc-mini {
     font-size: 12px;
     font-size: 12px;
    line-height: 1.45;
     color: #666;
     color: #666;
}
/* Ensure list text is consistent (many skins alter list sizes) */
.bc-wrap .bc-cleanlist,
.bc-wrap .bc-cleanlist li,
.bc-wrap .bc-cleanlist a,
.bc-wrap .bc-cleanlist p {
    font-size: 15px;
    line-height: 1.55;
}
}


Line 171: Line 199:
     display: block;
     display: block;
     font-size: 14px;
     font-size: 14px;
    line-height: 1.25;
     margin-bottom: 2px;
     margin-bottom: 2px;
}
}
Line 177: Line 206:
     display: block;
     display: block;
     font-size: 12px;
     font-size: 12px;
    line-height: 1.4;
     color: #555;
     color: #555;
}
}