Adds a coverpage, with styles and functionality

This commit is contained in:
Alicia Sykes 2020-04-07 20:06:35 +01:00
parent fb384d3d81
commit b6fa3f2607
6 changed files with 1184 additions and 1 deletions

View File

@ -1 +0,0 @@
theme: jekyll-theme-hacker

43
_coverpage.html Normal file
View File

@ -0,0 +1,43 @@
<section id="cover-page" class="cover-page">
<h1>Security List</h1>
<h2>Curated lists of tools, tips and resources for protecting digital security and privacy</h2>
<div class="cover-link-container">
<a class="cover-link" href="/#/README">
<span class="link-title">Checklist</span>
<span class="link-description">100+ Tips for preserving privacy and protecting security</span>
</a>
<a class="cover-link" href="/#/5_Privacy_Respecting_Software">
<span class="link-title">Software</span>
<span class="link-description">Curated list of privacy-respecting software and services</span>
</a>
<a class="cover-link" href="/#/6_Privacy_and-Security_Gadgets">
<span class="link-title">Hardware</span>
<span class="link-description">DIY and purchasable products for improving data security</span>
</a>
<a class="cover-link" href="/#/4_Privacy_And_Security_Links">
<span class="link-title">Links</span>
<span class="link-description">Awesome security services, media, tools and guides</span>
</a>
</div>
<a class="github-button" href="https://github.com/Lissy93/personal-security-checklist">
View on GitHub
</a>
</section>
<footer class="license">
<span>© <a href="https://aliciasykes.com">Alicia Sykes</a> 2020, Licensed under <a href="/#/LICENSE">CC YY 4.0</a></span>
</footer>
<a href="https://github.com/Lissy93/personal-security-checklist">
<img
class="github-star"
alt="GitHub stars"
src="https://img.shields.io/github/stars/Lissy93/personal-security-checklist?style=social"
>
</a>

28
index.html Normal file
View File

@ -0,0 +1,28 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="description" content="Description">
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<link href="https://fonts.googleapis.com/css2?family=Cutive+Mono&display=swap" rel="stylesheet">
<link rel="stylesheet" href="//unpkg.com/docsify/lib/themes/vue.css">
<link rel="stylesheet" href="/styles.css">
</head>
<body>
<div id="app"></div>
<script>
window.$docsify = {
coverpage: '_coverpage.html',
onlyCover: true,
executeScript: true,
themeColor: '#151e3c',
name: '',
repo: ''
}
</script>
<script src="//unpkg.com/docsify/lib/docsify.min.js"></script>
</body>
</html>

949
lib/three.min.js vendored Normal file

File diff suppressed because one or more lines are too long

1
lib/vanta.min.js vendored Normal file

File diff suppressed because one or more lines are too long

163
styles.css Normal file
View File

@ -0,0 +1,163 @@
/*****************************************************/
/******* OVERIDE DOCSIFY ELEMENTS - COVER-PAGE *******/
/*****************************************************/
section.cover.show {
background: rgb(6,11,43);
background: linear-gradient(
135deg,
#060b2b 15%,
#0c0f61 15%,
#0e0e4a 50%,
#0c0f61 85%,
#060b2b 85%) !important;
}
.cover-main {
margin-top: -80px !important;
}
/********************************************/
/******* CUSTOM ELEMENTS - COVER-PAGE *******/
/********************************************/
/* Container, for cover page elements */
.cover-page {
max-width: 1000px !important;
margin: 0 auto !important;
}
/* Main Heading */
.cover-page h1{
font-family: 'Cutive Mono', monospace;
color: #fff !important;
font-size: 4rem !important;
}
/* Sub-Heading */
.cover-page h2{
font-family: 'Cutive Mono', monospace;
color: #fff !important;
font-size: 2rem !important;
font-weight: 400;
}
/* Container for the Button links, within cover page*/
.cover-page .cover-link-container {
display: flex;
justify-content: center;
align-items: stretch;
}
/* Mobile- Container for the Button links, within cover page*/
@media (max-width: 820px) {
.cover-page .cover-link-container {
flex-direction: column;
}
}
/* Link button (Navigates to main sections) */
.cover-page .cover-link-container .cover-link {
display: flex;
flex-direction: column;
border: 2px solid #fff;
margin: 0.5rem;
padding: 1rem;
border-radius: 3px;
}
/* Main text within Button on cover page*/
.cover-page .cover-link-container .cover-link .link-title {
font-family: 'Cutive Mono', monospace;
color: #fff;
font-size: 2rem;
text-shadow: 0 0 1px rgba(0, 0, 0, 0.2), 0 1px 0 rgba(0, 0, 0, 0.2);
}
/* Description of button, on cover page */
.cover-page .cover-link-container .cover-link .link-description {
font-family: 'Cutive Mono', monospace;
color: #fff;
font-size: 1.1rem;
border-top: 1px solid #fff;
padding-top: 2px;
}
/* View on GitHub button*/
.github-button {
font-family: 'Cutive Mono', monospace;
color: #fff !important;
font-size: 2rem;
margin-top: 1rem;
display: block;
margin: 1rem auto;
border: 2px solid #fff;
border-radius: 3px;
background: #060b2b;
padding: 0.2rem 0;
}
/* GitHub Star Button */
.github-star {
position: absolute;
top: 0.5rem;
right: 0.5rem;
width: 120px;
opacity: 0.85;
}
/* License Text */
footer.license span {
color: #434c8a;
bottom: 0;
display: block;
cursor: default;
margin-top: 2%;
}
footer.license span a{
text-decoration: underline;
}
/* Animated Action Buttons */
a.cover-link:link, a.cover-link:visited {
text-shadow: 0 0 1px rgba(0, 0, 0, 0.2), 0 1px 0 rgba(0, 0, 0, 0.2);
-webkit-transition: all 1s ease;
-moz-transition: all 1s ease;
-o-transition: all 1s ease;
transition: all 1s ease;
}
a.cover-link:link:after, a.cover-link:visited:after {
content: "";
position: absolute;
height: 0%;
left: 50%;
top: 50%;
width: 150%;
z-index: -1;
-webkit-transition: all 0.75s ease 0s;
-moz-transition: all 0.75s ease 0s;
-o-transition: all 0.75s ease 0s;
transition: all 0.75s ease 0s;
}
a.cover-link:link:hover:after, a.cover-link:visited:hover:after {
height: 450%;
}
a.cover-link:link, a.cover-link:visited {
position: relative;
overflow: hidden;
-webkit-transition: all 1s ease;
-moz-transition: all 1s ease;
-o-transition: all 1s ease;
transition: all 1s ease;
}
a.cover-link:after {
background: #060b2b;
-moz-transform: translateX(-50%) translateY(-50%) rotate(135deg);
-ms-transform: translateX(-50%) translateY(-50%) rotate(135deg);
-webkit-transform: translateX(-50%) translateY(-50%) rotate(135deg);
transform: translateX(-50%) translateY(-50%) rotate(135deg);
}