|
|
| Line 119: |
Line 119: |
| color: rgba(255,255,255,.80) !important; | | color: rgba(255,255,255,.80) !important; |
| } | | } |
|
| |
| /* ============================================================
| |
| HERO: search bar (works on all MediaWiki installs)
| |
| ============================================================ */
| |
|
| |
| .bc-hero-search {
| |
| margin-top: 10px;
| |
| margin-bottom: 14px;
| |
| max-width: 900px;
| |
| }
| |
|
| |
| .bc-hero-search-link {
| |
| display: grid;
| |
| grid-template-columns: 1fr auto;
| |
| gap: 10px;
| |
| align-items: center;
| |
| height: 46px;
| |
| padding: 0 10px 0 14px;
| |
| border-radius: 12px;
| |
| border: 1px solid rgba(255,255,255,.22);
| |
| background: rgba(255,255,255,.10);
| |
| text-decoration: none !important;
| |
| }
| |
|
| |
| .bc-hero-search-placeholder {
| |
| color: rgba(255,255,255,.70) !important;
| |
| white-space: nowrap;
| |
| overflow: hidden;
| |
| text-overflow: ellipsis;
| |
| }
| |
|
| |
| .bc-hero-search-cta {
| |
| height: 34px;
| |
| display: inline-flex;
| |
| align-items: center;
| |
| padding: 0 14px;
| |
| border-radius: 10px;
| |
| border: 1px solid rgba(255,255,255,.22);
| |
| background: rgba(255,255,255,.16);
| |
| color: #fff !important;
| |
| font-weight: 700;
| |
| white-space: nowrap;
| |
| }
| |
|
| |
| .bc-hero-search-link:hover {
| |
| background: rgba(255,255,255,.14);
| |
| border-color: rgba(255,255,255,.30);
| |
| }
| |
|
| |
| .bc-hero-search-link:hover .bc-hero-search-cta {
| |
| background: rgba(255,255,255,.22);
| |
| border-color: rgba(255,255,255,.30);
| |
| }
| |
|
| |
| /* Mobile: keep it clean */
| |
| @media (max-width: 640px) {
| |
| .bc-hero-search-link {
| |
| grid-template-columns: 1fr;
| |
| height: auto;
| |
| padding: 12px 14px;
| |
| gap: 10px;
| |
| }
| |
| .bc-hero-search-cta {
| |
| width: 100%;
| |
| justify-content: center;
| |
| height: 40px;
| |
| }
| |
| }
| |
|
| |
|
| |
|
| /* ============================================================ | | /* ============================================================ |