This commit is contained in:
Brittany Chiang
2017-10-10 22:15:49 -07:00
parent 73e71e1ba4
commit b05b913105
374 changed files with 52888 additions and 19170 deletions

View File

@@ -1,110 +1,60 @@
.four-oh-four {
font-family: $Gotham, $sans-serif-stack;
canvas {
display: block;
vertical-align: bottom;
}
#particles-js {
position: fixed;
width: 100%;
height: 100%;
top: 0;
left: 0;
z-index: 1;
animation: appear 1.4s ease 0s normal forwards 1 running;
background-color: #070525;
background-repeat: no-repeat;
background-size: cover;
background-position: center;
background-image: url('http://brittanychiang.com/img/404-bg.jpg');
&:before {
content: '';
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
background: #141E30;
background: -webkit-linear-gradient(to bottom, #141E30 , #243B55);
background: linear-gradient(to bottom, #141E30 , #243B55);
opacity: 0.7;
.not-found {
width: 100%;
height: 100vh;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
text-align: center;
padding: 0 20px;
.name {
position: absolute;
top: 25px;
left: 30px;
font-weight: 700;
color: $blue;
font-size: 1.5rem;
@include mobile {
top: 20px;
left: 25px;
font-size: 1.25rem;
}
}
.count-particles {
background: #000022;
position: absolute;
top: 48px;
left: 0;
width: 80px;
color: #13E8E9;
font-size: .8em;
text-align: left;
text-indent: 4px;
line-height: 14px;
padding-bottom: 2px;
font-family: Helvetica, Arial, sans-serif;
font-weight: bold;
display: none;
h1 {
font-size: 4rem;
margin: 10px 0;
}
.js-count-particles {
font-size: 1.1em;
h2 {
font-size: 1.5rem;
@include mobile {
font-size: 1.25rem;
}
@include small-mobile {
font-size: 1.1rem;
}
}
#stats,
.count-particles {
-webkit-user-select: none;
margin-top: 5px;
margin-left: 5px;
}
#stats {
border-radius: 3px 3px 0 0;
overflow: hidden;
}
.count-particles {
border-radius: 0 0 3px 3px;
}
.text-container {
text-align: center;
cursor: default;
a {
font-weight: 700;
color: $blue !important;
position: relative;
top: 25vh;
.text {
display: inline-block;
color: #fff;
font-weight: 500;
line-height: 1;
text-transform: uppercase;
z-index: 2;
position: relative;
h1 {
font-family: $Gotham, $sans-serif-stack;
font-size: 10em;
font-weight: 500;
margin: 0 auto;
text-shadow: 0 5px 5px rgba(0,0,0,.5);
}
h3 {
font-size: 1em;
font-weight: 700;
margin: 15px 0 75px;
text-shadow: 0 3px 5px rgba(0,0,0,.5);
}
a {
display: block;
width: 200px;
margin: 0 auto;
color: $white;
background: #ab473c;
font-size: 0.95em;
text-decoration: none;
padding: 15px;
border-radius: 30px;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.25);
&:hover, &:focus {
background: #c74739;
}
}
display: inline-block;
&:after {
position: absolute;
top: 100%;
left: 0;
width: 100%;
height: 3px;
background: $blue;
content: '';
opacity: 0;
transition: height 0.3s, opacity 0.3s, transform 0.3s;
transform: translateY(-10px);
}
&:hover:after,
&:focus:after {
height: 3px;
opacity: 1;
transform: translateY(-5px);
}
}
}

View File

@@ -1,50 +0,0 @@
#about-section {
.section-subheading {
width: 60%;
font-size: 1.2em;
font-weight: 500;
line-height: 1.5;
margin-top: 1em;
@include MQ(ML) {
width: 100%;
}
}
.about-wrapper {
padding-right: 20px;
@include MQ(MM) {
padding: 0;
}
.about-text-wrapper {
display: inline-block;
width: 60%;
vertical-align: top;
@include MQ(MM) {
width: 100%;
}
.about-text {
margin-bottom: 10px;
font-size: 1.15em;
}
}
.headshot {
display: inline-block;
width: 35%;
height: auto;
border-radius: 50%;
margin-top: -100px;
float: right;
max-width: 450px;
@include MQ(ML) {
margin-top: 0px;
}
@include MQ(MM) {
float: none;
margin: 10px 0 40px 0;
width: 300px;
}
@include MQ(S400) {
width: 250px;
}
}
}
}

View File

@@ -0,0 +1,3 @@
.background {
}

View File

@@ -7,203 +7,224 @@
}
::selection {
// background: $midpointBlue;
background: $yellow;
}
html,
body {
html, body {
margin: 0;
padding: 0;
font-family: $Whitney, $sans-serif-stack;
height: 100%;
color: $white;
background-color: $dark-grey;
}
background-color: $white;
color: $dark-grey;
font-family: $Apercu, $sans-serif-stack;
line-height: 1.5;
h1 {
font-family: $Chronicle, $serif-stack;
margin: 0;
}
h2, h3 {
font-family: $Gotham, $sans-serif-stack;
margin: 10px 0;
}
p {
margin: 0;
margin-bottom: 10px;
font-family: $Whitney, $sans-serif-stack;
}
a {
text-decoration: none;
color: $white;
}
ul {
list-style: none;
padding: 0;
}
.noScroll {
overflow: hidden;
height: 100%
}
.center {
text-align: center;
margin-left: auto;
margin-right: auto;
}
.section {
width: 100%;
height: auto;
min-height: 700px;
padding: 0;
overflow: hidden;
color: $white;
position: relative;
&:first-of-type {
background-color: #0054c7
}
&:nth-of-type(odd) {
background-color: #5b5b5b;
}
&:nth-of-type(even) {
background-color: $dark-grey;
}
a {
display: block;
text-decoration: none;
font-weight: 700;
color: $black;
transition: all 0.25s ease-in-out;
}
.overlay-wrapper,
.section-wrapper {
padding: 100px;
@include MQ(MM) {
padding: 100px 50px;
ul {
list-style: none;
padding: 0;
}
strong {
font-weight: 700;
color: $black;
}
&.night {
background-color: $night;
color: $slate;
::selection {
color: $black;
background: $yellow;
}
@include MQ(S400) {
padding: 100px 25px;
}
h1 {
font-size: 3em;
}
p {
font-size: 1.3em;
line-height: 1.5em;
@include MQ(SM) {
font-size: 1em;
.switch-wrapper {
.sun {
background: url('../img/switch/sun-white.svg') no-repeat center;
background-size: 100%;
}
.moon {
background: url('../img/switch/moon-white.svg') no-repeat center;
background-size: 100%;
}
}
.divider {
a,
strong,
.intro,
.skills .skillz__category__label,
.experience .job__time,
.footer__copyright {
color: $off-white;
}
.section__content .underline-link:after {
background: $off-white;
}
}
.emoji {
display: inline-block;
vertical-align: text-top;
background-size: contain;
background-repeat: no-repeat;
background-position: center;
}
.section {
display: flex;
justify-content: center;
padding: 100px 170px;
@include thirteen {
padding: 100px;
}
@include desktop {
padding: 50px;
}
@include tablet {
display: block;
margin: 30px 0px;
width: 100px;
height: 2px;
background-color: $blue;
}
.center {
margin-right: auto;
margin-left: auto;
text-align: center;
@include mobile {
padding: 50px 35px;
}
&__title {
flex-shrink: 0;
width: 200px;
margin-right: 70px;
color: $blue;
text-transform: uppercase;
text-align: right;
font-weight: 700;
letter-spacing: 2px;
@include desktop {
margin-right: 50px;
}
@include little-desktop {
width: 150px;
}
@include tablet {
text-align: left;
width: auto;
}
}
&__content {
font-weight: 300;
font-size: 1rem;
width: 100%;
max-width: 650px;
@include tablet {
padding-top: 30px;
padding-left: 50px;
}
@include mobile {
padding-left: 30px;
}
p {
margin-top: 0;
margin-bottom: 25px;
}
.underline-link {
position: relative;
display: inline-block;
&:after {
position: absolute;
top: 100%;
left: 0;
width: 100%;
height: 1px;
background: $black;
content: '';
opacity: 0;
transition: height 0.3s, opacity 0.3s, transform 0.3s;
transform: translateY(-5px);
}
&:hover:after,
&:focus:after {
height: 2px;
border-radius: 3px;
opacity: 1;
transform: translateY(-2px);
}
}
}
}
.overlay-wrapper {
background: linear-gradient(to bottom, rgba(0, 0, 0, $overlayOpacity), rgba(0, 0, 0, $overlayOpacity), rgba(0, 0, 0, $overlayOpacity), rgba(0, 0, 0, $overlayOpacity), rgba(0, 0, 0, $overlayOpacity));
width: 100%;
height: 100%;
.arrow-link {
font-weight: 700;
display: inline-block;
transition: all 0.15s ease-in-out;
background-color: transparent;
white-space: nowrap;
&:after {
position: relative;
bottom: 2px;
margin-left: 15px;
content: "";
background: url('../img/arrow.png') no-repeat center;
background-size: 100%;
width: 15px;
height: 15px;
display: inline-block;
vertical-align: middle;
-webkit-transition: all .15s ease-in-out;
}
&:hover:after {
transform: translateX(7px);
}
}
.small {
font-family: 'Inconsolata', monospace;
font-size: 0.85rem;
display: inline-block;
margin-top: 15px;
&:after {
display: none;
}
}
#top-button {
background: transparent;
border: none;
outline: none;
width: 40px;
position: fixed;
bottom: 25px;
right: 10px;
cursor: pointer;
transition: all 0.25s ease;
display: none;
@include desktop {
bottom: 20px;
right: 7px;
width: 35px;
}
@include mobile {
bottom: 15px;
right: 3px;
}
&:hover, &:focus {
transform: translateY(-10px);
}
img {
width: 100%;
}
}
}
.skrollr-desktop body {
height: 100% !important;
.waypoint {
opacity: 0;
transform: translate3d(0,20px,0);
transition: opacity .6s cubic-bezier(.694,0,.335,1),transform .6s cubic-bezier(.694,0,.335,1);
}
#skrollr-body {
height: 100%;
overflow: visible;
position: relative;
.in-view {
opacity: 1;
transform: translateZ(0);
}
.gap,
.skrollr .gap {
background: transparent !important;
}
.bg {
width: 100%;
height: 100%;
min-height: 100%;
background-position: center center;
background-repeat: no-repeat;
background-size: cover;
position: absolute;
z-index: -1;
overflow: hidden;
}
#intro-section .bg {
z-index: 0;
background-image: url('../img/bg-intro/intro-xl.jpg');
@include MQ(L) {
background-image: url('../img/bg-intro/intro-lg.jpg');
}
@include MQ(MM) {
background-image: url('../img/bg-intro/intro-md.jpg');
}
@include MQ(S660) {
background-image: url('../img/bg-intro/intro-sm.jpg');
}
@include MQ(SM) {
background-image: url('../img/bg-intro/intro-xs.jpg');
}
}
#services-section .bg {
background-image: url('../img/bg-services/services-xl.jpg');
@include MQ(L) {
background-image: url('../img/bg-services/services-lg.jpg');
}
@include MQ(MM) {
background-image: url('../img/bg-services/services-md.jpg');
}
@include MQ(S660) {
background-image: url('../img/bg-services/services-sm.jpg');
}
@include MQ(SM) {
background-image: url('../img/bg-services/services-xs.jpg');
}
}
#experience-section .bg {
background-image: url('../img/bg-experience/experience-xl.jpg');
@include MQ(L) {
background-image: url('../img/bg-experience/experience-lg.jpg');
}
@include MQ(MM) {
background-image: url('../img/bg-experience/experience-md.jpg');
}
@include MQ(S660) {
background-image: url('../img/bg-experience/experience-sm.jpg');
}
@include MQ(SM) {
background-image: url('../img/bg-experience/experience-xs.jpg');
}
}
#contact-section .bg {
background-image: url('../img/bg-contact/contact-xl.jpg');
@include MQ(L) {
background-image: url('../img/bg-contact/contact-lg.jpg');
}
@include MQ(MM) {
background-image: url('../img/bg-contact/contact-md.jpg');
}
@include MQ(S660) {
background-image: url('../img/bg-contact/contact-sm.jpg');
}
@include MQ(SM) {
background-image: url('../img/bg-contact/contact-xs.jpg');
}
}

View File

@@ -1,54 +0,0 @@
.block-btn {
display: block;
width: 100%;
min-height: 100px;
overflow: hidden;
color: $white;
position: relative;
background: #00909c;
font-family: $Gotham, $sans-serif-stack;
font-size: 1em;
font-weight: 700;
text-transform: uppercase;
text-align: center;
letter-spacing: 1px;
overflow: hidden;
transition: background-color 0.5s linear;
&:hover, &:focus {
background: $blue;
transition: all 0.3s ease;
.text {
opacity: 0;
visibility: hidden;
transform: translate3D(0, 4em, 0) scale(.25);
}
.icon {
opacity: 1;
visibility: visible;
transform: translate3D(0, 0, 0) scale(1);
}
}
.text,
.icon {
position: absolute;
top: 0;
left: 0;
right: 0;
text-align: center;
}
.text {
margin: 40px auto;
opacity: 1;
visibility: visible;
transition: transform .4s cubic-bezier(.425, -.195, .005, 1.215), opacity .13333s linear, -webkit-transform .4s cubic-bezier(.425, -.195, .005, 1.215);
transform: scale(1);
}
.icon {
width: 50px;
margin: 25px auto;
opacity: 0;
visibility: hidden;
transition: transform .4s cubic-bezier(.425, -.195, .005, 1.215), opacity .4s linear, -webkit-transform .4s cubic-bezier(.425, -.195, .005, 1.215);
transform: translate3D(0, -4em, 0) scale(0);
}
}

View File

@@ -1,132 +0,0 @@
#contact-section {
.contact-description {
margin: 0 auto;
max-width: 440px;
font-size: 1.2em;
@include MQ(L) {
padding: 0;
}
}
.form-wrapper {
width: 500px;
margin: 20px auto;
padding: 0;
@include MQ(S600) {
width: 90%;
}
@include MQ(S400) {
width: 95%;
}
.input-wrapper {
padding: 0;
margin-bottom: 10px;
position: relative;
transition: all 0.25s ease;
@include MQ(M) {
margin-bottom: 10px;
}
@include MQ(SM) {
margin-bottom: 5px;
}
&:before {
content: "";
position: absolute;
display: block;
width: 100%;
height: 2px;
background-color: $grey;
bottom: 0;
left: 0;
transition: all 0.5s ease-in-out;
}
&:after {
background-color: #00b7c7;
content: "";
position: absolute;
display: block;
width: 0px;
height: 2px;
bottom: 0;
left: 0;
transition: all 0.5s ease-in-out;
}
.input-label {
display: block;
font-family: $Gotham, $sans-serif-stack;
font-size: 0.9em;
font-weight: 700;
text-transform: uppercase;
transform: translateY(25px);
color: $white;
margin-bottom: 10px;
transition: all 0.5s ease-in-out;
}
.contact-input {
position: relative;
background: transparent;
width: 100%;
border: none;
padding: 20px 0 10px;
margin-bottom: -10px;
font-size: 1em;
line-height: 1.3;
color: $white;
font-family: $Whitney, $sans-serif-stack;
resize: none;
display: block;
overflow: hidden;
box-sizing: padding-box;
transition: all 0.25s ease;
&:focus {
outline: 0;
color: $white;
}
}
}
.is-active,
.is-completed {
padding: 15px 0 0 0;
}
.is-active:after {
width: 100%;
}
.is-active .input-label {
color: #00b7c7;
}
.is-completed .input-label {
font-size: 0.75em;
font-weight: 700;
transform: translateY(0);
padding: 0;
}
.is-completed .contact-input {
padding-top: 10px;
}
.message-btn {
display: block;
text-align: center;
cursor: pointer;
text-transform: uppercase;
font-weight: 700;
font-size: 14px;
font-family: $Gotham, $sans-serif-stack;
line-height: 1.5;
padding: 12px 20px 10px;
margin: 70px auto 0;
color: $blue;
background: transparent;
border: 2px solid $blue;
border-radius: 3px;
position: relative;
overflow: hidden;
transition: all 0.3s ease;
&:hover, &:focus {
color: $white;
background: $blue;
}
}
#message-label {
margin-bottom: 10px;
}
}
}

View File

@@ -1,64 +0,0 @@
#dot-nav {
position: fixed;
right: 34px;
z-index: 1;
@include center(y);
visibility: hidden;
opacity: 0;
transition: visibility 0s, opacity 0.5s ease;
&.active {
visibility: visible;
opacity: 1;
transition: visibility 0s, opacity 0.5s ease;
}
@include MQ(M) {
display: none;
}
.dot-container {
text-align: right;
}
a {
display: inline-block;
@include clearfix;
-webkit-backface-visibility: hidden;
span {
float: right;
display: inline-block;
transform: scale(0.6);
}
&:hover span,
&:focus span {
transform: scale(0.75);
}
&:hover .dot-label,
&:focus .dot-label {
opacity: 1;
}
&.is-selected .dot {
background-color: $blue;
}
}
.dot {
position: relative;
top: 7px;
height: 20px;
width: 20px;
border-radius: 50%;
background: rgba(255,255,255,0.25);
transition: transform 0.2s, background-color 0.5s;
transform-origin: 50% 50%;
}
.dot-label {
position: relative;
top: 3px;
padding: 0.4em .5em;
color: $white;
font-family: $Gotham, $sans-serif-stack;
font-size: 1em;
font-weight: 500;
text-transform: uppercase;
opacity: 0;
transition: transform 0.2s, opacity 0.2s;
transform-origin: 100% 50%;
}
}

View File

@@ -0,0 +1,52 @@
.status {
display: flex;
align-items: center;
font-weight: 700;
font-family: 'Inconsolata', monospace;
margin-top: 50px;
&__light {
width: 20px;
height: 20px;
display: flex;
justify-content: center;
align-items: center;
&__ring {
position: absolute;
width: 18px;
height: 18px;
animation: pulsate 2s ease-out;
animation-iteration-count: infinite;
opacity: .0;
border: 3px solid $green;
border-radius: 30px;
}
@keyframes pulsate {
0% {
transform: scale(0.1, 0.1);
opacity: 0;
}
50% {
opacity: 1;
}
100% {
transform: scale(1.2, 1.2);
opacity: 0;
}
}
&__led {
position: absolute;
width: 10px;
height: 10px;
background: $green;
border-radius: 100%;
}
}
&__message {
margin-left: 10px;
}
}

View File

@@ -1,308 +1,32 @@
#experience-section {
.experience-description {
padding: 0 100px;
font-size: 1.2em;
@include MQ(L) {
padding: 0;
.experience {
.jobs {
margin-bottom: 100px;
}
.job {
margin-bottom: 25px;
.time-place {
display: flex;
justify-content: space-between;
@include mobile {
display: block;
}
}
a {
display: inline-block;
position: relative;
font-weight: 500;
transition: all 0.3s ease;
&:after {
content: '';
width: 100%;
position: absolute;
left: 0;
bottom: 2px;
border-width: 0 0 .5px;
border-style: solid;
border-color: $white;
transition: all 0.3s ease;
&__company {
font-weight: 700;
}
&__time {
font-size: 0.9rem;
font-family: 'Inconsolata', monospace;
@include mobile {
font-size: 0.8rem;
}
}
}
.experience-wrapper {
padding: 30px;
@include MQ(ML) {
padding-left: 0;
}
@include MQ(S600) {
padding: 30px 0;
}
#timeline {
position: relative;
padding: 2em 0;
margin: 0 auto;
width: 100%;
max-width: 1170px;
margin: 0 auto;
&:before {
content: '';
position: absolute;
top: 0;
left: calc(50% - 1px);
height: 100%;
width: 2px;
background: $blue;
@include MQ(ML) {
left: 20px;
margin-left: 0px;
}
@include MQ(SM) {
left: 10px;
}
}
&:after {
content: '';
display: table;
clear: both;
}
.timeline-block {
position: relative;
transition: all 0.3s ease;
margin: 1em 0;
&:after {
content: "";
display: table;
clear: both;
}
&:first-child {
margin-top: 0;
}
&:last-child {
margin-bottom: 0;
}
&:nth-child(odd) {
@include MQ(L) {
margin-top: 0;
margin-bottom: 2em;
}
.timeline-content {
float: left;
@include MQ(L) {
right: 10px;
}
@include MQ(ML) {
right: auto;
}
&:before {
top: 24px;
left: 100%;
border-color: transparent;
border-left-color: $dark-grey;
@include MQ(ML) {
top: 16px;
left: auto;
border-color: transparent;
border-right-color: $dark-grey;
}
}
.date {
left: auto;
text-align: right;
right: -33%;
}
}
}
&:nth-child(even) {
.date {
text-align: right;
left: auto;
right: 55%;
@include MQ(ML) {
text-align: left;
font-size: 14px;
color: $light-grey;
position: relative;
top: -40px;
left: 95px;
right: auto;
}
@include MQ(SM) {
left: 66px;
}
}
}
.timeline-img {
position: absolute;
width: 50px;
height: 50px;
top: 15px;
left: 50%;
margin-left: -25px;
border-radius: 50%;
background: #212121;
transform: translateZ(0);
backface-visibility: hidden;
transition: all 0.3s ease;
@include MQ(ML) {
top: 5px;
left: 20px;
}
@include MQ(SM) {
width: 40px;
height: 40px;
top: 10px;
left: 15px;
}
.sprite {
display: block;
width: 24px;
height: 24px;
position: relative;
left: 50%;
top: 50%;
margin-left: -12px;
margin-top: -12px;
background-repeat: no-repeat;
background-size: 100%;
@include MQ(SM) {
width: 20px;
height: 20px;
margin-left: -10px;
margin-top: -10px;
}
&.university {
background-image: url('../img/icons/graduate-cap.png');
}
&.research {
background-image: url('../img/icons/search.png');
}
&.industry {
background-image: url('../img/icons/briefcase.png');
}
&.academic {
background-image: url('../img/icons/notebook.png');
}
}
}
.timeline-content {
float: right;
position: relative;
background: $dark-grey;
border-radius: 3px;
margin-left: 0;
padding: 1.5em;
width: 45%;
opacity: 0.85;
transition: all 0.3s ease;
@include MQ(L) {
left: 0px;
padding-bottom: 2.5em;
}
@include MQ(ML) {
margin-left: 70px;
right: auto;
width: auto;
}
@include MQ(SM) {
margin-left: 50px;
padding: 1.5em 1em 2.5em;
}
&:hover, &:focus {
opacity: 1;
+ .timeline-img {
background: $blue;
}
}
&:before {
content: '';
position: absolute;
top: 24px;
right: 100%;
height: 0;
width: 0;
border: 15px solid transparent;
border-color: transparent;
border-right-color: $dark-grey;
@include MQ(ML) {
top: 16px;
right: 100%;
left: auto;
border: 15px solid transparent;
border-right: 15px solid $dark-grey;
}
}
&:after {
content: "";
display: table;
clear: both;
}
.position {
color: $white;
margin: 5px 0 10px;
font-size: 18px;
display: inline-block;
text-transform: uppercase;
font-family: $Gotham, $sans-serif-stack;
}
.company {
margin: 0 0 10px 0;
font-size: 15px;
font-weight: 500;
a {
color: $blue;
display: inline;
transition: all 0.3s ease;
&:hover, &:focus {
color: #00dded;
}
}
}
.job-desc {
margin: 1em 0;
font-size: 1em;
line-height: 1.5;
@include MQ(SM) {
font-size: 1em;
line-height: 1.5;
}
}
}
.date {
font-size: 1em;
font-weight: 500;
display: inline-block;
color: $white;
font-family: $Gotham, $sans-serif-stack;
text-transform: uppercase;
position: absolute;
width: 100%;
left: 55%;
top: 30px;
@include MQ(ML) {
font-size: 14px;
color: $light-grey;
position: absolute;
top: auto;
bottom: 20px;
left: 95px;
}
@include MQ(SM) {
left: 66px;
}
}
}
}
}
.down-arrow {
display: block;
margin: 0 auto;
border-color: transparent;
border-top-color: $blue;
border-style: solid;
border-width: 15px 7px 0;
width: 0;
height: 0;
position: relative;
line-height: 0;
@include MQ(ML) {
margin-left: 13.5px;
}
@include MQ(SM) {
margin-left: 3.5px;
.arrow-link {
font-size: 1.25rem;
&:after {
width: 20px;
height: 20px;
}
}
}

View File

@@ -0,0 +1,73 @@
.featured-projects {
a:after {
display: none;
}
.project {
display: flex;
margin-bottom: 100px;
margin-left: -5%;
width: 125%;
@include thirteen {
width: 115%;
}
@include desktop {
width: 105%;
}
@include tablet {
width: 100%;
display: block;
margin-bottom: 70px;
}
&.screentime {
margin-bottom: 70px;
}
&:last-of-type {
margin-bottom: 0;
}
&__pic {
max-width: 700px;
overflow: visible;
margin: 0;
a {
display: block;
}
&.phones {
a {
display: flex;
justify-content: space-between;
}
.phone {
margin: 0 -7%;
&:first-of-type {
margin-left: -5%;
}
}
}
img {
width: 100%;
max-width:100%;
vertical-align: bottom;
}
}
&__caption {
width: 125px;
flex-shrink: 0;
margin-left: 30px;
@include tablet {
width: 100%;
margin-top: 25px;
margin-left: 0;
}
}
&__name {
margin-bottom: 10px;
a {
font-weight: 700;
}
}
p {
font-size: 0.8rem;
line-height: 1.3;
}
}
}

View File

@@ -1,89 +1,106 @@
@font-face {
font-family: 'Chronicle Display Bold';
src: url('../fonts/chronicle-display/ChronicleDisplay-Bold.eot');
src: url('../fonts/chronicle-display/ChronicleDisplay-Bold.eot?#iefix') format('embedded-opentype'), url('../fonts/chronicle-display/ChronicleDisplay-Bold.woff2') format('woff2'), url('../fonts/chronicle-display/ChronicleDisplay-Bold.woff') format('woff'), url('../fonts/chronicle-display/ChronicleDisplay-Bold.ttf') format('truetype'), url('../fonts/chronicle-display/ChronicleDisplay-Bold.svg#ChronicleDisplay-Bold') format('svg');
font-weight: bold;
font-style: normal;
}
/* ===== WHITNEY ===== */
/* - Book 400
** - Book Italic 400
/* ===== APERCU ===== */
/* - Light 300
** - Light Italic 300
** - Regular 400
** - Regular Italic 400
** - Medium 500
** - Medium Italic 500
** - Bold 700
** - Bold Italic 700
*/
@font-face {
font-family: 'Whitney';
src: url('../fonts/whitney/whitney-book.woff2') format('woff2'), url('../fonts/whitney/whitney-book.woff') format('woff'), url('../fonts/whitney/whitney-book.ttf') format('truetype');
font-weight: normal;
font-family: 'Apercu';
src: url('../fonts/apercu/Apercu-Light.eot');
src: url('../fonts/apercu/Apercu-Light.eot?#iefix') format('embedded-opentype'),
url('../fonts/apercu/Apercu-Light.woff2') format('woff2'),
url('../fonts/apercu/Apercu-Light.woff') format('woff'),
url('../fonts/apercu/Apercu-Light.ttf') format('truetype'),
url('../fonts/apercu/Apercu-Light.svg#Apercu-Light') format('svg');
font-weight: 300;
font-style: normal;
}
@font-face {
font-family: 'Whitney';
src: url('../fonts/whitney/whitney-bookitalic.woff2') format('woff2'), url('../fonts/whitney/whitney-bookitalic.woff') format('woff'), url('../fonts/whitney/whitney-bookitalic.ttf') format('truetype');
font-weight: normal;
font-family: 'Apercu';
src: url('../fonts/apercu/Apercu-LightItalic.eot');
src: url('../fonts/apercu/Apercu-LightItalic.eot?#iefix') format('embedded-opentype'),
url('../fonts/apercu/Apercu-LightItalic.woff2') format('woff2'),
url('../fonts/apercu/Apercu-LightItalic.woff') format('woff'),
url('../fonts/apercu/Apercu-LightItalic.ttf') format('truetype'),
url('../fonts/apercu/Apercu-LightItalic.svg#Apercu-LightItalic') format('svg');
font-weight: 300;
font-style: italic;
}
@font-face {
font-family: 'Whitney';
src: url('../fonts/whitney/whitney-medium.woff2') format('woff2'), url('../fonts/whitney/whitney-medium.woff') format('woff'), url('../fonts/whitney/whitney-medium.ttf') format('truetype');
font-family: 'Apercu';
src: url('../fonts/apercu/Apercu-Regular.eot');
src: url('../fonts/apercu/Apercu-Regular.eot?#iefix') format('embedded-opentype'),
url('../fonts/apercu/Apercu-Regular.woff2') format('woff2'),
url('../fonts/apercu/Apercu-Regular.woff') format('woff'),
url('../fonts/apercu/Apercu-Regular.ttf') format('truetype'),
url('../fonts/apercu/Apercu-Regular.svg#Apercu-Regular') format('svg');
font-weight: 400;
font-style: normal;
}
@font-face {
font-family: 'Apercu';
src: url('../fonts/apercu/Apercu-Italic.eot');
src: url('../fonts/apercu/Apercu-Italic.eot?#iefix') format('embedded-opentype'),
url('../fonts/apercu/Apercu-Italic.woff2') format('woff2'),
url('../fonts/apercu/Apercu-Italic.woff') format('woff'),
url('../fonts/apercu/Apercu-Italic.ttf') format('truetype'),
url('../fonts/apercu/Apercu-Italic.svg#Apercu-Italic') format('svg');
font-weight: 400;
font-style: italic;
}
@font-face {
font-family: 'Apercu';
src: url('../fonts/apercu/Apercu-Medium.eot');
src: url('../fonts/apercu/Apercu-Medium.eot?#iefix') format('embedded-opentype'),
url('../fonts/apercu/Apercu-Medium.woff2') format('woff2'),
url('../fonts/apercu/Apercu-Medium.woff') format('woff'),
url('../fonts/apercu/Apercu-Medium.ttf') format('truetype'),
url('../fonts/apercu/Apercu-Medium.svg#Apercu-Medium') format('svg');
font-weight: 500;
font-style: normal;
}
@font-face {
font-family: 'Whitney';
src: url('../fonts/whitney/whitney-mediumitalic.woff2') format('woff2'), url('../fonts/whitney/whitney-mediumitalic.woff') format('woff'), url('../fonts/whitney/whitney-mediumitalic.ttf') format('truetype');
font-family: 'Apercu';
src: url('../fonts/apercu/Apercu-MediumItalic.eot');
src: url('../fonts/apercu/Apercu-MediumItalic.eot?#iefix') format('embedded-opentype'),
url('../fonts/apercu/Apercu-MediumItalic.woff2') format('woff2'),
url('../fonts/apercu/Apercu-MediumItalic.woff') format('woff'),
url('../fonts/apercu/Apercu-MediumItalic.ttf') format('truetype'),
url('../fonts/apercu/Apercu-MediumItalic.svg#Apercu-MediumItalic') format('svg');
font-weight: 500;
font-style: italic;
}
@font-face {
font-family: 'Whitney';
src: url('../fonts/whitney/whitney-bold.woff2') format('woff2'), url('../fonts/whitney/whitney-bold.woff') format('woff'), url('../fonts/whitney/whitney-bold.ttf') format('truetype');
font-family: 'Apercu';
src: url('../fonts/apercu/Apercu-Bold.eot');
src: url('../fonts/apercu/Apercu-Bold.eot?#iefix') format('embedded-opentype'),
url('../fonts/apercu/Apercu-Bold.woff2') format('woff2'),
url('../fonts/apercu/Apercu-Bold.woff') format('woff'),
url('../fonts/apercu/Apercu-Bold.ttf') format('truetype'),
url('../fonts/apercu/Apercu-Bold.svg#Apercu-Bold') format('svg');
font-weight: 700;
font-style: normal;
}
/* ===== GOTHAM ===== */
/* - Book 400
** - Medium 500
** - Bold 700
*/
@font-face {
font-family: 'Gotham';
src: url('../fonts/gotham/Gotham-Book.eot');
src: url('../fonts/gotham/Gotham-Book.eot?#iefix') format('embedded-opentype'),
url('../fonts/gotham/Gotham-Book.woff2') format('woff2'),
url('../fonts/gotham/Gotham-Book.woff') format('woff'),
url('../fonts/gotham/Gotham-Book.ttf') format('truetype'),
url('../fonts/gotham/Gotham-Book.svg#Gotham-Book') format('svg');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'Gotham';
src: url('../fonts/gotham/Gotham-Medium.eot');
src: url('../fonts/gotham/Gotham-Medium.eot?#iefix') format('embedded-opentype'),
url('../fonts/gotham/Gotham-Medium.woff2') format('woff2'),
url('../fonts/gotham/Gotham-Medium.woff') format('woff'),
url('../fonts/gotham/Gotham-Medium.ttf') format('truetype'),
url('../fonts/gotham/Gotham-Medium.svg#Gotham-Medium') format('svg');
font-weight: 500;
font-style: normal;
}
@font-face {
font-family: 'Gotham';
src: url('../fonts/gotham/Gotham-Bold.eot');
src: url('../fonts/gotham/Gotham-Bold.eot?#iefix') format('embedded-opentype'),
url('../fonts/gotham/Gotham-Bold.woff2') format('woff2'),
url('../fonts/gotham/Gotham-Bold.woff') format('woff'),
url('../fonts/gotham/Gotham-Bold.ttf') format('truetype'),
url('../fonts/gotham/Gotham-Bold.svg#Gotham-Bold') format('svg');
font-weight: bold;
font-style: normal;
font-family: 'Apercu';
src: url('../fonts/apercu/Apercu-BoldItalic.eot');
src: url('../fonts/apercu/Apercu-BoldItalic.eot?#iefix') format('embedded-opentype'),
url('../fonts/apercu/Apercu-BoldItalic.woff2') format('woff2'),
url('../fonts/apercu/Apercu-BoldItalic.woff') format('woff'),
url('../fonts/apercu/Apercu-BoldItalic.ttf') format('truetype'),
url('../fonts/apercu/Apercu-BoldItalic.svg#Apercu-BoldItalic') format('svg');
font-weight: 700;
font-style: italic;
}

View File

@@ -1,91 +1,93 @@
#footer {
background: linear-gradient(45deg, $blue 0%, $purple 100%);
height: 200px;
min-height: 100px;
color: $white;
@include MQ(SM) {
height: 200px;
.footer {
padding: 50px 80px;
display: flex;
justify-content: space-between;
align-items: center;
@include desktop {
padding: 50px;
}
.section-wrapper {
padding: 30px 0px 40px;
@include MQ(S660) {
padding: 30px 0;
}
}
.soc {
@include weird-medium {
display: block;
font-size: 0;
list-style: none;
margin: 0 auto;
padding: 0;
text-align: center;
.soc-item {
display: inline-block;
margin: 1rem 0.5rem;
@include MQ(S400) {
margin: 1rem 0.3rem;
}
@include mobile {
padding: 50px 30px;
}
&__copyright {
font-weight: 700;
width: 200px;
@include weird-medium {
width: auto;
text-align: center;
margin-bottom: 25px;
}
.top, .bottom {
@include weird-medium {
display: inline-block;
}
a {
@include mobile {
display: block;
position: relative;
color: #fff;
width: 2.5rem;
height: 2.5rem;
position: relative;
@include MQ(S) {
width: 2.2rem;
height: 2.2rem;
}
}
.emoji {
width: 20px;
height: 20px;
margin: 0 3px;
vertical-align: text-bottom;
}
}
&__links {
@include weird-medium {
display: flex;
justify-content: center;
}
a {
position: relative;
display: inline-block;
color: $blue !important;
text-transform: uppercase;
font-weight: 700;
margin: 0 15px;
outline: none;
@include desktop {
margin: 0 10px;
}
&:after {
position: absolute;
top: 100%;
left: 0;
width: 100%;
height: 1px;
background: $blue;
content: '';
opacity: 0;
transition: height 0.3s, opacity 0.3s, transform 0.3s;
transform: translateY(-5px);
@include little-desktop {
display: none;
}
&.icon {
color: $white;
fill: $white;
&:hover, &:focus {
color: #fff;
fill: #fff;
transition: all 0.3s ease;
transform: scale(1.1) translateY(-5px);
}
}
&.instagram,
&.github {
width: 2.3rem;
height: 2.3rem;
position: relative;
top: -1px;
@include MQ(S) {
width: 2rem;
height: 2rem;
}
}
em {
font-size: 14px;
line-height: 1.5;
margin-top: -0.75em;
position: absolute;
text-align: center;
top: 50%;
right: 0;
bottom: 0;
left: 0;
}
&:hover:after,
&:focus:after {
height: 2px;
border-radius: 3px;
opacity: 1;
transform: translateY(0px);
}
.text {
font-size: 0.9rem;
display: inline;
letter-spacing: 1px;
@include little-desktop {
display: none;
}
}
}
}
.footer-logo {
width: 30px;
margin: 0 auto;
}
.copyright-wrapper {
margin-top: 25px;
font-size: 13px;
color: $white;
font-weight: 500;
p {
margin: 0;
color: $white;
}
.please {
font-size: 12px;
img {
display: none;
width: 22px;
@include little-desktop {
display: inline-block;
}
}
}
}

View File

@@ -0,0 +1,76 @@
// Colors
$night: #131417;
$black: #36363C;
$dark-grey: #444452;
$grey: #777777;
$blue: #007BFF;
$slate: #afafbf;
$off-white: #e7e7e7;
$white: #fff;
$green: #BADA55;
$purple: #7D0CE8;
$red: #FF0000;
$orange: #E8850C;
$yellow: #FFF10D;
// Fonts
$Apercu: 'Apercu';
$sans-serif-stack: Source Sans Pro, Helvetica, Arial, sans-serif;
// Media queries
$fifteen-inch: 1440px;
$thirteen-inch: 1280px;
$desktop-width: 1024px;
$little-desktop: 850px;
$tablet-width: 768px;
$weird-not-tablet-width: 630px;
$phablet-width: 550px;
$mobile-width: 480px;
$small-mobile-width: 360px;
$tiny-mobile-width: 330px;
@mixin thirteen {
@media screen and (max-width: #{$thirteen-inch}) {
@content;
}
}
@mixin desktop {
@media screen and (max-width: #{$desktop-width}) {
@content;
}
}
@mixin little-desktop {
@media screen and (max-width: #{$little-desktop}) {
@content;
}
}
@mixin tablet {
@media screen and (max-width: #{$tablet-width}) {
@content;
}
}
@mixin weird-medium {
@media screen and (max-width: #{$weird-not-tablet-width}) {
@content;
}
}
@mixin phablet {
@media screen and (max-width: #{$phablet-width}) {
@content;
}
}
@mixin mobile {
@media screen and (max-width: #{$mobile-width}) {
@content;
}
}
@mixin small-mobile {
@media screen and (max-width: #{$small-mobile-width}) {
@content;
}
}
@mixin tiny-mobile {
@media screen and (max-width: #{$tiny-mobile-width}) {
@content;
}
}

View File

@@ -1,172 +1,136 @@
#intro-section {
.intro-wrapper {
// background: linear-gradient(45deg, $blueRGBA , $purpleRGBA );
padding: 0;
padding-bottom: 20px;
.intro-body {
width: 100%;
height: 101vh;
overflow: hidden;
position: relative;
display: flex;
align-items: center;
justify-content: center;
@include reveal(reveal-up, 100%);
@include reveal(reveal-down, -100%);
@keyframes loading-mask {
0%,
100% {
transform: scaleX(0);
.intro {
padding: 120px 100px;
height: 100vh;
display: flex;
flex-direction: column;
justify-content: space-around;
max-width: 1440px;
margin: 0 auto;
@include weird-medium {
padding: 120px 70px;
}
@include phablet {
padding: 120px 50px;
}
@include mobile {
padding: 70px 50px;
}
&__hello, &__tagline {
font-size: 2.5rem;
@include desktop {
font-size: 2.25rem;
}
@include tablet {
font-size: 2rem;
}
@include phablet {
font-size: 1.75rem;
}
@include small-mobile {
font-size: 1.5rem;
}
@include tiny-mobile {
font-size: 1.4rem;
}
.emoji {
width: 40px;
height: 40px;
@include desktop {
width: 35px;
height: 35px;
}
@include tablet {
width: 30px;
height: 30px;
}
@include small-mobile {
width: 25px;
height: 25px;
}
}
}
&__hello {
font-weight: 300;
.wave-hand {
background-image: url('../img/emojis/wave.png');
margin-left: 10px;
cursor: pointer;
&.animated {
animation-duration: 1s;
animation-fill-mode: both;
}
&.wave {
animation-name: wave;
}
@keyframes wave {
from {
transform: none;
}
15% {
transform: translate3d(-20%, 0, 0) rotate3d(0, 0, 1, -10deg);
}
30% {
transform: translate3d(10%, 0, 0) rotate3d(0, 0, 1, 7deg);
}
45% {
transform: translate3d(-15%, 0, 0) rotate3d(0, 0, 1, -10deg);
}
40%,
60% {
transform: scaleX(1);
transform: translate3d(10%, 0, 0) rotate3d(0, 0, 1, 5deg);
}
}
.intro-content {
text-align: center;
padding: 0 5%;
width: 100%;
position: relative;
top: -5%;
.heading,
.heading .name,
.subtext,
.btn {
opacity: 0;
animation-duration: 0.8s;
animation-delay: 0.3s;
animation-fill-mode: forwards;
.no-cssanimations & {
opacity: 1;
}
75% {
transform: translate3d(-5%, 0, 0) rotate3d(0, 0, 1, -2deg);
}
.heading {
font-size: 4.5em;
font-weight: 700;
position: relative;
padding-bottom: 10px;
color: transparent;
overflow: hidden;
opacity: 1;
@include MQ(M) {
.name:before {
top: calc(100% + 18px);
}
}
@include MQ(SM) {
font-size: 4em;
}
&:after {
content: attr(data-content);
position: absolute;
top: 0;
left: 0;
height: 100%;
width: 100%;
color: $white;
animation-name: reveal-up;
animation-fill-mode: backwards;
animation-duration: 0.4s;
animation-delay: 0.7s;
}
.name {
position: relative;
display: inline-block;
opacity: 1;
&:before {
/* this is the line */
content: '';
position: absolute;
top: calc(100% + 8px);
left: -1em;
height: 2px;
width: calc(100% + 2em);
background-color: $white;
animation: loading-mask 1s .3s both;
}
}
}
.action-wrapper {
overflow: hidden;
.subtext {
position: relative;
margin: 0;
padding: 0;
animation-name: reveal-down;
animation-duration: 0.4s;
animation-delay: 0.7s;
.btn {
display: inline-block;
padding: 1.2em 0;
font-size: 1.3rem;
font-weight: 500;
line-height: 1.5;
color: $white;
text-transform: uppercase;
font-family: $Gotham, $sans-serif-stack;
opacity: 1;
margin: 0;
@include MQ(SM) {
font-size: 1.1em;
}
}
}
}
}
.scroll-down-wrapper {
position: absolute;
bottom: 50px;
left: 0;
right: 0;
margin: 0 auto;
text-align: center;
color: $white;
.scroll-down {
display: block;
width: 70px;
margin: 0 auto;
transition: all 0.3s ease;
&:hover, &:focus {
transition: all 0.3s ease;
.logo {
opacity: 0;
}
.scroll-down-text {
opacity: 1;
visibility: visible;
}
}
.logo {
width: 35px;
transition: opacity 0.5s ease, visibility 0.5s;
}
.scroll-down-text {
color: $white;
font-family: $Gotham, $sans-serif-stack;
text-transform: uppercase;
font-size: 12px;
font-weight: 700;
text-align: center;
height: 100%;
opacity: 0;
padding-top: 0.5em;
position: absolute;
top: 0;
left: 0;
right: 0;
transition: opacity 0.5s ease, visibility 0.5s;
visibility: hidden;
width: 100%;
.chevron {
transform: rotate(90deg);
height: 20px;
display: block;
margin: 10px auto;
}
}
to {
transform: none;
}
}
}
}
&__tagline {
font-weight: 300;
max-width: 700px;
.name {
font-weight: 700;
}
.technologist {
background-image: url('../img/emojis/technologist.png');
}
}
&__contact {
font-size: 1.25rem;
font-weight: 400;
@include phablet {
font-size: 1rem;
}
.emoji {
&.pointer {
background-image: url('../img/emojis/pointright.png');
width: 30px;
height: 30px;
margin: 0 5px;
vertical-align: text-bottom;
@include phablet {
width: 25px;
height: 25px;
}
}
}
.highlight-link {
font-weight: 400;
text-decoration: none;
display: inline-block;
padding: 2px 3px;
transition: all .2s ease-in-out;
text-decoration: none;
box-shadow: inset 0 -3px 0 $blue;
&:hover {
box-shadow: inset 0 -33px 0 0 $blue;
color: $white;
}
}
}
}

View File

@@ -1,43 +0,0 @@
// center vertically and/or horizontally an absolute positioned element
@mixin center($xy:xy) {
@if $xy==xy {
left: 50%;
top: 50%;
bottom: auto;
right: auto;
transform: translateX(-50%) translateY(-50%);
}
@else if $xy==x {
left: 50%;
right: auto;
transform: translateX(-50%);
}
@else if $xy==y {
top: 50%;
bottom: auto;
transform: translateY(-50%);
}
}
@mixin box-shadow($top, $left, $blur, $color, $inset: false) {
@if $inset {
box-shadow: inset $top $left $blur $color;
}
@else {
box-shadow: $top $left $blur $color;
}
}
// define different reveal animations
@mixin reveal($animation, $value) {
@include keyframes($animation) {
0% {
opacity: 1;
transform: translateY($value);
}
100% {
opacity: 1;
transform: translateY(0);
}
}
}

View File

@@ -1,186 +0,0 @@
#toggle {
position: fixed;
top: 25px;
right: 25px;
height: $button-height;
width: $button-width;
cursor: pointer;
z-index: 100;
display: none;
transition: opacity 0.25s ease;
@include MQ(M) {
display: block;
}
&:hover, &:focus {
opacity: 0.7;
}
&.active {
.line {
background: $white;
}
.top {
transform: translateY(10px) translateX(0) rotate(45deg);
}
.middle {
opacity: 0;
}
.bottom {
transform: translateY(-10px) translateX(0) rotate(-45deg);
}
}
.line {
background: $white;
border: none;
border-radius: 30px;
cursor: pointer;
width: 100%;
height: 3px;
position: absolute;
top: 0;
left: 0;
transition: all 0.35s ease;
&.middle {
top: 10px;
}
&.bottom {
top: 20px;
}
}
}
.overlay {
position: fixed;
background: rgba(0, 183, 199, 0.95);
top: 0;
left: 0;
width: 100%;
height: 100%;
opacity: 0;
visibility: hidden;
overflow: hidden;
z-index: 10;
transition: all 0.3s ease;
@include MQ(M) {
&.open {
height: 100%;
z-index: 10;
opacity: 1;
visibility: visible;
overflow: hidden;
.menu-item {
animation: fadeInTop 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;
}
&:nth-of-type(7) {
animation-delay: 0.65s;
}
}
}
}
.logo {
color: $white;
font-family: $Chronicle, $serif-stack;
font-size: 30px;
margin: 14px 20px;
@include MQ(S400) {
font-size: 24px;
margin: 17px 20px;
}
.logo-img {
width: 35px;
margin-right: 10px;
position: relative;
top: 5px;
@include MQ(S400) {
width: 30px;
top: 5px;
}
}
}
.overlay-menu {
position: relative;
height: 70%;
transform: translateY(-50%);
top: 45%;
font-size: 1.5em;
font-family: $Gotham, $sans-serif-stack;
font-weight: 700;
text-align: center;
.menu-container {
list-style: none;
padding: 0;
margin: 0 auto;
display: inline-block;
position: relative;
height: 100%;
.menu-item {
display: block;
height: 14.25%;
height: calc(100% / 7);
min-height: 50px;
position: relative;
opacity: 0;
a {
position: relative;
color: $white;
text-decoration: none;
text-transform: uppercase;
overflow: hidden;
&:before,
&:after {
content: '';
position: absolute;
width: 0%;
height: 2px;
top: 50%;
background: $white;
margin-top: -2px;
left: -3px;
}
&:after {
transition: width 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
}
&:hover, &:focus {
&:before,
&:after {
width: 105%;
}
&:before {
transition: width 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}
&:after {
background: transparent;
transition: 0s;
}
}
}
}
}
}
}
@keyframes fadeInTop {
0% {
opacity: 0;
bottom: 20%;
}
100% {
opacity: 1;
bottom: 0;
}
}

View File

@@ -0,0 +1,30 @@
.other-projects {
.project {
max-width: 600px;
margin-bottom: 50px;
&__name {
margin-bottom: 10px;
}
p {
font-size: 0.9rem;
margin-bottom: 20px;
}
&__used {
&__item {
display: inline-block;
margin: 3px 3px 3px 0;
font-family: 'Inconsolata', monospace;
font-size: 0.75rem;
font-weight: 700;
padding: 2px 7px;
border-radius: 3px;
color: $blue;
border: 1px solid $blue;
background: transparent;
&:first-of-type {
margin-left: 0;
}
}
}
}
}

View File

@@ -1,259 +0,0 @@
#portfolio-section {
.section-wrapper {
padding-bottom: 50px;
}
a {
display: inline-block;
}
.portfolio-item-wrapper {
.divider {
&:last-of-type {
display: none;
}
}
}
.portfolio-row {
margin: 0;
padding-top: 50px;
display: block;
.screenshots {
position: relative;
overflow: hidden;
display: block;
width: 95%;
margin-left: 10px;
@include MQ(S660) {
margin-left: 0;
}
&:before,
&:after {
box-sizing: inherit;
padding: 0;
margin: 0;
}
&:after {
display: block;
padding-top: 45.5%;
content: "";
}
&.screentime {
&:after {
display: block;
padding-top: 5.5%;
content: "";
@include MQ(MM) {
padding-top: 7.5%;
}
@include MQ(S660) {
padding-top: 10%;
}
@include MQ(SM) {
padding-top: 15%;
}
}
}
.img-lg,
.img-md,
.img-sm {
border: 0;
position: absolute;
right: 0;
bottom: 0;
border-radius: 2px;
box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.75);
&:after {
content: "";
display: block;
}
}
.img-lg {
width: 70%;
left: 0;
z-index: 1;
&:after {
padding-top: 65%;
}
}
.img-md {
width: 27%;
right: 14%;
z-index: 2;
&:after {
padding-top: 110%;
}
}
.img-sm {
width: 15%;
right: 1rem;
z-index: 3;
box-shadow: 0 5px 5px 0 rgba(0,0,0,.75);
&:after {
padding-top: 145%;
}
}
.img-screentime {
position: relative;
top: 0px;
border: 0;
border-radius: 2px;
box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.75);
width: 26%;
margin-right: -20px;
@include MQ(M) {
width: 27%;
}
@include MQ(SM) {
width: 25%;
margin-right: -10px;
}
&:nth-of-type(2) {
top: 15px;
@include MQ(S600) {
top: 10px;
}
}
&:nth-of-type(3) {
top: 30px;
@include MQ(S600) {
top: 20px;
}
}
&:nth-of-type(4) {
top: 45px;
@include MQ(S600) {
top: 30px;
}
}
&:after {
content: "";
display: block;
}
}
}
.description-title-container {
position: relative;
width: 90%;
margin-top: 30px;
margin-left: 1em;
align-items: baseline;
display: -webkit-flex;
-webkit-flex-wrap: nowrap;
-webkit-flex-direction: row;
-webkit-justify-content: flex-end;
-webkit-align-content: stretch;
display: flex;
flex-wrap: nowrap;
flex-direction: row;
justify-content: flex-end;
align-content: stretch;
@include MQ(M) {
width: 95%;
}
@include MQ(S660) {
width: 100%;
margin-left: 0;
}
@include MQ(S600) {
display: block;
}
.description-title {
flex: 1;
margin-bottom: 20px;
font-family: $Gotham, $sans-serif-stack;
text-transform: uppercase;
}
.description-buttons {
a {
padding: 10px 15px;
background: transparent;
border: 2px solid $blue;
border-radius: 3px;
margin: 0 5px;
color: $blue;
font-family: $Gotham, $sans-serif-stack;
font-weight: 500;
text-transform: uppercase;
transition: all 0.3s ease;
@include MQ(S660) {
font-size: 14px;
padding: 7px 10px;
position: relative;
top: -5px;
}
@include MQ(S600) {
margin: 0 10px 30px 0;
top: 0px;
}
&:hover, &:focus {
background: $blue;
color: $white;
}
}
}
}
.portfolio-description {
display: block;
width: 90%;
margin-top: 15px;
margin-left: 1rem;
margin-bottom: 25px;
font-size: 1.1em;
color: $almostWhite;
@include MQ(S660) {
width: 100%;
margin-left: 0;
margin-top: 10px;
}
@include MQ(SM) {
font-size: 1em;
}
a {
position: relative;
font-weight: 500;
color: $almostWhite;
&:after {
content: '';
width: 100%;
position: absolute;
left: 0;
bottom: 2px;
border-width: 0 0 .5px;
border-style: solid;
border-color: $almostWhite;
}
}
}
.used {
display: block;
width: 90%;
font-family: $Gotham, $sans-serif-stack;
margin-top: 30px;
margin-bottom: 100px;
@include MQ(M) {
margin-bottom: 70px;
}
@include MQ(S400) {
margin-bottom: 50px;
}
.used-items {
margin-left: 1em;
@include MQ(S660) {
margin-left: 0;
}
.used-item {
display: inline-block;
padding: 7px 7px 5px;
margin-right: 5px;
margin-bottom: 10px;
color: $light-grey;
background: #333;
border-radius: 3px;
text-transform: uppercase;
font-size: 10px;
font-weight: 500;
letter-spacing: .5px;
}
}
}
}
}

View File

@@ -1,127 +0,0 @@
#services-section {
a {
display: inline-block;
position: relative;
&:after {
content: '';
width: 100%;
position: absolute;
left: 0;
bottom: 2px;
border-width: 0 0 .5px;
border-style: solid;
border-color: #cbcbcb;
}
}
.services-wrapper {
width: 100%;
margin: 0 auto;
padding: 20px;
@include MQ(ML) {
padding: 0;
}
}
.service-row {
width: 100%;
height: 50%;
@include MQ(S660) {
height: auto;
}
&:nth-of-type(odd) {
border-bottom: 1px solid $whiteRGBA;
@include MQ(S660) {
border: none;
}
}
&:nth-of-type(even) {
.service-column {
padding-top: 40px;
@include MQ(S660) {
padding-top: 20px;
}
}
}
.service-column {
display: inline-block;
vertical-align: top;
width: 49%;
height: 100%;
padding: 20px;
overflow: hidden;
white-space: nowrap;
@include MQ(S660) {
display: block;
width: 100%;
border: none;
}
@include MQ(SM) {
padding: 20px 0;
}
&:nth-of-type(even) {
border-left: 1px solid $whiteRGBA;
@include MQ(S660) {
border: none;
}
}
.service-img {
width: 40px;
margin-right: 15px;
display: inline-block;
vertical-align: middle;
position: relative;
top: -5px;
}
.sprite {
width: 40px;
height: 40px;
margin-right: 15px;
display: inline-block;
vertical-align: middle;
position: relative;
top: -3px;
background-repeat: no-repeat;
background-position: center center;
background-size: 100%;
@include MQ(S400) {
width: 35px;
height: 35px;
}
&.webdev {
background-image: url('../img/icons/html.png');
}
&.ui {
background-image: url('../img/icons/pencil.png');
background-size: 90%;
}
&.xd {
background-image: url('../img/icons/ux-design.png');
}
&.wit {
background-image: url('../img/icons/internet.png');
background-size: 90%;
}
}
.service-heading {
font-family: $Gotham, $sans-serif-stack;
text-transform: uppercase;
margin: 0 0 30px;
font-size: 20px;
display: inline-block;
@include MQ(L) {
font-size: 2vw;
}
@include MQ(S660) {
font-size: 4vw;
}
@include MQ(S440) {
font-size: 16px;
}
}
.service-text {
font-size: 1.1em;
margin-bottom: 20px;
white-space: initial;
}
}
}
}

View File

@@ -1,176 +1,24 @@
#skills-section {
.skills-flex-wrapper,
.flex-item,
.check-wrapper {
.skills {
.skillz {
display: flex;
}
.skills-flex-wrapper {
font: 100 30px 'Whitney';
height: 17em;
flex-flow: column wrap;
@include MQ(M) {
display: block;
height: auto;
justify-content: space-between;
@include weird-medium {
flex-wrap: wrap;
}
.skills-heading {
font-family: $Gotham, $sans-serif-stack;
text-transform: uppercase;
font-weight: 700;
font-size: 1.5vw;
@include MQ(M) {
font-size: 18px;
&__category {
@include weird-medium {
width: 47%;
margin-right: 5px;
margin-bottom: 25px;
}
.sprite {
width: 35px;
height: 35px;
margin-right: 10px;
position: relative;
top: 7px;
display: inline-block;
vertical-align: text-bottom;
background-repeat: no-repeat;
background-position: center center;
background-size: 100%;
&.dev {
background-image: url('../img/icons/settings.png');
}
&.design {
background-image: url('../img/icons/design.png');
background-size: 90%;
}
&.tools {
background-image: url('../img/icons/repair-tools.png');
background-size: 90%;
}
&.knowledge {
background-image: url('../img/icons/light-bulb.png');
}
&__label {
font-weight: 700;
color: $black;
text-transform: uppercase;
}
}
.flex-item {
flex: 0 0 auto;
min-height: 200px;
background: transparent;
padding: 15px;
@include MQ(L) {
padding-right: 0;
}
@include MQ(SM) {
padding: 0;
}
@include MQ(S440) {
display: block;
}
&:nth-child(1) {
width: 40%;
max-width: 400px;
min-height: 450px;
@include MQ(L) {
width: 37%;
}
@include MQ(ML) {
width: 45%;
}
@include MQ(M) {
width: 100%;
min-height: 50px;
}
}
&:nth-child(2) {
width: 60%;
min-height: 151px;
@include MQ(ML) {
width: 55%;
}
@include MQ(M) {
width: 100%;
}
}
&:nth-child(3) {
min-height: 299px;
width: 60%;
@include MQ(ML) {
width: 55%;
}
@include MQ(M) {
width: 100%;
}
}
}
.dev-wrapper {
display: block;
.dev-item {
display: inline-block;
border: 2px solid rgba(57,57,57,.5);
border-radius: 50%;
text-align: center;
margin: 10px 10px 10px 0;
padding: 0px;
width: 100px;
height: 100px;
line-height: 7;
font-size: 14px;
@include MQ(L) {
width: 80px;
height: 80px;
font-size: 14px;
line-height: 5.5;
margin: 5px 5px 5px 0;
}
@include MQ(M) {
width: 100px;
height: 100px;
line-height: 7;
margin: 1%;
}
@include MQ(SM) {
width: 80px;
height: 80px;
line-height: 5.5;
}
}
}
.design-wrapper {
display: block;
.design-item {
display: inline-block;
margin: 10px;
@include MQ(L) {
margin: 10px 5px;
}
.item-img {
height: 40px;
filter: grayscale(100%);
}
}
}
}
.check-wrapper {
.tools-wrapper,
.knowledge-wrapper {
width: 50%;
display: inline-block;
vertical-align: top;
overflow: hidden;
white-space: nowrap;
@include MQ(S440) {
display: block;
width: 100%;
}
.list {
margin-top: 30px;
margin-left: 20px;
.list-item {
margin: 10px 0;
font-size: 16px;
.item-svg {
margin-right: 10px;
width: 12px;
height: 12px;
color: #fff;
fill: #fff;
}
}
&__item {
margin: 3px 0;
font-size: 0.9rem;
}
}
}

View File

@@ -0,0 +1,62 @@
.switch-wrapper {
display: flex;
justify-content: center;
align-items: center;
position: absolute;
top: 20px;
right: 30px;
@include mobile {
top: 10px;
right: 20px;
}
.sun, .moon {
width: 17px;
height: 17px;
}
.sun {
background: url('../img/switch/sun.svg') no-repeat center;
background-size: 100%;
}
.moon {
background: url('../img/switch/moon.svg') no-repeat center;
background-size: 100%;
}
.toggle-wrapper {
margin: 10px;
#switch {
height: 0;
width: 0;
visibility: hidden;
position: absolute;
&:checked + label {
background: $green;
}
&:checked + label:after {
left: calc(100% - 3px);
transform: translateX(-100%);
}
}
label {
cursor: pointer;
text-indent: -9999px;
width: 45px;
height: 25px;
background: grey;
display: block;
border-radius: 100px;
position: relative;
&:after {
content: '';
position: absolute;
top: 3px;
left: 3px;
width: 19px;
height: 19px;
background: #fff;
border-radius: 100%;
transition: 0.25s;
}
}
}
}

View File

@@ -1,68 +0,0 @@
// Colors
$button-height: 27px;
$button-width: 30px;
$black: #070707;
$color255: rgba(255, 255, 255, 0.8);
$darkest-grey: #555;
$dark-grey: #1b1b1b;
$light-grey: #777777;
$grey: #707070;
$white: #f2f2f2;
$almostWhite: #cbcbcb;
$whiteRGBA: rgba(242,242,242,0.3);
$blue: #00b7c7;
$blueRGBA: rgba(0, 183, 199, 0.7);
$purple: #4d0ce8;
$purpleRGBA: rgba(77, 12, 232, 0.7);
$midpointBlue: #2762D8;
$overlayOpacity: 0.61;
// Fonts
$Chronicle: 'Chronicle Display Bold';
$serif-stack: Georgia, serif;
$Gotham: 'Gotham';
$Whitney: 'Whitney';
$sans-serif-stack: Helvetica, Arial, sans-serif;
// Breakpoints
$S: 330px;
$S400: 400px;
$S440: 440px;
$SM: 480px;
$S600: 600px;
$S660: 660px;
$M: 768px;
$MM: 900px;
$ML: 1000px;
$L: 1170px;
// Media queries
@mixin MQ($canvas) {
@if $canvas==S {
@media only screen and (max-width: $S) { @content; }
}
@else if $canvas==S400 {
@media only screen and (max-width: $S400) { @content; }
}
@else if $canvas==S440 {
@media only screen and (max-width: $S440) { @content; }
}
@else if $canvas==SM {
@media only screen and (max-width: $SM) { @content; }
}
@else if $canvas==S600 {
@media only screen and (max-width: $S600) { @content; }
}
@else if $canvas==S660 {
@media only screen and (max-width: $S660) { @content; }
}
@else if $canvas==M {
@media only screen and (max-width: $M) { @content; }
}
@else if $canvas==MM {
@media only screen and (max-width: $MM) { @content; }
}
@else if $canvas==ML {
@media only screen and (max-width: $ML) { @content; }
}
@else if $canvas==L {
@media only screen and (max-width: $L) { @content; }
}
}