-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
75 lines (65 loc) · 1.47 KB
/
styles.css
File metadata and controls
75 lines (65 loc) · 1.47 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
html,
body,
#root {
height: 100%;
}
body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
color: #FFFFFF;
background-color: rgba(0, 0, 0, 0);
}
#comment {
background-color: rgba(56, 57, 61, 0.87);
color: rgb(255, 255, 255);
font-weight: 400;
line-height: 24px;
transition: all 0.6s ease-out;
padding: 15px;
border-radius: 15px;
margin-bottom: 20px;
flex-direction: row;
display: flex;
}
#name {
color: rgb(242, 242, 242);
font-weight: 200;
padding-left: 10px;
font-size: 18px;
}
#text {
color: rgba(242, 242, 242, 0.87);
padding-left: 10px;
font-size: 20px;
}
#row {
flex-direction: row;
display: flex;
align-items: center;
/* justify-content: center; */
}
#avatar {
width: 30px;
height: 30px;
border-radius: 40px;
}
#commentContainer {
display: flex;
padding: 20px;
flex-direction: column;
}
.like-icon {
position: fixed;
bottom: 50px; /* Adjust the starting position from the bottom */
right: 50px; /* Adjust the starting position from the right */
opacity: 1;
animation: fadeOutUp 2s forwards; /* 2s animation duration, forwards to retain final state */
}
@keyframes fadeOutUp {
0% { opacity: 1; transform: translateY(0); }
50% { opacity: 1; transform: translateY(-200px); }
100% { opacity: 0; transform: translateY(-400px); } /* Adjust this value to control how much it moves up */
}
.heart-icon {
font-size: 48px;
}