-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
141 lines (118 loc) · 2.02 KB
/
style.css
File metadata and controls
141 lines (118 loc) · 2.02 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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
/* General Styles */
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
background-color: #f9f9f9;
}
h1{
text-align: center;
}
.search-box{
width: 600px;
background: #fff;
margin: 100px auto 0;
border-radius: 5px;
}
.row{
display: flex;
align-items: center;
padding: 10px 20px;
}
input{
flex: 1;
height: 40px;
background: transparent;
border: 0;
outline: 0;
font-size: 18px;
color:#333;
}
button{
background: transparent;
border: 0;
outline: 0;
}
button .material-icons{
width: 25px;
color: #555;
font-size: 25px;
cursor: pointer;
}
::placeholder{
color: #555;
}
.result-box ul{
border-top: 1px solid #999;
padding: 15px 10px;
}
.result-box ul li{
list-style: none;
border-radius: 3px;
padding: 15px 10px;
cursor: pointer;
}
.result-box ul li:hover{
background: #e9f3ff;
}
h1, h2 {
color: #2c3e50;
}
.container {
width: 90%;
max-width: 1000px;
margin: 20px auto;
background-color: #fff;
padding: 20px;
border-radius: 8px;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
/* Sections */
section {
margin-bottom: 20px;
}
section ul {
list-style-type: none;
padding-left: 0;
}
section ul li {
background-color: #ecf0f1;
margin: 5px 0;
padding: 10px;
border-radius: 4px;
transition: background-color 0.3s ease;
}
section ul li:hover {
background-color: #bdc3c7;
}
b {
color: #2980b9;
}
a {
text-decoration: none; /* Remove underline */
color: inherit; /* Inherit color from parent element */
}
/* Footer */
footer {
text-align: center;
padding: 10px 0;
background-color: #2c3e50;
color: white;
width: 100%;
bottom: 0;
}
.result-box {
max-height: 200px;
overflow-y: auto;
border: 1px solid #ccc;
margin-top: 5px;
background-color: #fff;
}
.result-item {
padding: 8px;
cursor: pointer;
border-bottom: 1px solid #f0f0f0;
}
.result-item:hover {
background-color: #f0f0f0;
}