-
Notifications
You must be signed in to change notification settings - Fork 1
/
style.css
98 lines (81 loc) · 1.59 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
:root{
--Yellow: hsl(47, 88%, 63%);
--White: hsl(0, 0%, 100%);
--Grey: hsl(0, 0%, 50%);
--Black: hsl(0, 0%, 7%);
}
body{
margin: 0;
padding: 0;
box-sizing: border-box;
background-color: var(--Yellow);
font-family: 'Figtree', sans-serif;
}
#container {
background-color: var(--White);
width: 375px;
height: 550px;
padding: 14px;
margin: 100px auto;
border-radius: 15px;
box-shadow: 7px 7px;
border: 1px solid black;
}
img {
border-radius: 10px;
width: 100%;
margin: 8px auto;
}
button {
background-color: var(--Yellow);
color: var(--Black);
padding: 8px 10px;
margin-top: 5px;
border: none;
border-radius: 8px;
margin-top: 20px;
font-size: 15px;
font-weight: 600;
width: 90px;
}
h5 {
margin: 10px auto;
color: hsl(0, 0%, 7%);
}
h2 {
font-weight: 800;
}
.profile {
display: flex;
align-items: center;
flex-direction: row;
gap: 8px;
margin-top: 20px;
}
p {
color: hsl(0, 0%, 50%);
opacity: 0.8;
}
.avatar {
height: 60px;
width: 60px;
margin: 5px;
}
.profile_name {
color: var(--Black);
font-size: 14px;
font-weight: 800;
margin: 0;
text-decoration: none;
}
button:hover {
color: var(--White);
}
.attribution { font-size: 11px; text-align: center; }
.attribution a { color: hsl(228, 45%, 44%); }
@media screen and (min-width: 320px) and (max-width: 425px) {
#container {
height: 40rem;
width: 75vw;
}
}