Difference between revisions of "MediaWiki:Gadget-calculator-search.css"
From WikiAnesthesia
				Chris Rishel (talk | contribs)  | 
				Chris Rishel (talk | contribs)   | 
				||
| Line 3: | Line 3: | ||
     padding: 0.25rem 0rem;  |      padding: 0.25rem 0rem;  | ||
}  | }  | ||
@media only screen and (min-width:   | @media only screen and (min-width: 950px) {  | ||
     #calculator-search {  |      #calculator-search {  | ||
         position: sticky;  |          position: sticky;  | ||
Revision as of 13:11, 20 September 2021
#calculator-search {
    border-bottom: 1px solid #dee2e6;
    padding: 0.25rem 0rem;
}
@media only screen and (min-width: 950px) {
    #calculator-search {
        position: sticky;
        top: 251px;
        background: #ffffff;
        z-index: 800;
    }
}
#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;
}