-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
129 lines (114 loc) · 2.47 KB
/
style.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
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;400;600&display=swap");
*{
box-sizing: border-box;
}
body {
background-color: #2a2a72;
background-image: linear-gradient(315deg, #2a2a72 0%, #2e2a68 74%);
display: flex;
font-family: "Poppins", sans-serif;
align-items: center;
flex-direction: column;
justify-content: center;
min-height: 100vh;
margin: 0;
}
input::placeholder{
color: #bbb;
}
input:focus{
outline: none;
}
input{
background-color: #4c2885;
border-radius: 10px;
font-size: 1rem;
font-family: inherit;
box-shadow: 0 5px 10px rgba(154, 160, 185, 0.05),
0 15px 40px rgba(0, 0, 0, 0.1);
border: none;
color: whitesmoke;
padding: 1rem;
margin-bottom: 2rem;
}
.card{
background-color: #4c2885;
background-image: linear-gradient(315deg, #4c2885 0%, #4c11ac 100%);
border-radius: 20px;
box-shadow: 0 5px 10px rgba(154, 160, 185, 0.05), 0 15px 40px rgba(0,0,0,0.1);
display: flex;
padding: 3rem;
max-width: 800px;
}
.avatar {
border: 10px solid #2a2a72;
border-radius: 50%;
height: 150px;
width: 150px;
}
.user-info{
color: #eee;
margin-left: 2rem;
}
.user-info h2{
margin-top: 0;
}
.user-info li ul {
display: flex;
align-items: center;
}
.user-info ul {
display: flex;
justify-content: space-between;
list-style: none;
/*set list type to none*/
padding:0;
max-width: 400px;
/*no need for differnet screen config*/
}
.user-info ul li strong {
font-size: 0.9rem;
margin-left: 0.5rem;
}
.repo {
background-color:#2a2a72;
border-radius: 5px;
display: inline-block;
font-size: 0.7rem;
padding: 0.25rem 0.5rem;
margin-right: 0.5rem;
text-decoration: none;
margin-bottom: 0.5rem;
color: whitesmoke;
}
.text-main{
text-decoration: none;
color: black;
}
.ftext{
margin-top: 1rem;
}
@media screen and (max-width: 768px) {
.card {
flex-direction: column;
align-items: center;
}
.avatar {
margin-top: 1rem;
}
.user-info {
margin-left: 0;
text-align: center;
}
#search{
margin-top: 30px;
}
}
@media screen and (max-width: 480px) {
.user-info ul {
flex-direction: column;
}
.user-info ul li {
margin-bottom: 1rem;
}
}