-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
144 lines (125 loc) · 2.52 KB
/
style.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
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
142
143
144
body {
font-family: "Arial", sans-serif;
position: relative;
margin: 0;
padding: 0;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
background-image: url("https://www.transparenttextures.com/patterns/45-degree-fabric.png"),
linear-gradient(135deg, #f06, #0ff); /* Example gradient */
background-repeat: repeat, no-repeat; /* Repeat pattern, no-repeat for gradient */
background-size: auto, 300% 300%; /* Auto for pattern, size for gradient */
animation: gradient 10s ease infinite;
}
.container {
position: relative;
z-index: 1;
max-width: 800px;
width: 90%;
padding: 20px;
background-color: #fff;
border-radius: 10px;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
text-align: center;
}
h1 {
color: #333;
margin-bottom: 20px;
}
.input-container {
margin-bottom: 20px;
}
input {
padding: 10px;
width: 70%;
border: 1px solid #ccc;
border-radius: 5px;
margin-right: 10px;
transition: border 0.3s;
}
input:focus {
border-color: #28a745;
outline: none;
}
button {
padding: 10px 15px;
background-color: #28a745;
color: white;
border: none;
border-radius: 5px;
cursor: pointer;
transition: background 0.3s;
}
button:hover {
background-color: #218838;
}
#map {
height: 500px;
margin-top: 20px;
border-radius: 5px;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
#results {
margin-top: 20px;
text-align: left;
padding: 20px;
background-color: #f7f7f7;
border-radius: 10px;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.result-item {
padding: 10px;
border-bottom: 1px solid #ccc;
display: flex;
align-items: center;
transition: background 0.3s;
}
.result-item:last-child {
border-bottom: none;
}
.result-item:hover {
background-color: #f0f0f0;
cursor: pointer;
}
.result-item img {
width: 50px;
height: 50px;
border-radius: 50%;
margin-right: 10px;
transition: transform 0.3s;
}
.result-item img:hover {
transform: scale(1.1);
}
.result-item .info {
flex: 1;
}
.result-item .info h2 {
margin-bottom: 5px;
font-weight: bold;
}
.result-item .info p {
font-size: 14px;
color: #666;
}
canvas {
position: absolute;
overflow-y: hidden;
overflow-x: hidden;
width: 100%;
margin: 0;
z-index: -1;
}
@keyframes gradient {
0% {
background-position: 0% 50%;
}
50% {
background-position: 100% 50%;
}
100% {
background-position: 0% 50%;
}
}