first commit

This commit is contained in:
Robert Austin 2019-02-17 16:55:16 +10:00
commit dcdde20b7c
179 changed files with 16070 additions and 0 deletions

View file

@ -0,0 +1,23 @@
.button {
white-space: nowrap;
display: inline-block;
padding: 8px 15px 6px 15px;
background: $primary;
font-weight: normal;
text-transform: uppercase;
color: lighten($primary, 50%);
text-decoration: none;
-webkit-transition: all 0.15s ease;
transition: all 0.15s ease;
border-radius: 3px;
&:hover {
color: #fff;
background-color: lighten($primary, 10%);
text-decoration: none;
}
}
.button-white {
background: none;
color: #fff;
border: 2px solid #fff;
}

View file

@ -0,0 +1,85 @@
$paragraph-color: $black;
.content {
-webkit-font-smoothing: antialiased;
pre {
font-family: $font-family-mono;
font-size: 0.9rem;
line-height: 1.4;
margin: 0;
background: #f5f5f5;
padding: 10px;
border-radius: 1px;
color: lighten($black, 10%);
code {
font-family: $font-family-mono;
font-size: 0.9rem;
line-height: 1.4;
border-radius: none;
padding: 0;
margin: 0;
}
}
code {
background: #f5f5f5;
padding: 3px 6px;
border-radius: 3px;
color: lighten($black, 10%);
font-family: $font-family-mono;
font-size: 0.9rem;
line-height: 1.4;
}
.highlight {
margin-bottom: 20px;
}
ul,
ol {
margin-top: 10px;
margin-bottom: 20px;
li {
margin-bottom: 5px;
margin-left: 20px;
}
}
a {
text-decoration: underline;
}
p {
font-family: $font-family-base;
font-size: 1rem;
line-height: 1.7;
color: lighten($black, 10%);
font-weight: 400;
}
h1 {
font-family: $font-family-serif;
line-height: 1.2;
font-weight: 300;
margin-bottom: 20px;
@include media-breakpoint-up(md) {
line-height: 1.2;
font-weight: 300;
}
}
h2 {
font-size: 2.2rem;
line-height: 1.6;
font-weight: 300;
letter-spacing: -0.01em;
font-family: $font-family-base;
margin-bottom: 20px;
@include media-breakpoint-up(md) {
line-height: 1.4;
}
}
h3 {
font-size: 1.34rem;
line-height: 1.6;
font-weight: 400;
font-family: $font-family-base;
margin-bottom: 20px;
@include media-breakpoint-up(md) {
line-height: 1.4;
}
}
}

View file

@ -0,0 +1,30 @@
.docs-menu {
h4 {
font-size: 1rem;
font-weight: bold;
}
ul {
list-style: none;
padding: 0;
margin: 0;
li {
font-size: 0.9rem;
line-height: 1.4;
font-weight: 400;
margin: 0;
padding: 4px 0 4px 0;
&.active {
a {
color: lighten($primary, 10%);
font-weight: 400;
}
}
a {
color: $black;
&:hover {
color: $primary;
}
}
}
}
}

View file

@ -0,0 +1,76 @@
.footer {
background: $secondary;
padding-top: 20px;
padding-bottom: 20px;
.footer-inner {
display: flex;
justify-content: space-between;
flex-direction: column;
align-items: flex-start;
@include media-breakpoint-up(sm) {
justify-content: space-between;
flex-direction: row;
align-items: center;
}
}
.footer-title {
color: #ffffff;
font-size: 1.3rem;
font-family: $font-family-serif;
margin-bottom: 10px;
flex: 0;
@include media-breakpoint-up(sm) {
margin: 0;
flex: 0 0 120px;
}
}
ul {
list-style: none;
margin: 0;
padding: 0;
flex: 1;
li {
display: block;
margin-right: 10px;
color: lighten($secondary, 50%);
font-size: 0.9rem;
line-height: 1.8;
&:last-of-type {
margin-right: 0;
}
a {
color: lighten($secondary, 50%);
text-decoration: none;
&:hover {
text-decoration: underline;
}
}
&.copyright {
font-weight: bold;
color: lighten($secondary, 50%);
display: none;
@include media-breakpoint-up(md) {
display: inline-block;
}
}
}
@include media-breakpoint-up(sm) {
height: inherit;
display: flex;
list-style: none;
margin: 0;
padding: 0;
align-items: center;
justify-content: flex-end;
li {
list-style: none;
a {
display: inline-block;
height: 40px;
padding: 10px 8px 10px 8px;
font-weight: 300;
}
}
}
}
}

View file

@ -0,0 +1,27 @@
.hamburger {
padding: 10px 0 10px 10px;
outline: none;
z-index: 30;
cursor: pointer;
@include media-breakpoint-up(md) {
display: none;
}
&:focus {
outline: none;
}
.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after {
background: $primary;
}
.hamburger-inner::after {
width: 18px;
right: 0;
}
&.is-active {
.hamburger-inner::after {
width: inherit;
right: unset;
}
}
}

View file

@ -0,0 +1,26 @@
.header {
color: $primary;
background-color: #ffffff;
display: flex;
justify-content: space-between;
align-items: center;
padding: 10px 0 10px 0;
// box-shadow: 0 1px 15px rgba(50, 50, 93, 0.2);
.container {
display: flex;
justify-content: space-between;
align-items: center;
}
&.header-absolute {
position: absolute;
z-index: 10;
width: 100%;
}
}
.lock-scroll {
.header {
&.header-absolute {
position: static;
}
}
}

View file

@ -0,0 +1,330 @@
.highlight {
}
.highlight .hll {
background-color: #ffffcc;
}
.highlight .c {
color: #999988;
font-style: italic;
}
/* Comment */
.highlight .err {
color: #a61717;
background-color: #e3d2d2;
}
/* Error */
.highlight .k {
color: #000000;
font-weight: bold;
}
/* Keyword */
.highlight .o {
color: #000000;
font-weight: bold;
}
/* Operator */
.highlight .cm {
color: #999988;
font-style: italic;
}
/* Comment.Multiline */
.highlight .cp {
color: #999999;
font-weight: bold;
font-style: italic;
}
/* Comment.Preproc */
.highlight .c1 {
color: #999988;
font-style: italic;
}
/* Comment.Single */
.highlight .cs {
color: #999999;
font-weight: bold;
font-style: italic;
}
/* Comment.Special */
.highlight .gd {
color: #000000;
background-color: #ffdddd;
}
/* Generic.Deleted */
.highlight .ge {
color: #000000;
font-style: italic;
}
/* Generic.Emph */
.highlight .gr {
color: #aa0000;
}
/* Generic.Error */
.highlight .gh {
color: #999999;
}
/* Generic.Heading */
.highlight .gi {
color: #000000;
background-color: #ddffdd;
}
/* Generic.Inserted */
.highlight .go {
color: #888888;
}
/* Generic.Output */
.highlight .gp {
color: #555555;
}
/* Generic.Prompt */
.highlight .gs {
font-weight: bold;
}
/* Generic.Strong */
.highlight .gu {
color: #aaaaaa;
}
/* Generic.Subheading */
.highlight .gt {
color: #aa0000;
}
/* Generic.Traceback */
.highlight .kc {
color: #000000;
font-weight: bold;
}
/* Keyword.Constant */
.highlight .kd {
color: #000000;
font-weight: bold;
}
/* Keyword.Declaration */
.highlight .kn {
color: #000000;
font-weight: bold;
}
/* Keyword.Namespace */
.highlight .kp {
color: #000000;
font-weight: bold;
}
/* Keyword.Pseudo */
.highlight .kr {
color: #000000;
font-weight: bold;
}
/* Keyword.Reserved */
.highlight .kt {
color: #445588;
font-weight: bold;
}
/* Keyword.Type */
.highlight .m {
color: #009999;
}
/* Literal.Number */
.highlight .s {
color: #d01040;
}
/* Literal.String */
.highlight .na {
color: #008080;
}
/* Name.Attribute */
.highlight .nb {
color: #0086b3;
}
/* Name.Builtin */
.highlight .nc {
color: #445588;
font-weight: bold;
}
/* Name.Class */
.highlight .no {
color: #008080;
}
/* Name.Constant */
.highlight .nd {
color: #3c5d5d;
font-weight: bold;
}
/* Name.Decorator */
.highlight .ni {
color: #800080;
}
/* Name.Entity */
.highlight .ne {
color: #990000;
font-weight: bold;
}
/* Name.Exception */
.highlight .nf {
color: #990000;
font-weight: bold;
}
/* Name.Function */
.highlight .nl {
color: #990000;
font-weight: bold;
}
/* Name.Label */
.highlight .nn {
color: #555555;
}
/* Name.Namespace */
.highlight .nt {
color: #000080;
}
/* Name.Tag */
.highlight .nv {
color: #008080;
}
/* Name.Variable */
.highlight .ow {
color: #000000;
font-weight: bold;
}
/* Operator.Word */
.highlight .w {
color: #bbbbbb;
}
/* Text.Whitespace */
.highlight .mf {
color: #009999;
}
/* Literal.Number.Float */
.highlight .mh {
color: #009999;
}
/* Literal.Number.Hex */
.highlight .mi {
color: #009999;
}
/* Literal.Number.Integer */
.highlight .mo {
color: #009999;
}
/* Literal.Number.Oct */
.highlight .sb {
color: #d01040;
}
/* Literal.String.Backtick */
.highlight .sc {
color: #d01040;
}
/* Literal.String.Char */
.highlight .sd {
color: #d01040;
}
/* Literal.String.Doc */
.highlight .s2 {
color: #d01040;
}
/* Literal.String.Double */
.highlight .se {
color: #d01040;
}
/* Literal.String.Escape */
.highlight .sh {
color: #d01040;
}
/* Literal.String.Heredoc */
.highlight .si {
color: #d01040;
}
/* Literal.String.Interpol */
.highlight .sx {
color: #d01040;
}
/* Literal.String.Other */
.highlight .sr {
color: #009926;
}
/* Literal.String.Regex */
.highlight .s1 {
color: #d01040;
}
/* Literal.String.Single */
.highlight .ss {
color: #990073;
}
/* Literal.String.Symbol */
.highlight .bp {
color: #999999;
}
/* Name.Builtin.Pseudo */
.highlight .vc {
color: #008080;
}
/* Name.Variable.Class */
.highlight .vg {
color: #008080;
}
/* Name.Variable.Global */
.highlight .vi {
color: #008080;
}
/* Name.Variable.Instance */
.highlight .il {
color: #009999;
}
/* Literal.Number.Integer.Long */

View file

@ -0,0 +1,33 @@
.logo {
display: none;
@include media-breakpoint-up(sm) {
display: block;
width: 70px;
}
img {
width: 100%;
height: auto;
}
a {
display: block;
width: 100%;
height: 100%;
}
}
.logo-mobile {
display: block;
width: 40px;
padding: 10px 0 10px 0;
@include media-breakpoint-up(sm) {
display: none;
}
img {
width: 100%;
height: auto;
}
a {
display: block;
width: 100%;
height: 100%;
}
}

View file

@ -0,0 +1,141 @@
$color-main: $primary;
$color-active: #ffffff;
$color-link: #ffffff;
$button-height: 27px;
$button-width: 35px;
// .button_container {
// position: fixed;
// top: 5%;
// right: 2%;
// height: $button-height;
// width: $button-width;
// cursor: pointer;
// z-index: 1000;
// transition: opacity 0.25s ease;
// &:hover {
// opacity: 0.7;
// }
// &.active {
// .top {
// transform: translateY(11px) translateX(0) rotate(45deg);
// background: $color-active;
// }
// .middle {
// opacity: 0;
// background: $color-active;
// }
// .bottom {
// transform: translateY(-11px) translateX(0) rotate(-45deg);
// background: $color-active;
// }
// }
// span {
// background: $color-main;
// border: none;
// height: 5px;
// width: 100%;
// position: absolute;
// top: 0;
// left: 0;
// transition: all 0.35s ease;
// cursor: pointer;
// &:nth-of-type(2) {
// top: 11px;
// }
// &:nth-of-type(3) {
// top: 22px;
// }
// }
// }
.main-menu-mobile {
position: fixed;
background: $color-main;
top: 0;
left: 0;
width: 100%;
height: 100vh;
opacity: 0;
visibility: hidden;
transition: opacity 0.35s, visibility 0.35s, height 0.35s;
overflow: hidden;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
&.open {
opacity: 0.9;
visibility: visible;
height: 100%;
z-index: 20;
li {
animation: fadeInRight 0.5s ease forwards;
animation-delay: 0.35s;
&:nth-of-type(2) {
animation-delay: 0.4s;
}
&:nth-of-type(3) {
animation-delay: 0.45s;
}
&:nth-of-type(4) {
animation-delay: 0.5s;
}
&:nth-of-type(5) {
animation-delay: 0.55s;
}
&:nth-of-type(6) {
animation-delay: 0.6s;
}
}
}
ul {
font-size: 2rem;
font-family: $font-family-serif;
text-align: center;
list-style: none;
padding: 0;
margin: 0;
flex: 0;
li {
display: block;
position: relative;
opacity: 0;
a {
display: block;
position: relative;
color: $color-link;
text-decoration: none;
overflow: hidden;
&:hover::after,
&:focus::after,
&:active::after {
width: 100%;
}
&::after {
content: '';
position: absolute;
bottom: 0;
left: 50%;
width: 0%;
transform: translateX(-50%);
height: 3px;
background: $color-link;
transition: 0.35s;
}
}
}
}
}
@keyframes fadeInRight {
0% {
opacity: 0;
left: 20%;
}
100% {
opacity: 1;
left: 0;
}
}
.lock-scroll {
overflow: hidden;
}

View file

@ -0,0 +1,32 @@
.main-menu {
display: none;
@include media-breakpoint-up(md) {
display: block;
}
> ul {
display: flex;
align-items: center;
justify-content: flex-start;
font-family: $font-family-base;
> li {
list-style: none;
font-size: 14px;
> a {
padding: 10px 14px 10px 14px;
display: inline-block;
font-weight: normal;
text-decoration: none;
color: $primary;
&:hover {
text-decoration: underline;
color: $primary;
}
}
&.active {
> a {
font-weight: bold;
}
}
}
}
}

View file

@ -0,0 +1,6 @@
.overview {
background: lightgoldenrodyellow;
border-radius: 3px;
padding: 4px 10px 4px 10px;
float: right;
}

View file

@ -0,0 +1,8 @@
.page {
display: flex;
min-height: 100vh;
flex-direction: column;
.wrapper {
flex: 1;
}
}

View file

@ -0,0 +1,6 @@
ul,
ol {
margin: 0;
padding: 0;
list-style: none;
}

View file

@ -0,0 +1,55 @@
.strip {
background-repeat: no-repeat;
}
.strip-white {
background-color: white;
}
.strip-grey {
background-color: #f4f5fb;
}
.strip-diagonal {
transform: skewY(5deg);
padding-bottom: 50px;
margin-bottom: 65px;
> div {
transform: skewY(-5deg);
}
}
.strip-primary-gradient {
background-image: linear-gradient(to right, $primary, $secondary);
}
.strip-primary-gradient-top-bottom {
background-image: linear-gradient(to bottom, $primary, $secondary);
}
.strip-primary {
background-color: $primary;
}
.strip-secondary {
background-color: $secondary;
}
.strip-diagonal-right {
margin-top: -100px;
transform: skewY(-5deg);
padding-bottom: 100px;
> div {
transform: skewY(5deg);
}
}
.strip-diagonal-left {
margin-top: -100px;
transform: skewY(5deg);
padding-bottom: 100px;
> div {
transform: skewY(-5deg);
}
}
.strip-bg-contain {
background-size: contain;
}
.strip-bg-cover {
background-size: cover;
}

View file

@ -0,0 +1,61 @@
.sub-footer {
background: darken($secondary, 10%);
padding-top: 20px;
padding-bottom: 20px;
@include media-breakpoint-up(md) {
padding-top: 10px;
padding-bottom: 10px;
}
.sub-footer-inner {
display: flex;
flex-direction: column;
justify-content: space-between;
@include media-breakpoint-up(md) {
flex-direction: row;
}
ul {
list-style: none;
margin: 0;
padding: 0;
li {
list-style: none;
display: block;
color: lighten($secondary, 40%);
font-size: 0.9rem;
line-height: 1.8;
strong {
font-weight: bold;
color: #ffffff;
}
a {
color: lighten($secondary, 40%);
text-decoration: none;
&:hover {
text-decoration: underline;
}
}
span {
display: inline-block;
height: 40px;
padding: 10px 0 10px 8px;
font-weight: bold;
color: #ffffff;
}
&.zerostatic {
a {
color: #ffffff;
}
}
}
@include media-breakpoint-up(sm) {
li {
display: inline-block;
margin-left: 10px;
&:first-of-type {
margin-left: 0;
}
}
}
}
}
}

View file

@ -0,0 +1,12 @@
.title {
color: #222222;
font-size: 2.4rem;
line-height: 1.2;
font-family: $font-family-base;
letter-spacing: -0.2px;
font-weight: 100;
margin-bottom: 30px;
@include media-breakpoint-up(md) {
font-size: 3rem;
}
}

View file

View file

@ -0,0 +1,10 @@
@mixin whitebox($padding: 10px) {
border: 1px solid #dcdcdc;
border-radius: 3px;
box-shadow: 0 1px 18px rgba(0, 0, 0, 0.2);
background: #ffffff;
padding: $padding;
}
.whitebox {
@include whitebox();
}