MediaWiki:Common.css: Difference between revisions
No edit summary |
No edit summary |
||
| Line 92: | Line 92: | ||
} | } | ||
/* ===== CompFAQ Search ===== */ | /* ===== CompFAQ Search Styling ===== */ | ||
.faq-search { | .faq-search { | ||
margin | display: flex; | ||
flex-wrap: wrap; | |||
align-items: center; | |||
gap: 0.5em; | |||
margin: 1em 0 1.5em; | |||
font-family: var(--font-head, "Alegreya Sans SC", system-ui, sans-serif); | |||
} | } | ||
.faq-search input[type="text"] { | .faq-search input[type="text"] { | ||
padding: 0. | flex: 1 1 300px; | ||
font-size: | min-width: 220px; | ||
border: 1px solid # | padding: 0.5em 0.7em; | ||
border-radius: | font-size: 1rem; | ||
border: 1px solid #ccc; | |||
border-radius: 6px; | |||
background-color: #fff; | |||
color: #222; | |||
box-shadow: 0 1px 2px rgba(0,0,0,0.05); | |||
} | |||
.faq-search input[type="text"]:focus { | |||
border-color: #006699; | |||
outline: none; | |||
box-shadow: 0 0 4px rgba(0,102,153,0.3); | |||
} | } | ||
.faq-search input[type="submit"] { | .faq-search input[type="submit"] { | ||
padding: 0. | padding: 0.5em 1em; | ||
font-size: | font-size: 1rem; | ||
font-weight: 600; | |||
border: none; | |||
border-radius: 6px; | |||
color: #fff; | color: #fff; | ||
background-color: #006699; | |||
cursor: pointer; | cursor: pointer; | ||
transition: background 0.2s ease-in-out; | |||
} | } | ||
.faq-search input[type="submit"]:hover { | .faq-search input[type="submit"]:hover { | ||
background: #004d73; | background-color: #004d73; | ||
} | } | ||