Simplify search bar

This commit is contained in:
Salt 2020-08-18 06:30:22 -05:00
parent af7ea34b5c
commit e95274dc31
2 changed files with 7 additions and 28 deletions

View File

@ -2,19 +2,13 @@
<head>
<?php include $_SERVER['DOCUMENT_ROOT'].'/src/common-meta.php';?>
<link href="/startpage/styles/styles.css" type="text/css" rel="stylesheet"/>
<link href="/styles/buttons.css" type="text/css" rel="stylesheet" />
<title>New Tab</title>
</head>
<body>
<div class="header">
<div class="search-wrapper">
<form class="search-form" id="sp-search-form" action="https://www.startpage.com/do/dsearch" method="post">
<input type="text" name="query" class="search-input" placeholder="sp" autofocus />
</form>
<form class="search-form" id="ddg-search-form" action="https://www.duckduckgo.com/html" method="get">
<input type="text" name="q" class="search-input" placeholder="ddg" />
</form>
</div>
<form class="search-form" id="sp-search-form" action="https://www.startpage.com/do/dsearch" method="post">
<input type="text" name="query" class="search-input" placeholder="search" autofocus />
</form>
</div>
<div class="content">
<div class="section-wrapper-header">labbity</div>

View File

@ -5,26 +5,11 @@
* Distributed under terms of the MIT license.
*/
/* Globals */
.content {
padding: inherit;
}
/* Specifics */
.search-wrapper {
display: flex;
flex-flow: row wrap;
max-width: 640px;
margin: auto;
padding: 2em 0;
position: relative;
}
.search-form {
flex-grow: 1;
padding: 0 1em;
margin: auto;
max-width: 32em;
padding: 2em;
text-align: center;
}
.search-input {