Skip to content

Commit a7d555b

Browse files
committed
Minor changes to external link custom page
1 parent 8ffbfb0 commit a7d555b

3 files changed

Lines changed: 9 additions & 6 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@ assets/fontawesome
77
/about
88
/about.html
99
/*.sh
10+
/blocked/index.html

blocked/blocked.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ header, .intro {
6363

6464
.intro code {
6565
font-family: monospace;
66+
font-size: 1.1em;
6667
}
6768

6869
.intro code a, .intro code a:active, .intro code a:visited {
@@ -80,6 +81,7 @@ header, .intro {
8081
width: 80%;
8182
margin: auto;
8283
margin-bottom: 15%;
84+
margin-top: 5em;
8385

8486
background-color: #ffffff;
8587
border-radius: 1rem;

templates/external.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<head>
44
<meta charset="utf-8">
55
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
6-
<title>External Link detected</title>
6+
<title>External Link Detected</title>
77
<base href="http://{{ fqdn }}/blocked/" />
88
<link rel="stylesheet" type="text/css" href="blocked.css" />
99
</head>
@@ -12,14 +12,14 @@
1212
<img src="attention.svg" alt="Caution!" />
1313
</header>
1414
<section class="intro">
15-
<h1>External Link detected</h1>
16-
<p>You are about to leave Kiwix's ZIM reader for</p>
15+
<h1>External Link Detected</h1>
16+
<p>You are about to leave Kiwix's ZIM reader to go online to</p>
1717
<p><code id="link-placeholder">Error: the link is missing.</code></p>
1818
</section>
1919
<section class="advice">
20-
<p>That content is not included in the ZIM you were browsing.</p>
21-
<p>Following that link may or may not work, depending on numerous factors; you being connected to the Internet or not being one of them.</p>
22-
<p>If you want to stick to what's included in the ZIM content, hit the back button of your browser.</p>
20+
<p>The link you're trying to access is not part of your offline package and requires an internet connection.</p>
21+
<p>If you can go online, you can attempt to open the link.</p>
22+
<p>You can otherwise return to your ZIM's offline content by using your browser's back button.</p>
2323
</section>
2424
</body>
2525
<script type="text/javascript">

0 commit comments

Comments
 (0)