-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathres_name_search.html
More file actions
115 lines (101 loc) · 3.12 KB
/
res_name_search.html
File metadata and controls
115 lines (101 loc) · 3.12 KB
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
<!-- made by 임경수 -->
<html>
<head>
<title>restaurant name</title>
<script src="https://kit.fontawesome.com/eb782002a4.js" crossorigin="anonymous"></script>
<link href="https://fonts.googleapis.com/css2?family=Jua&display=swap" rel="stylesheet">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=0, user-scalable=no, target-densitydpi=medium-dpi" />
<style>
*{
margin:0;
padding:0;
}
html{
width:100%;
height:100%;
font-family: 'Jua', sans-serif;
background-color:grey;
}
body{
height:100%;
width:100%;
display:flex;
flex-direction:column;
align-items:center;
border-style:none;
}
h1{
text-align:center;
font-size:5vmax;
margin-bottom:15%;
border: solid 5px black;
}
.fas{
font-size:5vmax;
color:black;
}
input[type=text]{
font-family: 'Jua', sans-serif;
width:90%;
height:30%;
left:5%;
position:relative;
display:block;
font-size:30px;
text-align:center;
border: solid 5px black;
transition: all 0.3s;
}
input[type=text]:focus{
background-color:black;
color:white;
}
input[type=submit]{
font-family: 'Jua', sans-serif;
width:90%;
height:50px;
font-size:20px;
left:5%;
position:relative;
background-color:white;
}
input[type=submit]:hover{
background-color:black;
color:white;
}
#main{
background-color:white;
width:70%;
height:70%;
margin-top:5%;
}
#footer{
position:fixed;
bottom:0;
}
#footer a{
color:white;
text-decoration:none;
font-size:50px;
}
#footer a:hover{
color:yellow;
}
</style>
</head>
<body>
<div id = "main">
<h1><i class="fas fa-utensils"></i> 식당 이름 검색</h1>
<form action="#" method="post" autocomplete="off">
{% csrf_token %}
<div id="inputs">
<input type="text" name="res_name" placeholder="식당 이름 입력">
<input type="submit" value="검색">
</div>
</form>
</div>
<div id="footer">
<a href="../">메인메뉴로</a>
</div>
</body>
</html>