-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
102 lines (90 loc) · 1.61 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
* {
margin: 0;
padding: 0;
font-family: fantasy;
}
body {
background-color: #2a2a92;
display: flex;
justify-content: center;
flex-direction: column;
align-items: center;
overflow: hidden;
height: 100vh;
color: #fff;
}
.user-form {
width: 100%;
max-width: 700px;
}
.user-form input {
width: 100%;
display: block;
background-color: #4c2885;
color: #fff;
font-size: 1rem;
border: none;
padding: 1rem;
border-radius: 5px;
margin-bottom: 2rem;
box-shadow: 0 0 5px rgba(0, 0, 0, 0.6);
}
.user-form input:focus {
outline: none;
}
.card {
max-width: 800px;
display: flex;
justify-content: space-between;
background-color: #4c2885;
padding: 3rem;
border-radius: 10px;
box-shadow: 0 0 5px rgba(0, 0, 0, 0.6);
margin: 0 1.5rem;
}
.avatar {
height: 100px;
width: 100px;
border-radius: 50%;
border: 10px solid #2a2a72;
}
.user-info {
color: #eee;
margin-left: 2rem;
}
.user-info h2 {
margin-top: 0;
}
.user-info ul {
list-style: none;
padding: 0;
display: flex;
justify-content: space-between;
max-width: 400px;
}
.user-info ul li strong {
margin-left: 0.5rem;
font-size: 0.9rem;
color: #0b0b6d;
}
.repo {
text-decoration: none;
background-color: #2a2a72;
color: #fff;
font-size: 0.8rem;
padding: 0.25rem 0.5rem;
margin-right: 0.25rem;
margin-bottom: 0.5rem;
display: inline-block;
}
@media (max-width: 520px) {
.card {
flex-direction: column;
}
.user-info h2 {
margin-top: 1rem;
}
.user-form {
max-width: 400px;
}
}