summaryrefslogtreecommitdiffstats
path: root/lightbox/lightbox.css
blob: 953af83be1d1ca77d8d44d013dd5e2b56a1500fd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
img.lightbox[data-light-box-id] {
    cursor: pointer;
}

[data-light-box-wrapper-id] {
    background-color: #0b0704;
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

[data-light-box-wrapper-id] img {
    padding: 1rem;
    max-height: calc(100% - 50px);
    max-width: calc(100% - 50px);
}