metasearch/index.html

35 lines
891 B
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<title></title>
<meta charset="UTF-8">
<meta name="referrer" content="no-referrer">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="search" type="application/opensearchdescription+xml" href="opensearch.xml">
<style>
* { margin: 0; }
html, body { width: 100%; height: 100%; }
#search-box {
position: fixed;
left: 50%;
top: 1rem;
transform: translateX(-50%);
}
#info { color: gray; }
#info.error { color: red; }
</style>
<script type="module" src="index.js"></script>
</head>
<body>
<div id="search-box">
<form id="search">
<input name="query" type="text" placeholder="Query">
<input type="submit" value="Search">
</form>
<p id="info"></p>
</div>
</body>
</html>