Difference between revisions of "MediaWiki:Gadget-calculator-search.css"
From WikiAnesthesia
Chris Rishel (talk | contribs) |
Chris Rishel (talk | contribs) |
||
Line 2: | Line 2: | ||
border-bottom: 1px solid #dee2e6; | border-bottom: 1px solid #dee2e6; | ||
padding: 0.5rem 0rem; | padding: 0.5rem 0rem; | ||
} | |||
@media only screen and (min-width: 530px) { | |||
#calculator-search { | |||
position: sticky; | |||
top: 251px; | |||
background: #ffffff; | |||
z-index: 900; | |||
} | |||
} | } | ||
#calculator-search form { | #calculator-search form { | ||
Line 15: | Line 23: | ||
#calculator-search-input, | #calculator-search-input, | ||
#calculator-category-input { | #calculator-category-input { | ||
margin-right: 0; | |||
} | } |
Revision as of 14:05, 20 September 2021
#calculator-search { border-bottom: 1px solid #dee2e6; padding: 0.5rem 0rem; } @media only screen and (min-width: 530px) { #calculator-search { position: sticky; top: 251px; background: #ffffff; z-index: 900; } } #calculator-search form { flex-wrap: nowrap; } #calculator-search h4 { padding-top: 0; } .calculator-search-label { font-size: 1.2rem; font-weight: 500; } #calculator-search-input, #calculator-category-input { margin-right: 0; }