MediaWiki:Erudite.css: Unterschied zwischen den Versionen
Vieno (Diskussion | Beiträge) (Die Seite wurde neu angelegt: „→test: .mw-jump { background: red }“) |
Vieno (Diskussion | Beiträge) (Suche in schön) |
||
| (Eine dazwischenliegende Version desselben Benutzers wird nicht angezeigt) | |||
| Zeile 1: | Zeile 1: | ||
| − | /* | + | /* 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; | ||
| + | } | ||
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;
}