-
Notifications
You must be signed in to change notification settings - Fork 0
/
search.html
116 lines (89 loc) · 1.88 KB
/
search.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
* {box-sizing: border-box;}
body {
margin: 300px 80px;
font: 400 16px 'Varela Round', sans-serif;
background: -webkit-linear-gradient(-45deg, #8363a1 0%, #74a8c3 100%);
background: linear-gradient(135deg, #8363a1 0%, #74a8c3 100%);
}
.topnav {
overflow: hidden;
background-color: #eee;
border: 2px solid #ccc;
border-radius: 9px;
opacity: 0.9;
}
.topnav a.active {
--background: #8363a1;
--text-color: #414856;
--primary-color: #4F29F0;
--border-radius: 10px;
}
.topnav .search-container {
float: center;
}
.topnav input[type=text] {
padding: 6px;
margin-top: 3px;
font-size: 17px;
border: 1px solid #ccc;
border-radius: 11px;
width: 95%;
}
.topnav .search-container button {
float: right;
padding: 2px;
margin-top: 6px;
margin-right: 6px;
background: #7094db;
font-size: 17px;
border-radius: 20%;
cursor: pointer;
color: #f2f2f2;
box-shadow: 0 10px 20px rgba(#414856, .05);
}
.topnav .search-container button:hover {
background: #ccc;
}
@media screen and (max-width: 600px) {
.topnav .search-container {
float: none;
}
.topnav a, .topnav input[type=text], .topnav .search-container button {
float: none;
display: block;
text-align: left;
width: 100%;
margin: 0;
padding: 4px;
}
.topnav input[type=text] {
border: 1px solid #ccc;
border-radius: 11px;
border: 1px solid #7F828B
}
}
</style>
</head>
<body>
<div class="topnav">
<div class="search-container">
<form action="/action.php">
<input type="text" placeholder="Search.." name="search">
<button type="submit">Go..</button>
</form>
</div>
</div>
<div style="padding-left:16px">
</div>
</body>
</html>
<!--
https://github.com/b3nsh4/minimalbox
https://b3nsh4.tk
twitter.com/b3nsh4
-->