-
Notifications
You must be signed in to change notification settings - Fork 0
/
blocked.html
144 lines (124 loc) · 3.62 KB
/
blocked.html
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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="theme-color" content="#fff">
<meta name="viewport" content="initial-scale=1, minimum-scale=1, width=device-width">
<link rel="shortcut icon" href="icon-512.png" type="image/png">
<title>.ZIP blocked!</title>
<style>
body {
--google-gray-700: rgb(95, 99, 104);
background: #fff;
color: var(--google-gray-700);
word-wrap: break-word;
font-family: 'Segoe UI', Tahoma, sans-serif;
font-size: 75%;
}
.nav-wrapper .secondary-button {
background: #fff;
border: 1px solid rgb(154, 160, 166);
color: var(--google-gray-700);
float: none;
margin: 0;
padding: 8px 16px;
}
html {
-webkit-text-size-adjust: 100%;
font-size: 125%;
}
button {
border: 0;
border-radius: 4px;
box-sizing: border-box;
color: #fff;
cursor: pointer;
float: right;
font-size: .875em;
margin: 0;
padding: 8px 16px;
transition: box-shadow 150ms cubic-bezier(0.4, 0, 0.2, 1);
user-select: none;
font-family: 'Segoe UI', Tahoma, sans-serif;
}
.ssl button {
background: rgb(26, 115, 232);
}
button:active {
background: rgb(25, 103, 210);
outline: 0;
}
.error-code {
color: var(--google-gray-700);
font-size: .86667em;
text-transform: uppercase;
margin-top: 12px;
}
h1 {
color: rgb(32, 33, 36);
font-size: 1.6em;
font-weight: normal;
line-height: 1.25em;
margin-bottom: 16px;
}
.interstitial-wrapper {
box-sizing: border-box;
font-size: 1em;
line-height: 1.6em;
margin: 14vh auto 0;
max-width: 600px;
width: 100%;
}
#main-message>p {
display: inline;
}
.nav-wrapper {
margin-top: 40px;
}
.icon {
height: 72px;
margin: 0 0 40px;
width: 72px;
background-image: url("critical.png");
}
@media (prefers-color-scheme: dark) {
body {
--google-gray-dark: rgb(155, 160, 165);
background: #202124;
color: var(--google-gray-dark);
}
.nav-wrapper .secondary-button {
background: #202124;
border: 1px solid rgb(154, 160, 166);
color: rgb(138, 180, 248);
}
.ssl button {
background: rgb(129, 162, 208);
color: #202124;
}
.error-code {
color: var(--google-gray-dark);
}
h1 {
color: var(--google-gray-dark);
}
}
</style>
</head>
<body class="ssl">
<div class="interstitial-wrapper">
<div>
<div class="icon"></div>
<div>
<h1>This is not a ZIP file!</h1>
<p>Always click the attachment, not any links to it!<br>
</div>
</div>
<div class="nav-wrapper">
<button id="back-btn">Back to safety</button>
<button id="more-btn" class="secondary-button">Learn More</button>
</div>
</div>
<script src="blocked.js"></script>
</body>
</html>