configure

This commit is contained in:
bchiang7
2016-12-08 22:38:20 -05:00
parent 90d6cec3a4
commit ea789e0928
261 changed files with 19388 additions and 0 deletions

110
_scss/partials/_404.scss Normal file
View File

@@ -0,0 +1,110 @@
.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;
}
}
.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;
}
.js-count-particles {
font-size: 1.1em;
}
#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;
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 {
background: #c74739;
}
}
}
}
}

View File

@@ -0,0 +1,50 @@
#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,54 @@
.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 {
background: $blue;
transition: all 0.3s ease;
.resume-text {
opacity: 0;
visibility: hidden;
transform: translate3D(0, 4em, 0) scale(.25);
}
.resume-img {
opacity: 1;
visibility: visible;
transform: translate3D(0, 0, 0) scale(1);
}
}
.resume-text,
.resume-img {
position: absolute;
top: 0;
left: 0;
right: 0;
text-align: center;
}
.resume-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);
}
.resume-img {
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

@@ -0,0 +1,130 @@
#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.5s 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;
}
&:after {
background-color: #00b7c7;
content: "";
position: absolute;
display: block;
width: 0px;
height: 2px;
bottom: 0;
left: 0;
transition: all 0.5s ease;
}
.input-label {
display: block;
padding-left: 4px;
font-size: 1.15em;
font-weight: 500;
transform: translateY(25px);
color: $white;
transition: all 0.5s ease;
}
.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.5s 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: 14px;
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 {
color: $white;
background: $blue;
}
}
#message-label {
margin-bottom: 10px;
}
}
}

View File

@@ -0,0 +1,55 @@
#dot-nav {
position: fixed;
right: 34px;
@include center(y);
z-index: 1;
display: none;
@include MQ(M) {
display: none;
}
.dot-container {
text-align: right;
}
a {
display: inline-block;
@include clearfix;
backface-visibility: hidden;
span {
float: right;
display: inline-block;
transform: scale(0.6);
}
&:hover span {
transform: scale(0.75);
}
&:hover .dot-label {
opacity: 1;
}
&.is-selected .dot {
background-color: $blue;
}
}
.dot {
position: relative;
top: 7px;
height: 20px;
width: 20px;
border-radius: 50%;
background-color: 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,308 @@
#experience-section {
.experience-description {
padding: 0 100px;
font-size: 1.2em;
@include MQ(L) {
padding: 0;
}
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;
}
}
}
.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 {
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 {
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;
}
}
}

View File

@@ -0,0 +1,89 @@
@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
** - Medium 500
** - Medium Italic 500
** - Bold 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-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-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-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-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-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;
}

View File

@@ -0,0 +1,91 @@
#footer {
background: linear-gradient(45deg, $blue 0%, $purple 100%);
height: 200px;
min-height: 100px;
color: $white;
@include MQ(SM) {
height: 200px;
}
.section-wrapper {
padding: 30px 0px 40px;
@include MQ(S660) {
padding: 30px 0;
}
}
.soc {
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;
}
a {
display: block;
position: relative;
color: #fff;
width: 2.5rem;
height: 2.5rem;
position: relative;
@include MQ(S) {
width: 2.2rem;
height: 2.2rem;
}
&.icon {
color: $white;
fill: $white;
&:hover {
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;
}
}
}
}
.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;
}
}
}

172
_scss/partials/_intro.scss Normal file
View File

@@ -0,0 +1,172 @@
#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);
}
40%,
60% {
transform: scaleX(1);
}
}
.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;
}
}
.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 {
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;
}
}
}
}
}
}
}

View File

@@ -0,0 +1,43 @@
// 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

@@ -0,0 +1,183 @@
#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 {
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: 0.3s;
&.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 {
&: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,251 @@
#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%;
&: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;
}
@include MQ(S600) {
margin: 0 10px 30px 0;
}
&:hover {
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-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

@@ -0,0 +1,127 @@
#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(odd) {
border-right: 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;
}
}
}
}

177
_scss/partials/_skills.scss Normal file
View File

@@ -0,0 +1,177 @@
#skills-section {
.skills-flex-wrapper,
.flex-item,
.check-wrapper {
display: flex;
}
.skills-flex-wrapper {
font: 100 30px 'Whitney';
height: 17em;
flex-flow: column wrap;
@include MQ(M) {
display: block;
height: auto;
}
.skills-heading {
font-family: $Gotham, $sans-serif-stack;
text-transform: uppercase;
font-weight: 700;
font-size: 1.5vw;
@include MQ(M) {
font-size: 18px;
}
.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');
}
}
}
.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;
}
}
}
}
}
}

View File

@@ -0,0 +1,67 @@
// 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);
$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; }
}
}