-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
45 lines (40 loc) · 1.2 KB
/
styles.css
File metadata and controls
45 lines (40 loc) · 1.2 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
styles.css
/* Style the search bar container */
.search-container {
max-width: 400px;
margin: 50px auto;
display: flex;
align-items: center;
}
/* Style the input field */
.search-input {
width: 100%;
padding: 10px;
border: 1px solid #ccc;
border-radius: 4px 0 0 4px;
outline: none;
font-size: 16px;
}
/* Style the search button */
.search-button {
padding: 10px;
background-color: #0030a6;
color: white;
border: none;
cursor: pointer;
border-radius: 0 4px 4px 0;
font-size: 18px;
}
/* Basic styling for search results */
.results {
display: flex;
flex-direction: column;
gap: 8px; /* Space between result items */
max-width: 400px;
margin: 20px auto;
padding: 10px;
background-color: #f9f9f9;
border: 1px solid #ddd;
border-radius: 4px;
font-size: 16px;
}