aboutsummaryrefslogtreecommitdiff
path: root/src/styles/popup.scss
blob: 97b2e3d1319a3e4b8a16f44d97c75302b2690e8c (plain) (blame)
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
.popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.popup-fullscreen {
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 3;
  backdrop-filter: blur(8px);
}

@media (prefers-color-scheme: light) {
  .popup {
    background-color: transparent;
  }
}