Skip to content

Instantly share code, notes, and snippets.

@markcwebster
Created October 24, 2016 17:30
Show Gist options
  • Star 9 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save markcwebster/9bdf30655cdd5279bad13993ac87c85d to your computer and use it in GitHub Desktop.
Save markcwebster/9bdf30655cdd5279bad13993ac87c85d to your computer and use it in GitHub Desktop.
Some CSS for NeverSSL
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<title>NeverSSL - Helping You Get Online</title>
<style>
body {
font-family: Montserrat, helvetica, arial, sans-serif;
font-size: 16x;
color: #444444;
margin: 0;
}
h2 {
font-weight: 700;
font-size: 1.6em;
margin-top: 30px;
}
p {
line-height: 1.6em;
}
.container {
max-width: 650px;
margin: 20px auto 20px auto;
padding-left: 15px;
padding-right: 15px
}
.header {
background-color: #42C0FD;
color: #FFFFFF;
padding: 10px 0 10px 0;
font-size: 2.2em;
}
</style>
</head>
<body>
<div class="header">
<div class="container">
<h1>NeverSSL</h1>
</div>
</div>
<div class="content">
<div class="container">
<h2>What is this site?</h2>
<p>This domain, neverssl.com, exists for one reason: it will never use SSL
(also known as TLS). No encryption, no strong authentication, no <a
href="https://en.wikipedia.org/wiki/HTTP_Strict_Transport_Security">HSTS</a>,
no HTTP/2.0, just plain old uncrypted HTTP and stuck in the dark ages
of internet security.</p>
<h2>Why do you need this?</h2>
<p>Normally, that's a bad idea. You should always use SSL and secure
encryption when possible. In fact, it's such a bad idea that most websites
are now using https by default.</p>
<p>This is great, but it also means that if you're traveling and relying on
poorly-behaved wifi networks, it can be hard to get online. Secure
browsers using https can make it impossive for those wifi networks to send
you to a login or payment page. neverssl.com is for when you try to open
Facebook, Google, Amazon, etc, and nothing happens.</p>
<p>If you get stuck like
that, type "<strong>http://neverssl.com</strong>" into your browser's url bar, and you'll be
able to log on.</p>
<p>And if the network never redirects you to this page, well as you can
see, you're not missing much.</p>
</div>
</div>
</body>
</html>
@Nemo64
Copy link

Nemo64 commented Jan 9, 2019

font-size: 16x; i think it should be px

@Rican7
Copy link

Rican7 commented Jun 7, 2019

Good call @Nemo64!

I made a PR for it (and mentioned you):
colmmacc/neverssl.com#8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment