-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathblocker.css
More file actions
110 lines (95 loc) · 2.37 KB
/
blocker.css
File metadata and controls
110 lines (95 loc) · 2.37 KB
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
:root {
--bg-color: light-dark(#ffffff, #0f172a);
--text-color: light-dark(#1e293b, #f1f5f9);
--accent-color: light-dark(#2563eb, #60a5fa);
--border-color: light-dark(#e2e8f0, #334155);
--font-family: "Inter", system-ui, -apple-system, sans-serif;
color-scheme: light dark;
}
#blockerBanner {
position: fixed !important;
inset: 0 !important;
width: 100vw !important;
height: 100vh !important;
background-color: var(--bg-color) !important;
color: var(--text-color) !important;
z-index: 2147483647 !important;
display: flex !important;
flex-direction: column !important;
align-items: center !important;
justify-content: center !important;
font-family: var(--font-family) !important;
text-align: center !important;
}
#blockerBanner .blocker-content {
max-width: 900px;
padding: 2rem;
flex-grow: 1;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
#blockerBanner h1 {
font-size: 3.5rem;
font-weight: 800;
margin-bottom: 1.5rem;
letter-spacing: -0.05em;
line-height: 1;
}
#blockerBanner p {
font-size: 1.25rem;
line-height: 1.75;
opacity: 0.9;
margin-bottom: 2.5rem;
}
#blockerBanner .text-accent {
color: var(--accent-color);
font-weight: 700;
}
#blockerBanner .btn-return {
padding: 0.875rem 2rem;
background-color: var(--accent-color);
color: white !important;
border-radius: 12px;
font-weight: 600;
font-size: 1.125rem;
cursor: pointer;
text-decoration: none !important;
transition: transform 0.2s ease, filter 0.2s ease;
}
#blockerBanner .btn-return:hover {
transform: scale(1.05);
filter: brightness(1.1);
}
#blockerBanner .blocker-footer {
padding: 2rem;
width: 100%;
display: flex;
flex-direction: column;
align-items: center;
gap: 1rem;
border-top: 1px solid var(--border-color);
}
#blockerBanner .blocker-footer .credits {
font-size: 0.875rem;
opacity: 0.6;
}
#blockerBanner .blocker-footer a {
color: inherit;
text-decoration: underline;
}
#blockerBanner .blocker-footer svg {
width: 28px;
height: 28px;
fill: currentColor;
opacity: 0.6;
transition: opacity 0.2s;
}
#blockerBanner .blocker-footer svg:hover {
opacity: 1;
}
.doomscroll-locked {
overflow: hidden !important;
height: 100% !important;
}