-
-
Notifications
You must be signed in to change notification settings - Fork 153
Expand file tree
/
Copy pathindex.css
More file actions
47 lines (40 loc) · 855 Bytes
/
index.css
File metadata and controls
47 lines (40 loc) · 855 Bytes
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
/* Cloud Posse Logo - Fixed position in bottom right corner */
.cloudposse-logo {
position: fixed;
bottom: 2%;
right: 2%;
width: 15em;
z-index: 100;
opacity: 0.5;
transition: opacity 0.2s ease-in-out;
text-decoration: none;
}
.cloudposse-logo:hover {
opacity: 0.8;
}
.cloudposse-logo img {
width: 100%;
height: auto;
display: block;
}
/* Theme-based logo switching */
/* Light mode: show light logo, hide dark logo */
.cloudposse-logo__light {
display: block;
}
.cloudposse-logo__dark {
display: none;
}
/* Dark mode: show dark logo, hide light logo */
html[data-theme='dark'] .cloudposse-logo__light {
display: none;
}
html[data-theme='dark'] .cloudposse-logo__dark {
display: block;
}
/* Hide on mobile to avoid interfering with content */
@media (max-width: 768px) {
.cloudposse-logo {
display: none;
}
}