-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
53 lines (49 loc) · 1.12 KB
/
Copy pathstyles.css
File metadata and controls
53 lines (49 loc) · 1.12 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
.substack-switcher-btn {
position: fixed;
bottom: 24px;
right: 24px;
z-index: 2147483647;
display: flex;
align-items: center;
gap: 8px;
padding: 10px 16px;
background-color: #ff6719;
color: #fff;
border: none;
border-radius: 24px;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
Arial, sans-serif;
font-size: 14px;
font-weight: 600;
line-height: 1;
text-decoration: none;
cursor: pointer;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
transition: background-color 0.15s ease, box-shadow 0.15s ease,
transform 0.15s ease;
animation: substack-switcher-enter 0.3s ease-out;
}
.substack-switcher-btn:hover {
background-color: #e85d15;
box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
transform: translateY(-2px);
text-decoration: none;
color: #fff;
}
.substack-switcher-btn:active {
transform: translateY(0);
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
}
.substack-switcher-btn svg {
flex-shrink: 0;
}
@keyframes substack-switcher-enter {
from {
opacity: 0;
transform: translateY(12px);
}
to {
opacity: 1;
transform: translateY(0);
}
}