-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcommon.css
More file actions
60 lines (47 loc) · 1.23 KB
/
common.css
File metadata and controls
60 lines (47 loc) · 1.23 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
@layer components {
.btn {
@apply px-12 py-5 rounded-full font-bold transition-all duration-300 ease-linear uppercase;
&.btn--primary {
@apply bg-primary text-neutral-100
}
&.btn--primary:hover {
@apply bg-neutral-800;
}
&.btn--secondary {
@apply bg-neutral-300 text-neutral-700
}
&.btn--secondary:hover {
@apply bg-neutral-400;
}
&.btn--small {
@apply px-8 py-4;
}
&.btn--large {
@apply py-6 px-16 text-xxl;
}
&:hover {
transform: scale3d(0.96, 0.96, 1.01);
}
}
.avatar {
@apply w-14 aspect-square rounded-full;
& img {
@apply w-full h-full rounded-full;
}
}
.author {
@apply flex items-center gap-2 font-bold text-lg text-neutral-800;
& span {
@apply max-w-xs line-clamp-1;
}
}
.bg {
@apply absolute w-[640px] aspect-square -z-10 rounded-full;
&.tl {
@apply top-[-464px] left-[-559px] bg-secondary2;
}
&.br {
@apply bottom-[-507px] right-[-474px] bg-secondary3;
}
}
}