Simplify search bar
This commit is contained in:
parent
af7ea34b5c
commit
e95274dc31
@ -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>
|
||||
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user