Repository navigation
Expand file tree
/
Copy pathSearch.css
More file actions
100 lines (85 loc) · 1.56 KB
/
Copy pathSearch.css
File metadata and controls
100 lines (85 loc) · 1.56 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
.search-container {
width: 90%;
margin: 0 auto;
font-family: Arial, sans-serif;
color: #333;
}
h1 {
text-align: center;
font-size: 2rem;
color: #24292f;
margin-bottom: 20px;
}
.search-bar {
display: flex;
justify-content: center;
margin-bottom: 20px;
}
.search-bar input {
padding: 10px;
font-size: 1rem;
width: 60%;
border: 1px solid #ddd;
border-radius: 5px 0 0 5px;
}
.search-bar button {
padding: 10px;
font-size: 1rem;
border: 1px solid #ddd;
border-left: none;
background-color: #007bff;
color: white;
cursor: pointer;
border-radius: 0 5px 5px 0;
}
.search-bar button:hover {
background-color: #0056b3;
}
.loading {
text-align: center;
font-size: 1.2rem;
color: #007bff;
}
.results {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
gap: 20px;
}
.repo-card {
border: 1px solid #e1e4e8;
padding: 15px;
background-color: white;
border-radius: 6px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.repo-header {
display: flex;
align-items: center;
margin-bottom: 10px;
}
.repo-avatar {
width: 40px;
height: 40px;
border-radius: 50%;
margin-right: 10px;
}
.repo-info h3 {
margin: 0;
font-size: 1.2rem;
color: #0366d6;
}
.repo-info .repo-owner {
font-size: 0.9rem;
color: #586069;
}
.repo-card p {
font-size: 0.9rem;
line-height: 1.5;
margin: 5px 0;
}
.repo-card a {
text-decoration: none;
}
.repo-card a:hover {
text-decoration: underline;
}