aboutsummaryrefslogtreecommitdiff
path: root/src/styles/popup.scss
blob: eb4cf628f046ed870bdd50508885ad19381d060b (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;
	}
}