MediaWiki:Erudite.css: Unterschied zwischen den Versionen
Vieno (Diskussion | Beiträge) |
Vieno (Diskussion | Beiträge) (Suche in schön) |
||
| Zeile 1: | Zeile 1: | ||
/* Suche */ | /* Suche */ | ||
| + | #searchform *, #searchform *::before, #searchform *::after { | ||
| + | box-sizing: border-box; | ||
| + | } | ||
#searchform .searchBlock { | #searchform .searchBlock { | ||
position: relative; | position: relative; | ||
| Zeile 5: | Zeile 8: | ||
#searchform input[name="search"] { | #searchform input[name="search"] { | ||
width: 100%; | width: 100%; | ||
| + | font-size: 1rem; | ||
padding: .4em; | padding: .4em; | ||
| − | background-color: #fff; | + | padding-right: 4em; |
| − | border: 1px solid # | + | color: #fff; |
| + | background-color: transparent; | ||
| + | border: 1px solid #666; | ||
| + | border-radius: 0; | ||
| + | } | ||
| + | #searchform .searchButton { | ||
| + | position: absolute; | ||
| + | right: 0; | ||
| + | top: 0; | ||
| + | height: 100%; | ||
| + | padding: .2em .3em; | ||
| + | font-size: .9rem; | ||
| + | line-height: 1; | ||
| + | color: #fff; | ||
| + | background-color: hsl( 0 0% 0% / .2 ); | ||
| + | border: 0; | ||
| + | border-left: 1px solid #666; | ||
| + | border-radius: 0; | ||
} | } | ||
Aktuelle Version vom 18. Januar 2022, 21:19 Uhr
/* Suche */
#searchform *, #searchform *::before, #searchform *::after {
box-sizing: border-box;
}
#searchform .searchBlock {
position: relative;
}
#searchform input[name="search"] {
width: 100%;
font-size: 1rem;
padding: .4em;
padding-right: 4em;
color: #fff;
background-color: transparent;
border: 1px solid #666;
border-radius: 0;
}
#searchform .searchButton {
position: absolute;
right: 0;
top: 0;
height: 100%;
padding: .2em .3em;
font-size: .9rem;
line-height: 1;
color: #fff;
background-color: hsl( 0 0% 0% / .2 );
border: 0;
border-left: 1px solid #666;
border-radius: 0;
}