-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
145 lines (125 loc) · 2.23 KB
/
style.css
File metadata and controls
145 lines (125 loc) · 2.23 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
142
143
144
145
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Arial', sans-serif;
background-color: #1a2633;
color: #f5f5f5;
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
padding: 20px;
}
.container {
width: 100%;
max-width: 800px;
padding: 20px;
background-color: #2c3e50;
border-radius: 10px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.container h2{
text-align: center;
margin-bottom: 30px;
}
/* Search form */
#search-form {
display: flex;
justify-content: center;
margin-bottom: 20px;
}
#username {
padding: 10px;
font-size: 16px;
width: 100%;
border: 2px solid #3498db;
border-radius: 5px;
background-color: #34495e;
color: #f5f5f5;
}
#username:focus {
outline: none;
border-color: #2980b9;
}
.main-content {
display: none;
background-color: #34495e;
padding: 20px;
border-radius: 8px;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.error-message {
color: #ff0000;
font-size: 1rem;
margin-top: 20px;
padding: 10px;
background-color: #fff;
border-radius: 5px;
border: 2px solid #3498db;
}
.loading {
display: none;
text-align: center;
}
.card {
display: none;
text-align: center;
color: #fff;
}
.card img {
width: 100px;
height: 100px;
border-radius: 50%;
margin: 10px 0;
}
.user-info {
text-align: center;
}
.user-info h1 {
font-size: 24px;
margin: 10px 0;
}
.user-info p {
font-size: 14px;
color: #fff;
}
.info {
list-style: none;
display: flex;
justify-content: center;
gap: 20px;
margin: 15px 0;
}
.info li {
font-size: 14px;
}
.info strong {
display: block;
margin-top: 5px;
color: #fff;
}
#repos {
display: flex;
flex-wrap: wrap;
gap: 10px;
justify-content: center;
margin-top: 15px;
}
.repo {
display: inline-block;
padding: 5px 10px;
font-size: 14px;
background-color: #2c3e50;
border: 2px solid #3498db;
color: #ecf0f1;
text-decoration: none;
border-radius: 4px;
transition: background-color 0.3s ease, color 0.3s ease;
}
.repo:hover {
background-color: #34495e;
color: #fff;
}