-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathstyles.css
102 lines (87 loc) · 1.52 KB
/
styles.css
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
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 20px;
background-color: #f4f4f4;
}
header {
background: #333;
color: white;
padding: 10px 0;
text-align: center;
}
.tabs {
display: flex;
justify-content: center;
margin-top: 10px;
}
.tab {
background: #444;
border: none;
color: white;
padding: 10px 20px;
cursor: pointer;
transition: background 0.3s;
}
.tab:hover {
background: #555;
}
.tab-content {
background: white;
padding: 20px;
border-radius: 5px;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
margin-top: 20px;
}
input {
padding: 10px;
margin: 5px 0;
width: 100%;
box-sizing: border-box;
}
button {
background: #28a745;
color: white;
padding: 10px;
border: none;
cursor: pointer;
transition: background 0.3s;
}
button:hover {
background: #218838;
}
.suggestion {
font-size: 0.9em;
color: gray;
margin-top: -10px;
margin-bottom: 10px;
}
/* search bar styling*/
#search-container {
position: relative;
width: 300px;
}
#search-input {
width: 100%;
padding: 8px;
box-sizing: border-box;
}
.suggestions {
position: absolute;
top: 100%;
left: 0;
right: 0;
border: 1px solid #ddd;
border-top: none;
max-height: 150px;
overflow-y: auto;
background-color: white;
z-index: 1000;
}
.suggestion-item {
padding: 8px;
cursor: pointer;
}
.suggestion-item:hover, .suggestion-item.selected {
background-color: #f0f0f0;
}