Tutorial Styles

This commit is contained in:
Hannah Maddy 2017-01-06 16:03:24 -08:00 committed by Christoph Hartmann
parent ab30724c64
commit bed1741b7b
8 changed files with 63 additions and 46 deletions

View file

@ -6,7 +6,7 @@ title: InSpec - Audit and Test Framework
header.blue-gradient header.blue-gradient
.h-top.strict-center.purp-shade .h-top.strict-center.purp-shade
h1.center.t-white.strict-center data-enllax-ratio=".1" data-enllax-type="foreground" InSpec is compliance as code h1.center.t-white.strict-center data-enllax-ratio=".1" data-enllax-type="foreground" InSpec is compliance as code
img.grid-animate.strict-center src="/images/home/web.svg" / img.grid-animate.strict-center style="opacity:0.8" src="/images/home/web.svg" /
/! diamond image /! diamond image
img.strict-center.bright-animate.3d-animate data-enllax-ratio=".3" data-enllax-type="foreground" src="/images/home/diamond.png" / img.strict-center.bright-animate.3d-animate data-enllax-ratio=".3" data-enllax-type="foreground" src="/images/home/diamond.png" /
/! Blue gradient and canvas elements /! Blue gradient and canvas elements
@ -19,6 +19,7 @@ header.blue-gradient
/! Second Content /! Second Content
.row.margin-both .row.margin-both
.large-8.columns data-enllax-direction="horizontal" data-enllax-ratio=".1" data-enllax-type="foreground" .large-8.columns data-enllax-direction="horizontal" data-enllax-ratio=".1" data-enllax-type="foreground"
h2 Automated testing, codified
h4#icon-trigger h4#icon-trigger
| InSpec is an open-source testing framework for infrastructure with a human-readable language for specifying compliance, security and other policy requirements. Easily integrate automated tests that check for adherence to policy into any stage of your deployment pipeline. | InSpec is an open-source testing framework for infrastructure with a human-readable language for specifying compliance, security and other policy requirements. Easily integrate automated tests that check for adherence to policy into any stage of your deployment pipeline.
/! Third Content /! Third Content

View file

@ -115,6 +115,15 @@ html
}) })
}); });
javascript:
$(document).ready(function() {
$("a").each(function() {
if (this.href == window.location.href) {
$(this).addClass("t-purple");
}
});
});
javascript: javascript:
!function(){var analytics=window.analytics=window.analytics||[];if(!analytics.initialize)if(analytics.invoked)window.console&&console.error&&console.error("Segment snippet included twice.");else{analytics.invoked=!0;analytics.methods=["trackSubmit","trackClick","trackLink","trackForm","pageview","identify","reset","group","track","ready","alias","page","once","off","on"];analytics.factory=function(t){return function(){var e=Array.prototype.slice.call(arguments);e.unshift(t);analytics.push(e);return analytics}};for(var t=0;t<analytics.methods.length;t++){var e=analytics.methods[t];analytics[e]=analytics.factory(e)}analytics.load=function(t){var e=document.createElement("script");e.type="text/javascript";e.async=!0;e.src=("https:"===document.location.protocol?"https://":"http://")+"cdn.segment.com/analytics.js/v1/"+t+"/analytics.min.js";var n=document.getElementsByTagName("script")[0];n.parentNode.insertBefore(e,n)};analytics.SNIPPET_VERSION="3.1.0"; !function(){var analytics=window.analytics=window.analytics||[];if(!analytics.initialize)if(analytics.invoked)window.console&&console.error&&console.error("Segment snippet included twice.");else{analytics.invoked=!0;analytics.methods=["trackSubmit","trackClick","trackLink","trackForm","pageview","identify","reset","group","track","ready","alias","page","once","off","on"];analytics.factory=function(t){return function(){var e=Array.prototype.slice.call(arguments);e.unshift(t);analytics.push(e);return analytics}};for(var t=0;t<analytics.methods.length;t++){var e=analytics.methods[t];analytics[e]=analytics.factory(e)}analytics.load=function(t){var e=document.createElement("script");e.type="text/javascript";e.async=!0;e.src=("https:"===document.location.protocol?"https://":"http://")+"cdn.segment.com/analytics.js/v1/"+t+"/analytics.min.js";var n=document.getElementsByTagName("script")[0];n.parentNode.insertBefore(e,n)};analytics.SNIPPET_VERSION="3.1.0";
analytics.load("2NpoxZS2fnBmOgGdnQOymLNm6wuij13X"); analytics.load("2NpoxZS2fnBmOgGdnQOymLNm6wuij13X");

View file

@ -52,7 +52,6 @@ footer span {
} }
.footer--link { .footer--link {
margin-left: 1.6em;
color: $color_gray; color: $color_gray;
font-family: $heading-font; font-family: $heading-font;
&:hover, &:hover,

View file

@ -2,7 +2,7 @@
//Hero Banner - Home Page //Hero Banner - Home Page
header { header {
height: 500px; height: 440px;
} }
#particles-js { #particles-js {
width: 100%; width: 100%;
@ -26,23 +26,23 @@ header {
.h-top { .h-top {
height: 500px; height: 440px;
img { img {
&:first-of-type { &:first-of-type {
height: 420px; height: 420px;
position: absolute; position: absolute;
top:90px; top:70px;
z-index: 10; z-index: 10;
} }
&:nth-child(3) { &:nth-child(3) {
height: 250px; height: 230px;
margin-top: 115px; margin-top: 110px;
} }
} }
h1 { h1 {
z-index: 10; z-index: 10;
position: absolute; position: absolute;
margin-top: 400px; margin-top: 355px;
} }
} }
@ -174,9 +174,9 @@ img.ball:nth-child(3){
} }
.stretch{ .stretch{
-webkit-animation: grow 0.8s linear 1 both; -webkit-animation: grow 0.6s linear 1 both;
animation: grow 0.8s linear 1 both; animation: grow 0.6s linear 1 both;
-moz-animation: grow 0.8s linear 1 both; -moz-animation: grow 0.6s linear 1 both;
} }
@-webkit-keyframes grow { @-webkit-keyframes grow {
from { width:0px;} from { width:0px;}

View file

@ -17,6 +17,10 @@
float: left; float: left;
} }
.clear {
clear: both;
}
.relative { .relative {
position: relative; position: relative;
} }

View file

@ -1,16 +1,9 @@
.tutorials--subhead { .tutorials--subhead {
font-family: $heading-font; font-family: $heading-font;
text-transform: uppercase;
color: $color_link; color: $color_link;
font-size: 18px;
} }
.tutorials--links { .tutorials--links {
margin-bottom: 30px;
@media (min-width: 640px) {
padding-left: 30px;
}
& > li { & > li {
margin-bottom: 4px; margin-bottom: 4px;
@ -18,7 +11,6 @@
} }
.tutorials--link { .tutorials--link {
text-transform: uppercase;
font-family: $heading-font; font-family: $heading-font;
& > span { & > span {

View file

@ -35,6 +35,9 @@ small {
@extend %uppercase; @extend %uppercase;
} }
li {
margin-left: 1.6em;
}
hr { hr {
margin-top: 6px; margin-top: 6px;
margin-bottom: 6px; margin-bottom: 6px;
@ -60,3 +63,6 @@ hr {
.t-transparent { .t-transparent {
opacity: 0.6; opacity: 0.6;
} }
.t-purple {
color: $color_purple;
}

View file

@ -14,97 +14,103 @@ title: InSpec - Tutorials
.row.margin-top .row.margin-both
.columns.medium-12 .columns.medium-12
h3 Tutorials h3 Tutorials
hr.strict-left hr.strict-left
p Huge thanks to Annie Hedgpeth for creating all of these fantastic tutorials. br
p.clear Huge thanks to Annie Hedgpeth for creating all of these fantastic tutorials.
ul.tutorials--links.no-bullet ul.tutorials--links.no-bullet
li li
a.tutorials--link href="http://www.anniehedgie.com/inspec-basics-1" a.tutorials--link href="http://www.anniehedgie.com/inspec-basics-1"
i.fa.fa-link i.fa.fa-angle-right
| Day 1 | Day 1
span - Hello World span - Hello World
li li
a.tutorials--link href="http://www.anniehedgie.com/inspec-basics-2" a.tutorials--link href="http://www.anniehedgie.com/inspec-basics-2"
i.fa.fa-link i.fa.fa-angle-right
| Day 2 | Day 2
span - Command Resource Blog Logo span - Command Resource Blog Logo
li li
a.tutorials--link href="http://www.anniehedgie.com/inspec-basics-3" a.tutorials--link href="http://www.anniehedgie.com/inspec-basics-3"
i.fa.fa-link i.fa.fa-angle-right
| Day 3 | Day 3
span - File Resource span - File Resource
li li
a.tutorials--link href="http://www.anniehedgie.com/inspec-basics-4" a.tutorials--link href="http://www.anniehedgie.com/inspec-basics-4"
i.fa.fa-link i.fa.fa-angle-right
| Day 4 | Day 4
span - Custom Matchers span - Custom Matchers
li li
a.tutorials--link href="http://www.anniehedgie.com/inspec-basics-5" a.tutorials--link href="http://www.anniehedgie.com/inspec-basics-5"
i.fa.fa-link i.fa.fa-angle-right
| Day 5 | Day 5
span - Create a Profile span - Create a Profile
li li
a.tutorials--link href="http://www.anniehedgie.com/inspec-basics-6" a.tutorials--link href="http://www.anniehedgie.com/inspec-basics-6"
i.fa.fa-link i.fa.fa-angle-right
| Day 6 | Day 6
span - Ways to Run It and Places to Store It span - Ways to Run It and Places to Store It
li li
a.tutorials--link href="http://www.anniehedgie.com/inspec-basics-7" a.tutorials--link href="http://www.anniehedgie.com/inspec-basics-7"
i.fa.fa-link i.fa.fa-angle-right
| Day 7 | Day 7
span - How to Inherit a Profile from Chef Compliance Server span - How to Inherit a Profile from Chef Compliance Server
li li
a.tutorials--link href="http://www.anniehedgie.com/inspec-basics-8" a.tutorials--link href="http://www.anniehedgie.com/inspec-basics-8"
i.fa.fa-link i.fa.fa-angle-right
| Day 8 | Day 8
span - Regular Expressions span - Regular Expressions
li li
a.tutorials--link href="http://www.anniehedgie.com/inspec-basics-9" a.tutorials--link href="http://www.anniehedgie.com/inspec-basics-9"
i.fa.fa-link i.fa.fa-angle-right
| Day 9 | Day 9
span - Attributes span - Attributes
li li
a.tutorials--link href="https://learn.chef.io/tutorials/inspec/" a.tutorials--link href="https://learn.chef.io/tutorials/inspec/"
i.fa.fa-link i.fa.fa-angle-right
span Verify Your Chef Code with InSpec span Verify Your Chef Code with InSpec
li li
a.tutorials--link href="https://learn.chef.io/tutorials/compliance-assess/" a.tutorials--link href="https://learn.chef.io/tutorials/compliance-assess/"
i.fa.fa-link i.fa.fa-angle-right
span Assess Your Infrastructure with Chef Compliance Scanner span Assess Your Infrastructure with Chef Compliance Scanner
li li
a.tutorials--link href="https://learn.chef.io/tutorials/compliance-remediate/" a.tutorials--link href="https://learn.chef.io/tutorials/compliance-remediate/"
i.fa.fa-link i.fa.fa-angle-right
span Remediate Compliance Failures on your Infrastructure with Chef span Remediate Compliance Failures on your Infrastructure with Chef
h3.tutorials--subhead Guides For Advanced Topics
p h3.margin-top-xs Guides For Advanced Topics
| Additional huge thanks to Christian Johannsen, Jeremy Miller, and hr.strict-left
blindscientist for these amazing materials. br
p.clear Additional huge thanks to Christian Johannsen, Jeremy Miller, and blindscientist for these amazing materials.
ul.tutorials--links.no-bullet ul.tutorials--links.no-bullet
li li
a.tutorials--link href="http://datatomix.com/?p=236" a.tutorials--link href="http://datatomix.com/?p=236"
i.fa.fa-link i.fa.fa-angle-right
span Windows infrastructure testing using InSpec - Part 1 span Windows infrastructure testing using InSpec - Part 1
li li
a.tutorials--link href="http://datatomix.com/?p=238" a.tutorials--link href="http://datatomix.com/?p=238"
i.fa.fa-link i.fa.fa-angle-right
span Windows infrastructure testing using InSpec and Profiles - Part 2 span Windows infrastructure testing using InSpec and Profiles - Part 2
li li
a.tutorials--link href="https://github.com/jeremymv2/chef-intranet-scaffolding/blob/master/README.md" a.tutorials--link href="https://github.com/jeremymv2/chef-intranet-scaffolding/blob/master/README.md"
i.fa.fa-link i.fa.fa-angle-right
span Operating InSpec in an air-gapped environment span Operating InSpec in an air-gapped environment
li li
a.tutorials--link href="http://scienceofficersblog.blogspot.de/2016/02/testing-ansible-with-inspec.html" a.tutorials--link href="http://scienceofficersblog.blogspot.de/2016/02/testing-ansible-with-inspec.html"
i.fa.fa-link i.fa.fa-angle-right
span Testing Ansible with InSpec span Testing Ansible with InSpec
h3.tutorials--subhead Podcasts
h3.margin-top-xs Podcasts
hr.strict-left
br
ul.tutorials--links.no-bullet ul.tutorials--links.no-bullet
li li
a.tutorials--link href="http://foodfightshow.org/2016/02/inspec.html" a.tutorials--link href="http://foodfightshow.org/2016/02/inspec.html"
i.fa.fa-link i.fa.fa-angle-right
span InSpec Foodfight span InSpec Foodfight
li li
a.tutorials--link href="https://www.arresteddevops.com/tdi/" a.tutorials--link href="https://www.arresteddevops.com/tdi/"
i.fa.fa-link i.fa.fa-angle-right
span Test Driven Infrastructure With Arthur Maltson and Michael Goetz span Test Driven Infrastructure With Arthur Maltson and Michael Goetz