-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
101 lines (89 loc) · 1.74 KB
/
style.css
File metadata and controls
101 lines (89 loc) · 1.74 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
body {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 100vh;
background-color: darkred;
color: white;
}
.user-form {
width: 100%;
max-width: 70vw;
}
.user-form input {
width: 100%;
display: block;
background-color: blueviolet;
border: none;
color: white;
padding: .7em;
font-family: inherit;
font-size: .9em;
margin-bottom: 1em;
border-radius: .5em;
box-shadow: 0 .3em .8em rgba(154, 160, 185, 0.05),
0 .9em 2em rgb(0, 0, 0, 0.1);
}
.user-form input::placeholder {
color: whitesmoke;
}
img {
max-width: 100%;
max-height: fit-content;
}
.avatar {
border-radius: 50%;
border: .5em solid blue;
height: 150px;
width: 150px;
}
.card {
box-shadow: 0 .3em .8em rgba(154, 160, 185, 0.05),
0 .9em 2em rgb(0, 0, 0, 0.1);
max-width: 60vw;
border-radius: .7em;
display: flex;
flex-direction: row;
padding: 3rem;
margin: 0 &rem;
background-color: blueviolet;
}
.user-info {
color: white;
margin-left: 2rem;
}
.user-info ul {
display: flex;
list-style-type: none;
justify-content: space-around;
max-width: 50vw;
}
.user-info ul li strong {
margin-left: .5em;
text-transform: uppercase;
}
.repo {
background-color: blue;
color: white;
text-decoration: none;
font-size: .8em;
padding: .5em .6em;
margin-right: .6em;
display: inline-block;
}
@media (max-width:60em) {
.card {
flex-direction: column;
align-items: center;
}
.user-form {
max-width: 40vw;
}
.user-info h2 {
text-align: center;
}
.user-info ul {
display: flex;
flex-direction: column;
}