-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
110 lines (94 loc) · 1.85 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
103
104
105
106
107
108
109
110
body, h1, h3, p, input {
margin: 0;
padding: 0;
}
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
background-color: #18181B;
color: #A1A1AA;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 100vh;
opacity: 0.7;
background-image: linear-gradient(#86efad2a 1px, transparent 1px), linear-gradient(to right, #86efad2a 1px, #18181b3d 1px);
background-size: 20px 20px;
}
h1 {
color: #86EFAC;
margin-bottom: 10px;
}
h3 {
font-weight: normal;
margin-bottom: 30px;
}
.search-container {
position: relative;
max-width: 300px;
margin: 0 auto;
}
.search-input {
width: 300px;
padding: 10px;
border: none;
border-radius: 5px;
outline: none;
background-color: #18181B;
color: #A1A1AA;
}
.search-icon {
position: absolute;
top: 50%;
right: 10px;
transform: translateY(-50%);
color: #A1A1AA;
cursor: pointer;
opacity: 0.7;
transition: opacity 0.3s ease;
}
.search-container:hover .search-icon {
opacity: 1;
}
@media (max-width: 600px) {
body {
padding: 20px;
}
h1 {
font-size: 24px;
}
h3 {
font-size: 16px;
margin-bottom: 20px;
}
.search-container {
max-width: 100%;
}
}
.results-container {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 20px;
margin-top: 20px;
}
.result-card {
background-color: #18181B;
border-radius: 8px;
padding: 20px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
width: 300px;
color: #A1A1AA;
transition: transform 0.3s ease;
}
.result-card:hover {
transform: translateY(-5px);
}
.result-card a {
color: #3498db;
text-decoration: none;
font-weight: bold;
}
.result-card a:hover {
text-decoration: underline;
}