update transitions

This commit is contained in:
Brittany Chiang
2017-12-25 20:32:17 -05:00
parent cd18f3d7dc
commit 44d2c5a036
7 changed files with 25 additions and 20 deletions

View File

@@ -1,5 +1,6 @@
languages: languages:
- item: JavaScript (ES6) - item: JavaScript (ES6)
- item: TypeScript
- item: HTML - item: HTML
- item: CSS/Sass - item: CSS/Sass
- item: Python - item: Python
@@ -7,7 +8,7 @@ languages:
- item: SQL - item: SQL
frameworks: frameworks:
- item: Ember - item: Ember / Glimmer
- item: Jekyll - item: Jekyll
- item: Backbone - item: Backbone
- item: D3 - item: D3

View File

@@ -1,7 +1,7 @@
<div class="status"> <a class="status" href="{{site.resume}}" target="_blank">
<div class="status__light"> <div class="status__light">
<div class="status__light__ring"></div> <div class="status__light__ring"></div>
<div class="status__light__led"></div> <div class="status__light__led"></div>
</div> </div>
<div class="status__message">Currently seeking full-time opportunities!</div> <div class="status__message">Currently seeking full-time opportunities!</div>
</div> </a>

View File

@@ -19,10 +19,10 @@ html, body {
line-height: 1.5; line-height: 1.5;
a { a {
@include transition;
text-decoration: none; text-decoration: none;
font-weight: 700; font-weight: 700;
color: $black; color: $black;
transition: all 0.25s ease-in-out;
} }
ul { ul {
@@ -141,8 +141,8 @@ html, body {
transition: height 0.3s, opacity 0.3s, transform 0.3s; transition: height 0.3s, opacity 0.3s, transform 0.3s;
transform: translateY(-5px); transform: translateY(-5px);
} }
&:hover:after, &:hover, &:focus {
&:focus:after { &:after {
height: 2px; height: 2px;
border-radius: 3px; border-radius: 3px;
opacity: 1; opacity: 1;
@@ -151,14 +151,16 @@ html, body {
} }
} }
} }
}
.arrow-link { .arrow-link {
@include transition;
font-weight: 700; font-weight: 700;
display: inline-block; display: inline-block;
transition: all 0.15s ease-in-out;
background-color: transparent; background-color: transparent;
white-space: nowrap; white-space: nowrap;
&:after { &:after {
@include transition;
position: relative; position: relative;
bottom: 2px; bottom: 2px;
margin-left: 15px; margin-left: 15px;
@@ -169,7 +171,6 @@ html, body {
height: 15px; height: 15px;
display: inline-block; display: inline-block;
vertical-align: middle; vertical-align: middle;
-webkit-transition: all .15s ease-in-out;
} }
&:hover:after { &:hover:after {
transform: translateX(7px); transform: translateX(7px);
@@ -187,6 +188,7 @@ html, body {
} }
#top-button { #top-button {
@include transition;
background: transparent; background: transparent;
border: none; border: none;
outline: none; outline: none;
@@ -195,7 +197,6 @@ html, body {
bottom: 25px; bottom: 25px;
right: 10px; right: 10px;
cursor: pointer; cursor: pointer;
transition: all 0.25s ease;
display: none; display: none;
@include desktop { @include desktop {
bottom: 20px; bottom: 20px;
@@ -214,7 +215,6 @@ html, body {
width: 100%; width: 100%;
} }
} }
} }

View File

@@ -29,6 +29,10 @@ $mobile-width: 480px;
$small-mobile-width: 360px; $small-mobile-width: 360px;
$tiny-mobile-width: 330px; $tiny-mobile-width: 330px;
@mixin transition {
transition: all 0.2s ease-in-out;
}
@mixin thirteen { @mixin thirteen {
@media screen and (max-width: #{$thirteen-inch}) { @media screen and (max-width: #{$thirteen-inch}) {
@content; @content;

View File

@@ -120,11 +120,11 @@
} }
} }
.highlight-link { .highlight-link {
@include transition;
font-weight: 400; font-weight: 400;
text-decoration: none; text-decoration: none;
display: inline-block; display: inline-block;
padding: 2px 3px; padding: 2px 3px;
transition: all .2s ease-in-out;
text-decoration: none; text-decoration: none;
box-shadow: inset 0 -3px 0 $blue; box-shadow: inset 0 -3px 0 $blue;
&:hover { &:hover {

View File

@@ -47,6 +47,7 @@
border-radius: 100px; border-radius: 100px;
position: relative; position: relative;
&:after { &:after {
@include transition;
content: ''; content: '';
position: absolute; position: absolute;
top: 3px; top: 3px;
@@ -55,7 +56,6 @@
height: 19px; height: 19px;
background: #fff; background: #fff;
border-radius: 100%; border-radius: 100%;
transition: 0.25s;
} }
} }
} }

View File

File diff suppressed because one or more lines are too long