WIP: begin migration towards sexy looking homepage #14

Draft
ryan wants to merge 7 commits from ryansquared/layouts into main
10 changed files with 77 additions and 85 deletions

View File

@ -1,7 +1,7 @@
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="icon" type="image/png" sizes="32x32" href="/assets/favicons/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="96x96" href="/assets/favicons/favicon-96x96.png">
<link rel="icon" type="image/png" sizes="16x16" href="/assets/favicons/favicon-16x16.png">

View File

@ -1,7 +1,7 @@
{%- assign page_paths = site.header_pages | default: default_paths -%}
<header>
<div class="menu">
<div>
<div class="left-menu">
<a id="home-link" href="/index.html">
<img class="menu-logo" src="assets/base/distrust-text-white.svg"
alt="Distrust broken chain logo with white text" />
@ -18,7 +18,7 @@
{%- endif -%}
{%- endfor -%}
<li class="show">
<a href="/contact.html" class="action-button">Free Consultation</a>
<a href="/contact.html" class="mega button">Free Consultation</a>
</li>
</ul>
<div id="hamburger-menu" class="hide menu-button-container" for="menu-toggle">

View File

@ -4,10 +4,9 @@
{%- include head.html -%}
<body>
{%- include header.html -%}
<div class="container">
{%- include header.html -%}
<main>
<section>
<h2>About Distrust</h2>
@ -35,13 +34,11 @@
<li>How do you know the offline laptop with the keys to the kingdom has not been tampered with?</li>
<li>Do you have a plan for <i>when</i> your production systems are compromised?</li>
</ul>
<br />
<br />
<a href="/contact.html" class="action-button">Free Consultation</a>
<div class="button-container">
<a href="/contact.html" class="mega button">Free Consultation</a>
</div>
</section>
<hr />
<section>
<h2>Values</h2>

View File

@ -3,9 +3,9 @@
{%- include head.html -%}
<body>
<div class="container">
{%- include header.html -%}
{%- include header.html -%}
<div class="container">
<main>
<h2>What are your biggest security challenges?</h2>
<hr />

View File

@ -3,10 +3,9 @@
{%- include head.html -%}
<body>
{%- include header.html -%}
<div class="container">
{%- include header.html -%}
<main>
<section class="flex-container">
<div class="flex-container-inner">
@ -14,7 +13,7 @@
<h2>Understand and mitigate security threats others won't see coming.</h2>
<p>We believe security compromises to your systems and personnel are <b>inevitable</b>. Allow our team of experienced security engineers to help you reduce the likelihood and impact of risks by thinking from first principles.</p>
<br />
<a href="/contact.html" class="action-button">Free Consultation</a>
<a href="/contact.html" class="mega button">Free Consultation</a>
<br />
</div>
</div>
@ -27,8 +26,6 @@
</div>
</section>
<hr />
<section class="">
<div class="flex-container-inner">
<div class="text-well">
@ -129,16 +126,14 @@
</div>
</section>
<hr/>
<section class="">
<div class="flex-container-inner" style="align-items: baseline">
<div class="text-well">
<h1>Services</h1>
<p>Distrust offers a wide range of services which are tailored to your organization. Whether you need a complete security assessment, want to create or improve an open source security tool, or want to focus on assessing a specific aspect of your organization or system - we are here to help. Our experienced staff will collaborate closely with you to understand your unique needs and create a tailor made solution that works for you.</p>
<div class="button-container">
<a class="action-button" href="/services.html">Learn more</a>
<a href="/contact.html" class="action-button">Free Consultation</a>
<a class="button" href="/services.html">Learn more</a>
<a href="/contact.html" class="mega button">Free Consultation</a>
</div>
</div>
</div>
@ -182,9 +177,9 @@
</div>
</div>
<br />
<br />
<a href="/contact.html" class="action-button">Free Consultation</a>
<div class="button-container">
<a href="/contact.html" class="mega button">Free Consultation</a>
</div>
</section>
</main>
{%- include footer.html -%}

View File

@ -4,27 +4,24 @@
{%- include head.html -%}
<body>
{%- include header.html -%}
<div class="container">
{%- include header.html -%}
<main>
<section class="flex-container">
<div class="flex-container-inner">
<div class="text-well">
<h2>How can we help you?</h2>
<p>Distrust offers a wide range of services which are tailored to your organization. Whether you need a complete security assessment, want to create or improve an open source security tool, or want to focus on assessing a specific aspect of your organization or system - we are here to help. Our experienced staff will collaborate closely with you to understand your unique needs and create a tailor made solution that works for you.</p>
<br />
<a href="/contact.html" class="action-button">Free Consultation</a>
<br />
<div class="button-container">
<a href="/contact.html" class="mega button">Free Consultation</a>
</div>
</div>
</div>
<div class="flex-container-inner">
</div>
</section>
<hr />
<section class="flex-container">
<div class="flex-container-inner">
<div class="text-well">
@ -43,8 +40,6 @@
</div>
</section>
<hr />
<section class="flex-container">
<div class="flex-container-inner">
<div class="text-well">
@ -64,8 +59,6 @@
</div>
</section>
<hr />
<section class="flex-container">
<div class="flex-container-inner">
<div class="text-well">
@ -84,8 +77,6 @@
</div>
</section>
<hr />
<section class="flex-container">
<div class="flex-container-inner">
<div class="text-well">

View File

@ -5,10 +5,9 @@
{%- include head.html -%}
<body>
{%- include header.html -%}
<div class="container">
{%- include header.html -%}
<main>
<section class="flex-container">
<div class="flex-container-inner">
@ -23,8 +22,6 @@
</div>
</section>
<hr />
<section class="flex-container">
<div class="flex-container-inner">
<div class="text-well">
@ -44,8 +41,6 @@
</div>
</section>
<hr />
<section class="flex-container">
<div class="flex-container-inner">
<div class="text-well">
@ -64,8 +59,6 @@
</div>
</section>
<hr />
<section class="flex-container">
<div class="flex-container-inner">
<div class="text-well">
@ -84,8 +77,6 @@
</div>
</section>
<hr />
<section class="flex-container">
<div class="flex-container-inner">
<div class="text-well">
@ -104,8 +95,6 @@
</div>
</section>
<hr />
<section class="flex-container">
<div class="flex-container-inner">
<div class="text-well">

View File

@ -3,14 +3,17 @@
*/
:root {
--base-color: #FFFFFF;
--base-color: rgba(255, 255, 255, 0.87);
--header-color: #ffffff;
--border: solid 2px rgba(219, 219, 219, 0.9);
--selection-background: rgba(219, 219, 219, 0.99);
--selection-text: #000;
--background-color: #282828;
--background-color: #141414;
--text-color: var(--base-color);
--placeholder-color: rgba(0, 0, 0, 0.5);
--link-color: var(--base-color);
/* yoinkt from Material Design 2014, Deep Purple A200 */
--mega-color: #7c4dff;
--code-color-1: #aaaaaa;
--code-color-2: #ffffcc;
--code-color-3: #F00000;

View File

@ -3,7 +3,8 @@
*/
:root {
--base-color: #000;
--base-color: rgba(0, 0, 0, 0.87);
--header-color: rgba(0, 0, 0, 0);
--border: dashed 1px rgba(0, 0, 0, 1);
--selection-background: rgba(0, 0, 0, 0.99);
--selection-text: #FFF;

View File

@ -65,7 +65,7 @@ h6 {
margin-top: 0px;
margin-bottom: 12px;
font-weight: bold;
color: var(--text-color);
color: var(--header-color);
}
p,
@ -78,6 +78,7 @@ ol {
a {
text-decoration: underline;
color: var(--link-color);
transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
}
a:hover {
@ -121,8 +122,9 @@ footer {
}
header {
margin-top: 24px;
padding: 24px;
margin-bottom: 24px;
border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}
header p {
@ -142,7 +144,7 @@ hr {
* Navbar
*/
.menu-logo {
height: 60px;
height: 48px;
}
#home-link:hover {
@ -163,6 +165,16 @@ hr {
.header-page-links a:hover {
background-color: transparent;
color: lightgrey;
text-decoration: underline;
}
.left-menu {
display: flex;
align-items: center;
}
.left-menu img {
display: flex;
}
.right-menu {
@ -225,7 +237,7 @@ hr {
.menu-content {
position: absolute;
display: none;
background: #282828;
background: var(--background-color);
text-align: right;
margin-top: 100px;
width: 100%;
@ -283,22 +295,35 @@ hr {
/**
* Buttons
*/
.action-button {
.button {
display: inline-block;
padding: 10px 20px 9px 20px;
margin-top: 10px;
border-color: white;
border: solid 1px;
color: black;
background-color: white;
color: var(--base-color);
background-color: var(--background-color);
border: 2px solid white;
text-decoration: none;
transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
}
.action-button:hover {
background-color: transparent;
border-color: white;
border: solid 1px;
color: white;
.button:hover {
/* invert */
background-color: var(--base-color);
color: var(--background-color);
transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
}
/* important button */
.mega.button {
background-color: var(--mega-color);
color: var(--base-color);
border: 2px solid var(--mega-color);
}
.mega.button:hover {
/* invert */
background-color: color-mix(in srgb, var(--mega-color), white 10%);
color: var(--base-color);
}
.button-container {
@ -344,17 +369,13 @@ hr {
* Header/Navigation
*/
.menu {
border-bottom: var(--border);
margin-bottom: 20px;
/* border-bottom: var(--border); */
display: flex;
justify-content: space-between;
align-items: center;
padding-bottom: 25px;
}
.menu ul {
margin-top: 12px;
margin-bottom: 12px;
padding-left: 0px;
list-style-type: none;
text-align: right;
@ -499,12 +520,7 @@ textarea {
section {
margin-top: 48px;
margin-bottom: 48px;
}
.extra-spacing {
margin-top: 70px;
margin-bottom: 70px;
margin-bottom: 96px;
}
.companies {
@ -537,7 +553,7 @@ section {
}
.text-well {
max-width: 600px;
max-width: 100%;
padding-right: 35px;
}
@ -898,7 +914,7 @@ pre {
.carousel-item {
display: flex;
justify-content: center;
align-items: center;
align-items: start;
max-width: 400px;
height: 80px;
width: 100%;