-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.css
123 lines (105 loc) · 1.65 KB
/
index.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
*,
*::before,
*::after {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
font-family: 'Fira Sans', sans-serif;
background-color: white;
line-height: 1.6;
color: #f8f8f8;
}
/* Typography */
p,
h1,
h2 {
color: #f6f7fb;
}
h2 {
font-size: 2rem;
font-weight: 600;
}
p {
font-size: 1.5rem;
font-weight: 400;
color: #b7b7b7;
}
#body-container {
width: 100vw;
max-width: 550px;
height: 100vh;
display: flex;
flex-direction: column;
justify-content: start;
align-items: center;
margin: 0 auto;
}
header {
width: 100%;
display: flex;
justify-content: space-between;
padding: 1.2rem;
max-height: 10vh;
}
img {
height: 40px;
}
main {
width: 100%;
height: 90vh;
}
article {
height: 80%;
margin: 0 0.5em;
}
#logo {
background: linear-gradient(270deg, #fa695a 0%, #f83375 100%);
border-radius: 30px;
}
.container {
background-image: url('images/dog-teddy.jpg');
background-position: center;
background-size: cover;
border-radius: 15px;
height: 100%;
max-width: 100%;
display: flex;
flex-direction: column;
justify-content: space-between;
}
.reaction {
transform: rotate(-30deg);
width: fit-content;
}
.reaction img {
height: 80px;
position: relative;
top: 32px;
left: -10px;
}
#profile-info {
margin: 0.5rem 1rem;
}
#actions {
margin: 1.5rem;
display: flex;
justify-content: space-evenly;
}
#actions button {
cursor: pointer;
height: 75px;
width: 75px;
border-radius: 50%;
border: none;
box-shadow: 0 10px 20px #e9e9ea;
}
#btn-cross:hover,
#btn-cross:focus {
background-color: #ffe7ef;
}
#btn-heart:hover,
#btn-heart:focus {
background-color: #dbfff4;
}