-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
170 lines (153 loc) · 2.87 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
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
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;500&display=swap");
* {
box-sizing: border-box;
}
body {
font-family: "Open Sans", sans-serif;
background-color: #0d1821;
background: linear-gradient(180deg, rgb(45, 50, 56), rgb(66, 77, 92));
color: #dddddd;
margin: 0;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 100vh;
overflow: hidden;
}
.main {
display: flex;
align-items: center;
width: 100%;
}
.user-form {
width: 100%;
width: 600px;
display: flex;
justify-content: center;
position: relative;
}
.clear {
position: absolute;
right: 0.5rem;
border: none;
background: transparent;
padding: 0.5rem 0.8rem;
color: #acacac;
font-size: 1rem;
cursor: pointer;
}
.clear:hover {
color: #acacac;
font-weight: bold;
}
.user-form input {
width: 100%;
display: block;
background-color: rgb(34, 38, 46);
color: #cecece;
border: none;
border-radius: 1000px;
padding: 0.6rem 1.5rem;
font-family: inherit;
font-size: 0.9rem;
font-weight: 500;
margin-bottom: 2rem;
box-shadow: 0 5px 10px rgba(154, 160, 185, 0.05),
0 15px 40px rgba(0, 0, 0, 0.1);
}
.user-form input::placeholder {
color: #acacac;
}
.user-form input:focus {
outline: none;
}
.card {
max-width: 600px;
background: linear-gradient(90deg, rgb(34, 41, 53), rgb(44, 51, 63));
color: #f1f1f1;
padding: 2rem 3rem;
border-radius: 10px;
display: flex;
margin: 0 auto;
box-shadow: 0 5px 10px rgba(154, 160, 185, 0.05),
0 15px 40px rgba(0, 0, 0, 0.1);
}
.errorCard {
text-align: center;
background: linear-gradient(rgb(34, 41, 53), rgb(44, 51, 63));
width: 600px;
color: rgb(160, 160, 160);
padding: 0.8rem;
border-radius: 10px;
margin: 0 auto;
}
.errorCard h2 {
color: #eee;
}
.avatar {
border-radius: 50%;
border: 5px solid #0d1821;
height: 120px;
width: 120px;
}
.user-info {
color: #eee;
margin-left: 2rem;
}
.user-info h2 {
margin-top: 0;
}
.user-info p {
font-size: 1rem;
}
.user-info ul {
list-style-type: none;
display: flex;
justify-content: space-between;
padding: 0;
max-width: 400px;
}
.user-info ul li {
font-size: 1rem;
display: flex;
align-items: center;
}
.user-info ul strong {
font-size: 0.9rem;
margin-left: 0.5rem;
}
.repo {
text-decoration: none;
background-color: rgb(62, 70, 77);
box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.3);
color: #eee;
padding: 0.2rem 0.6rem;
border-radius: 500px;
font-size: 0.8rem;
margin-right: 0.3rem;
margin-bottom: 0.5rem;
display: inline-block;
}
@media (max-width: 550px) {
.container {
padding: 0.2rem;
}
.card {
flex-direction: column;
align-items: center;
}
.user-form {
width: 100%;
}
.user-form input {
margin-bottom: 1.3rem;
}
.user-info {
align-items: center;
margin-left: 0;
}
h2 {
text-align: center;
}
}