-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
135 lines (118 loc) · 3.05 KB
/
index.html
File metadata and controls
135 lines (118 loc) · 3.05 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script src="script.js" defer></script>
<title>Github Users</title>
<style>
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600&display=swap');
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Manrope', sans-serif;
}
body {
display: flex;
justify-content: center;
flex-direction: column;
align-items: center;
padding: 2rem;
background-color: black;
color: #fff;
}
input {
padding: 0.5rem 1rem;
border: none;
outline: none;
border-radius: 3px;
font-size: 14px;
transition: 0.2s ease;
margin-right: 4px;
}
input::placeholder {
color: #777;
}
button {
padding: 0.5rem 1rem;
font-size: 14px;
border: none;
outline: none;
background-color: #273574;
color: #fff;
border-radius: 3px;
cursor: pointer;
transition: 0.2s ease;
}
button:hover {
opacity: 0.8;
}
.container {
margin-top: 3rem;
display: flex;
align-items: flex-start;
gap: 2rem;
border: 4px solid #273574;
border-radius: 10px;
padding: 2rem;
}
.profile {
max-width: 150px;
}
.profile img {
width: 100%;
height: 100%;
object-fit: cover;
border-radius: 50%;
}
.content {
width: 100%;
}
.content .username {
margin-bottom: 1rem;
margin-top: 12px;
}
b {
color: white;
margin-right: 4px;
font-size: 0.9rem;
}
.content p {
color: #81a3ee;
font-size: 0.9rem;
margin: 0.5rem 0;
}
.follower-container {
display: flex;
align-items: center;
gap: 1rem;
}
.location {
background-color: #273574;
color: #fff !important;
padding: 0.8rem;
border-radius: 7px;
letter-spacing: 1px;
}
@media screen and (max-width :450px) {
.container {
flex-direction: column;
align-items: center;
}
button {
display: block;
margin: 10px auto;
}
}
</style>
</head>
<body>
<form action="#">
<input type="text" id="search" placeholder="Search Github User">
<button type="submit">Search</button>
</form>
<div id="main"></div>
</body>
</html>