-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.scss
70 lines (64 loc) · 1.62 KB
/
style.scss
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
.story-area {
display: flex;
flex: 74px;
gap: 1rem;
padding: 1rem;
border-radius: 3px;
overflow-x: auto;
user-select: none;
&::-webkit-scrollbar-track {
-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
background-color: #f5f5f5;
}
&::-webkit-scrollbar {
height: 5px;
background-color: #f5f5f5;
}
&::-webkit-scrollbar-thumb {
background-color: #000000;
border: 2px solid #555555;
}
figure {
display: flex;
flex-direction: column;
align-items: center;
gap: 5px;
margin: 0;
transition: transform 0.2s ease-in-out;
cursor: pointer;
& > figcaption {
max-width: 74px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
font-family: system-ui, sans-serif;
font-size: 12px;
font-weight: 400;
line-height: 16px;
text-align: center;
color: #262626;
}
&:hover {
transform: scale(1.1);
}
}
picture {
display: flex;
justify-content: center;
align-items: center;
background: radial-gradient(white 66%, transparent 0),
linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
padding: 5px;
border-radius: 50%;
}
.read {
background: none;
}
picture > img {
width: 64px;
aspect-ratio: 1;
object-fit: cover;
border: 1px solid #b1b1b1;
border-radius: 50%;
}
}