MediaWiki:Common.css: Difference between revisions
No edit summary |
No edit summary |
||
| (9 intermediate revisions by the same user not shown) | |||
| Line 21: | Line 21: | ||
top: -0.20em !important; /* tiny lift to keep alignment */ | top: -0.20em !important; /* tiny lift to keep alignment */ | ||
} | } | ||
} | |||
/* Short Desc Styling */ | |||
#mw-content-subtitle { | |||
font-family: "Alegreya", Georgia, serif; | |||
font-style: italic; | |||
font-size: 1.3rem; | |||
color: #555; | |||
text-align: left; | |||
margin-top: 0.25em; | |||
margin-bottom: 1.25em; | |||
letter-spacing: 0.3px; | |||
padding-left: 0.15em; /* small offset aligns with body text */ | |||
} | } | ||
| Line 62: | Line 75: | ||
/* CompFAQ Nav */ | /* CompFAQ Nav */ | ||
.compfaq-nav { | .compfaq-nav { | ||
font-family: | font-family: "Inter", "Noto Sans", "Helvetica Neue", Arial, sans-serif; | ||
font-size: 0.9rem; | |||
border: 1px solid #ddd; | font-weight: 400; | ||
border- | color: #333; | ||
padding: 0. | background: transparent; | ||
border: none; | |||
border-top: 1px solid #ddd; | |||
border-bottom: 1px solid #ddd; | |||
padding: 0.4em 0; | |||
margin-bottom: 1em; | margin-bottom: 1em; | ||
text-align: center; | |||
} | } | ||
.compfaq- | .compfaq-nav a { | ||
color: #336699; | |||
color: # | |||
text-decoration: none; | text-decoration: none; | ||
margin: 0 0.3em; | |||
} | } | ||
.compfaq- | .compfaq-nav a:hover { | ||
text-decoration: underline; | text-decoration: underline; | ||
color: # | color: #003d66; | ||
} | } | ||
/* ===== 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; | ||
} | |||
.faq-search-container { | |||
text-align: center; | |||
} | |||
.compfaq-foot { | |||
font-family: "Alegreya", Georgia, serif; | |||
font-size: 0.95rem; | |||
color: #555; | |||
border-top: 1px solid #ddd; | |||
margin-top: 2.5em; | |||
padding-top: 1em; | |||
line-height: 1.4; | |||
} | } | ||
.compfaq-foot a { | |||
color: #336699; | |||
text-decoration: none; | |||
} | |||
.compfaq-foot a:hover { | |||
text-decoration: underline; | |||
} | |||
/* --- ADJUST CATEGORY BOXES --- */ | /* --- ADJUST CATEGORY BOXES --- */ | ||