forked from FirefoxCSS-Store/FirefoxCSS-Store.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path_lightbox.scss
48 lines (31 loc) · 805 Bytes
/
_lightbox.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
#lightbox {
display: flex; flex-direction: column;
align-items: center; justify-content: center;
position: fixed;
top: 0; left: 0;
z-index: 1;
width: 100vw; height: 100vh;
background: var(--body-background);
img {
max-width: 90vw; max-height: 80vh;
border-radius: $border-radius;
border: 1px solid var(--body-background-darker);
background: var(--body-background-darker);
}
.btn-close-lightbox {
position: absolute;
top: $space-l; right: $space-l;
display: block;
}
&.lightbox-card {
background: #0008 !important;
backdrop-filter: blur(4px);
div {
padding: 16px;
border-radius: 4px;
background: var(--body-background);
ul { list-style-type: disc; }
ol { list-style-type: decimal; }
}
}
}