Widget:StartseitenSuche: Unterschied zwischen den Versionen
Aus MediaWiki
Admin (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
Keine Bearbeitungszusammenfassung |
||
Zeile 6: | Zeile 6: | ||
background-color: #f0f0f0; | background-color: #f0f0f0; | ||
border-radius: 5px; | border-radius: 5px; | ||
width: max-content; | |||
} | } | ||
.perplexity-search input[type="text"] { | .perplexity-search input[type="text"] { | ||
width: 200px; | width: 200px; | ||
Zeile 12: | Zeile 14: | ||
border: 1px solid #ccc; | border: 1px solid #ccc; | ||
border-radius: 3px; | border-radius: 3px; | ||
display: block; | |||
} | } | ||
.perplexity-search input[type="submit"] { | .perplexity-search input[type="submit"] { | ||
padding: 5px 10px; | padding: 5px 10px; | ||
Zeile 20: | Zeile 24: | ||
border-radius: 3px; | border-radius: 3px; | ||
cursor: pointer; | cursor: pointer; | ||
width: 25%; | |||
margin-top: 10px; | |||
float: right; | |||
} | } | ||
</style> | </style> | ||
<div class="perplexity-search"> | <div class="perplexity-search"> | ||
<form onsubmit="window.open('https://www.perplexity.ai/?q=' + encodeURIComponent(this.query.value), '_blank'); return false;"> | <form onsubmit="window.open('https://www.perplexity.ai/?q=' + encodeURIComponent(this.query.value), '_blank'); return false;"> |