MediaWiki:Common.css: Difference between revisions

No edit summary
No edit summary
Line 118: Line 118:
.bc-hero .bc-kicker {
.bc-hero .bc-kicker {
     color: rgba(255,255,255,.80) !important;
     color: rgba(255,255,255,.80) !important;
}
/* ============================================================
  HERO: integrated search bar
  ============================================================ */
.bc-hero-search {
    margin-top: 10px;
    margin-bottom: 14px;
    max-width: 900px;
}
.bc-hero-search form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    align-items: center;
}
.bc-hero-search-input {
    width: 100%;
    height: 46px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,.22);
    background: rgba(255,255,255,.10);
    color: #fff;
    padding: 0 14px;
    outline: none;
}
.bc-hero-search-input::placeholder {
    color: rgba(255,255,255,.70);
}
.bc-hero-search-input:focus {
    border-color: rgba(255,255,255,.45);
    background: rgba(255,255,255,.14);
}
.bc-hero-search-btn {
    height: 46px;
    padding: 0 16px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,.22);
    background: rgba(255,255,255,.16);
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
}
.bc-hero-search-btn:hover {
    background: rgba(255,255,255,.22);
    border-color: rgba(255,255,255,.30);
}
/* Slightly tighter secondary pill row */
.bc-pillrow-secondary .bc-pill {
    background: rgba(255,255,255,.09);
    border-color: rgba(255,255,255,.16);
}
.bc-pillrow-secondary .bc-pill:hover {
    background: rgba(255,255,255,.15);
    border-color: rgba(255,255,255,.24);
}
/* Mobile: stack button under input */
@media (max-width: 640px) {
    .bc-hero-search form {
        grid-template-columns: 1fr;
    }
    .bc-hero-search-btn {
        width: 100%;
    }
}
}