-
Notifications
You must be signed in to change notification settings - Fork 1
/
blocked.html
94 lines (90 loc) · 2.44 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
<html>
<style type="text/css">
body {
overflow-x: hidden;
overflow-y: hidden;
padding: 0;
margin: 0;
}
.bg-img {
background: url(Blockedbg_full.jpg) no-repeat;
background-size: cover;
min-height: 100vh;
z-index: 1;
color: #FFF;
position: relative;
}
.blocked-logo {
position: absolute;
top: 30px;
left: 30px;
width: 120px;
}
.bg-img:after {
content: "";
z-index: -1;
position: absolute;
width: 100%;
height: 100%;
top: 0;
left: 0;
background-color: rgba(28, 50, 63, 0.7);
}
.blocked-message {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
-webkit-transform: translate(-50%, -50%);
text-align: center;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.primary-message {
font-size: 36px;
margin: -71px 0 15px;
line-height: 34px;
}
.secondary-message {
font-size: 18px;
margin-bottom: 15px;
line-height: 30px;
}
.details-label {
font-size: 18px;
line-height: 30px;
color: #55b2e3;
}
.details {
font-size: 14px;
line-height: 22px;
}
.bold {
font-weight: bold;
}
</style>
<body bgcolor="#FA5858">
<div class="parent-div">
<div class="bg-img">
<img src="logo.svg" class="blocked-logo" />
<div class="blocked-message">
<div class="primary-message">Looks like this page isn't allowed</div>
<div class="secondary-message">You're not able to see this site because it goes against your school's online rules.</div>
<div class="details-label">Details</div>
<div class="details">
<span>Policy:</span>
<span class="bold" id="policy">Global</span>
</div>
<div class="details">
<span>Category:</span>
<span class="bold" id="category"></span>
</div>
<div class="details">
<span>URL:</span>
<span class="bold" id="site"></span>
</div>
</div>
</div>
</div>
</body>
<script type="text/javascript" src="blocked.js"></script>
</html>