Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added assets/.DS_Store
Binary file not shown.
69 changes: 69 additions & 0 deletions assets/css/color.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions assets/css/color.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

47 changes: 47 additions & 0 deletions assets/css/color.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
// _color.scss

$color-attributes: (
('background', 'background-color'),
('border', 'border-color'),
('text', 'color'),
);

$color-animation: 15s linear infinite !default;
$colors: #d65d5b, #ed8745, #7a576d !default;

@each $color-attribute-name, $color-attribute in $color-attributes {
@keyframes color-#{$color-attribute-name} {
@each $color in $colors {
$i: index($colors, $color) - 1;

#{$i / length($colors) * 100%} {
#{$color-attribute}: $color;
}
}

100% {
#{$color-attribute}: nth($colors, 1);
}
}

.color-#{$color-attribute-name} {
animation: color-#{$color-attribute-name} $color-animation;
}
}

.color-overlay
{
position: relative;

&::before
{
content: "";
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
opacity: 0.85;
animation: color-background $color-animation;
}
}
60 changes: 22 additions & 38 deletions assets/css/jquery.sectionmenu.css
Original file line number Diff line number Diff line change
@@ -1,76 +1,60 @@
.section-menu
{
display: table;
position: fixed;
top: 0;
right: 10px;
right: 0;
height: 100%;
display: flex;
flex-direction: column;
justify-content: center;
}

.section-menu ul
{
display: table-cell;
margin: 0;
padding: 0;
padding-right: 25px;
list-style: none;
vertical-align: middle;
}

.section-menu li
{
display: block;
}

.section-menu a
{
display: block;
position: relative;
padding: 5px;
height: 10px;
width: 10px;
height: 25px;
color: white;
line-height: 20px;
text-align: right;
font-size: 12px;
white-space: nowrap;
transition: all 0.5s ease;
transition: all 0.5s
}

.section-menu a:before
.section-menu a::after
{
content: "";
display: block;
position: relative;
border-radius: 10px;
width: 100%;
height: 100%;
background: rgba(255, 255, 255, 0.5);
-webkit-transform: scale(0.4);
-moz-transform: scale(0.4);
-ms-transform: scale(0.4);
transform: scale(0.4);
display: inline-block;
border-radius: 50%;
width: 8px;
height: 8px;
background-color: white;
box-shadow: 0 0 0 4px transparent;
transition: all 0.3s ease;
}

.section-menu a:hover:before
.section-menu a:hover::after
{
background: white;
-webkit-transform: scale(1);
-moz-transform: scale(1);
-ms-transform: scale(1);
transform: scale(1);
background-color: transparent;
box-shadow: 0 0 0 4px white;
}

.section-menu a span
{
position: absolute;
top: 0;
right: 0;
padding-right: 25px;
right: 25px;
text-align: right;
opacity: 0;
transition: all 0.3s ease;
}

.section-menu a:hover span
.section-menu a:hover span,
.section-menu a.active span
{
opacity: 1;
}
10 changes: 6 additions & 4 deletions assets/css/jquery.sectionmenu.dark.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,14 @@
color: black;
}

.section-menu a:before
.section-menu a::after
{
background: rgba(0, 0, 0, 0.5);
background-color: black;
box-shadow: 0 0 0 4px transparent;
}

.section-menu a:hover:before
.section-menu a:hover::after
{
background: black;
background-color: transparent;
box-shadow: 0 0 0 4px black;
}
44 changes: 44 additions & 0 deletions assets/css/kelson.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions assets/css/kelson.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

23 changes: 23 additions & 0 deletions assets/css/kelson.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
// kelson.scss

$kelson-weights: (
('kelson-thin', 100),
('kelson-light', 300),
('kelson', 400),
('kelson-medium', 500),
('kelson-bold', 700),
('kelson-extra-bold', 800)
);

@each $kelson-weight-key, $kelson-weight-value in $kelson-weights {
@font-face {
font-family: 'Kelson';
font-style: normal;
font-weight: $kelson-weight-value;
src: url('../webfonts/#{$kelson-weight-key}.eot');
src: url('../webfonts/#{$kelson-weight-key}.eot?iefix') format('eot'),
url('../webfonts/#{$kelson-weight-key}.ttf') format('truetype'),
url('../webfonts/#{$kelson-weight-key}.woff') format('woff'),
url('../webfonts/#{$kelson-weight-key}.woff2') format('woff2');
}
}
Loading