mirror of
https://github.com/danbee/danbarber.me.hugo.git
synced 2025-03-04 08:59:18 +00:00
Compare commits
No commits in common. "3c387ef9cf5d22f94175fead263d2861e2371557" and "ed71caed26b011e55a77894d9c8d4966887544ec" have entirely different histories.
3c387ef9cf
...
ed71caed26
@ -26,54 +26,55 @@ $_color_4_dark: desaturate($_color_4, $_desaturate_amount);
|
|||||||
.logo__color {
|
.logo__color {
|
||||||
animation-duration: 0.6s;
|
animation-duration: 0.6s;
|
||||||
animation-iteration-count: infinite;
|
animation-iteration-count: infinite;
|
||||||
animation-timing-function: linear;
|
|
||||||
}
|
}
|
||||||
.logo__color_1 {
|
.logo__color_1 {
|
||||||
animation-name: cycle_color_1;
|
animation-name: cycle_color_1;
|
||||||
|
fill: $_color_3;
|
||||||
}
|
}
|
||||||
.logo__color_2 {
|
.logo__color_2 {
|
||||||
animation-name: cycle_color_2;
|
animation-name: cycle_color_2;
|
||||||
|
fill: $_color_4;
|
||||||
}
|
}
|
||||||
.logo__color_3 {
|
.logo__color_3 {
|
||||||
animation-name: cycle_color_3;
|
animation-name: cycle_color_3;
|
||||||
|
fill: $_color_1;
|
||||||
}
|
}
|
||||||
.logo__color_4 {
|
.logo__color_4 {
|
||||||
animation-name: cycle_color_4;
|
animation-name: cycle_color_4;
|
||||||
|
fill: $_color_2;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (prefers-color-scheme: light) {
|
|
||||||
@keyframes cycle_color_1 {
|
@keyframes cycle_color_1 {
|
||||||
0%,
|
from { fill: $_color_1; }
|
||||||
100% { fill: $_color_1; }
|
|
||||||
25% { fill: $_color_2; }
|
25% { fill: $_color_2; }
|
||||||
50% { fill: $_color_3; }
|
50% { fill: $_color_3; }
|
||||||
75% { fill: $_color_4; }
|
75% { fill: $_color_4; }
|
||||||
|
to { fill: $_color_1; }
|
||||||
}
|
}
|
||||||
|
|
||||||
@keyframes cycle_color_2 {
|
@keyframes cycle_color_2 {
|
||||||
0%,
|
from { fill: $_color_2; }
|
||||||
100% { fill: $_color_2; }
|
|
||||||
25% { fill: $_color_3; }
|
25% { fill: $_color_3; }
|
||||||
50% { fill: $_color_4; }
|
50% { fill: $_color_4; }
|
||||||
75% { fill: $_color_1; }
|
75% { fill: $_color_1; }
|
||||||
|
to { fill: $_color_2; }
|
||||||
}
|
}
|
||||||
|
|
||||||
@keyframes cycle_color_3 {
|
@keyframes cycle_color_3 {
|
||||||
0,
|
from { fill: $_color_3; }
|
||||||
100% { fill: $_color_3; }
|
|
||||||
25% { fill: $_color_4; }
|
25% { fill: $_color_4; }
|
||||||
50% { fill: $_color_1; }
|
50% { fill: $_color_1; }
|
||||||
75% { fill: $_color_2; }
|
75% { fill: $_color_2; }
|
||||||
|
to { fill: $_color_3; }
|
||||||
}
|
}
|
||||||
|
|
||||||
@keyframes cycle_color_4 {
|
@keyframes cycle_color_4 {
|
||||||
0%,
|
from { fill: $_color_4; }
|
||||||
100% { fill: $_color_4; }
|
|
||||||
25% { fill: $_color_1; }
|
25% { fill: $_color_1; }
|
||||||
50% { fill: $_color_2; }
|
50% { fill: $_color_2; }
|
||||||
75% { fill: $_color_3; }
|
75% { fill: $_color_3; }
|
||||||
}
|
to { fill: $_color_4; }
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (prefers-color-scheme: dark) {
|
@media (prefers-color-scheme: dark) {
|
||||||
@ -83,34 +84,34 @@ $_color_4_dark: desaturate($_color_4, $_desaturate_amount);
|
|||||||
.logo__color_4 { fill: $_color_4_dark; }
|
.logo__color_4 { fill: $_color_4_dark; }
|
||||||
|
|
||||||
@keyframes cycle_color_1 {
|
@keyframes cycle_color_1 {
|
||||||
0%,
|
from { fill: $_color_1_dark; }
|
||||||
100% { fill: $_color_1_dark; }
|
|
||||||
25% { fill: $_color_2_dark; }
|
25% { fill: $_color_2_dark; }
|
||||||
50% { fill: $_color_3_dark; }
|
50% { fill: $_color_3_dark; }
|
||||||
75% { fill: $_color_4_dark; }
|
75% { fill: $_color_4_dark; }
|
||||||
|
to { fill: $_color_1_dark; }
|
||||||
}
|
}
|
||||||
|
|
||||||
@keyframes cycle_color_2 {
|
@keyframes cycle_color_2 {
|
||||||
0%,
|
from { fill: $_color_2_dark; }
|
||||||
100% { fill: $_color_2_dark; }
|
|
||||||
25% { fill: $_color_3_dark; }
|
25% { fill: $_color_3_dark; }
|
||||||
50% { fill: $_color_4_dark; }
|
50% { fill: $_color_4_dark; }
|
||||||
75% { fill: $_color_1_dark; }
|
75% { fill: $_color_1_dark; }
|
||||||
|
to { fill: $_color_2_dark; }
|
||||||
}
|
}
|
||||||
|
|
||||||
@keyframes cycle_color_3 {
|
@keyframes cycle_color_3 {
|
||||||
0%,
|
from { fill: $_color_3_dark; }
|
||||||
100% { fill: $_color_3_dark; }
|
|
||||||
25% { fill: $_color_4_dark; }
|
25% { fill: $_color_4_dark; }
|
||||||
50% { fill: $_color_1_dark; }
|
50% { fill: $_color_1_dark; }
|
||||||
75% { fill: $_color_2_dark; }
|
75% { fill: $_color_2_dark; }
|
||||||
|
to { fill: $_color_3_dark; }
|
||||||
}
|
}
|
||||||
|
|
||||||
@keyframes cycle_color_4 {
|
@keyframes cycle_color_4 {
|
||||||
0%,
|
from { fill: $_color_4_dark; }
|
||||||
100% { fill: $_color_4_dark; }
|
|
||||||
25% { fill: $_color_1_dark; }
|
25% { fill: $_color_1_dark; }
|
||||||
50% { fill: $_color_2_dark; }
|
50% { fill: $_color_2_dark; }
|
||||||
75% { fill: $_color_3_dark; }
|
75% { fill: $_color_3_dark; }
|
||||||
|
to { fill: $_color_4_dark; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -2,7 +2,7 @@ html {
|
|||||||
background-color: $background-color;
|
background-color: $background-color;
|
||||||
color: $text-color;
|
color: $text-color;
|
||||||
font-family: $body-font-family;
|
font-family: $body-font-family;
|
||||||
font-size: calc(1vmin + 13px);
|
font-size: calc(0.85vmin + 13px);
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
font-weight: 300;
|
font-weight: 300;
|
||||||
line-height: 1.4;
|
line-height: 1.4;
|
||||||
@ -12,13 +12,3 @@ html {
|
|||||||
color: $text-color-dark;
|
color: $text-color-dark;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
_:default:not(:root:root),
|
|
||||||
html {
|
|
||||||
animation: webkitfix 1s forwards infinite;
|
|
||||||
}
|
|
||||||
@-webkit-keyframes webkitfix {
|
|
||||||
100% {
|
|
||||||
z-index: auto;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|||||||
@ -349,7 +349,7 @@ html {
|
|||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
color: #333;
|
color: #333;
|
||||||
font-family: "Mercury SSm A", "Mercury SSm B", serif;
|
font-family: "Mercury SSm A", "Mercury SSm B", serif;
|
||||||
font-size: calc(1vmin + 13px);
|
font-size: calc(0.85vmin + 13px);
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
font-weight: 300;
|
font-weight: 300;
|
||||||
line-height: 1.4; }
|
line-height: 1.4; }
|
||||||
@ -358,14 +358,6 @@ html {
|
|||||||
background-color: #282828;
|
background-color: #282828;
|
||||||
color: #ddd; } }
|
color: #ddd; } }
|
||||||
|
|
||||||
_:default:not(:root:root),
|
|
||||||
html {
|
|
||||||
animation: webkitfix 1s forwards infinite; }
|
|
||||||
|
|
||||||
@-webkit-keyframes webkitfix {
|
|
||||||
100% {
|
|
||||||
z-index: auto; } }
|
|
||||||
|
|
||||||
pre {
|
pre {
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
background: black;
|
background: black;
|
||||||
@ -480,66 +472,75 @@ main {
|
|||||||
.logo__link:hover .logo__color,
|
.logo__link:hover .logo__color,
|
||||||
.logo__link:focus .logo__color {
|
.logo__link:focus .logo__color {
|
||||||
animation-duration: 0.6s;
|
animation-duration: 0.6s;
|
||||||
animation-iteration-count: infinite;
|
animation-iteration-count: infinite; }
|
||||||
animation-timing-function: linear; }
|
|
||||||
|
|
||||||
.logo__link:hover .logo__color_1,
|
.logo__link:hover .logo__color_1,
|
||||||
.logo__link:focus .logo__color_1 {
|
.logo__link:focus .logo__color_1 {
|
||||||
animation-name: cycle_color_1; }
|
animation-name: cycle_color_1;
|
||||||
|
fill: #00a9ff; }
|
||||||
|
|
||||||
.logo__link:hover .logo__color_2,
|
.logo__link:hover .logo__color_2,
|
||||||
.logo__link:focus .logo__color_2 {
|
.logo__link:focus .logo__color_2 {
|
||||||
animation-name: cycle_color_2; }
|
animation-name: cycle_color_2;
|
||||||
|
fill: #b346e2; }
|
||||||
|
|
||||||
.logo__link:hover .logo__color_3,
|
.logo__link:hover .logo__color_3,
|
||||||
.logo__link:focus .logo__color_3 {
|
.logo__link:focus .logo__color_3 {
|
||||||
animation-name: cycle_color_3; }
|
animation-name: cycle_color_3;
|
||||||
|
fill: #ff6800; }
|
||||||
|
|
||||||
.logo__link:hover .logo__color_4,
|
.logo__link:hover .logo__color_4,
|
||||||
.logo__link:focus .logo__color_4 {
|
.logo__link:focus .logo__color_4 {
|
||||||
animation-name: cycle_color_4; }
|
animation-name: cycle_color_4;
|
||||||
|
fill: #e8ff00; }
|
||||||
|
|
||||||
@media (prefers-color-scheme: light) {
|
|
||||||
@keyframes cycle_color_1 {
|
@keyframes cycle_color_1 {
|
||||||
0%,
|
from {
|
||||||
100% {
|
|
||||||
fill: #ff6800; }
|
fill: #ff6800; }
|
||||||
25% {
|
25% {
|
||||||
fill: #e8ff00; }
|
fill: #e8ff00; }
|
||||||
50% {
|
50% {
|
||||||
fill: #00a9ff; }
|
fill: #00a9ff; }
|
||||||
75% {
|
75% {
|
||||||
fill: #b346e2; } }
|
|
||||||
@keyframes cycle_color_2 {
|
|
||||||
0%,
|
|
||||||
100% {
|
|
||||||
fill: #e8ff00; }
|
|
||||||
25% {
|
|
||||||
fill: #00a9ff; }
|
|
||||||
50% {
|
|
||||||
fill: #b346e2; }
|
fill: #b346e2; }
|
||||||
75% {
|
to {
|
||||||
fill: #ff6800; } }
|
fill: #ff6800; } }
|
||||||
|
|
||||||
|
@keyframes cycle_color_2 {
|
||||||
|
from {
|
||||||
|
fill: #e8ff00; }
|
||||||
|
25% {
|
||||||
|
fill: #00a9ff; }
|
||||||
|
50% {
|
||||||
|
fill: #b346e2; }
|
||||||
|
75% {
|
||||||
|
fill: #ff6800; }
|
||||||
|
to {
|
||||||
|
fill: #e8ff00; } }
|
||||||
|
|
||||||
@keyframes cycle_color_3 {
|
@keyframes cycle_color_3 {
|
||||||
0,
|
from {
|
||||||
100% {
|
|
||||||
fill: #00a9ff; }
|
fill: #00a9ff; }
|
||||||
25% {
|
25% {
|
||||||
fill: #b346e2; }
|
fill: #b346e2; }
|
||||||
50% {
|
50% {
|
||||||
fill: #ff6800; }
|
fill: #ff6800; }
|
||||||
75% {
|
75% {
|
||||||
fill: #e8ff00; } }
|
fill: #e8ff00; }
|
||||||
|
to {
|
||||||
|
fill: #00a9ff; } }
|
||||||
|
|
||||||
@keyframes cycle_color_4 {
|
@keyframes cycle_color_4 {
|
||||||
0%,
|
from {
|
||||||
100% {
|
|
||||||
fill: #b346e2; }
|
fill: #b346e2; }
|
||||||
25% {
|
25% {
|
||||||
fill: #ff6800; }
|
fill: #ff6800; }
|
||||||
50% {
|
50% {
|
||||||
fill: #e8ff00; }
|
fill: #e8ff00; }
|
||||||
75% {
|
75% {
|
||||||
fill: #00a9ff; } } }
|
fill: #00a9ff; }
|
||||||
|
to {
|
||||||
|
fill: #b346e2; } }
|
||||||
|
|
||||||
@media (prefers-color-scheme: dark) {
|
@media (prefers-color-scheme: dark) {
|
||||||
.logo__color_1 {
|
.logo__color_1 {
|
||||||
@ -551,42 +552,46 @@ main {
|
|||||||
.logo__color_4 {
|
.logo__color_4 {
|
||||||
fill: #a861c7; }
|
fill: #a861c7; }
|
||||||
@keyframes cycle_color_1 {
|
@keyframes cycle_color_1 {
|
||||||
0%,
|
from {
|
||||||
100% {
|
|
||||||
fill: #df6e20; }
|
fill: #df6e20; }
|
||||||
25% {
|
25% {
|
||||||
fill: #cedf20; }
|
fill: #cedf20; }
|
||||||
50% {
|
50% {
|
||||||
fill: #209fdf; }
|
fill: #209fdf; }
|
||||||
75% {
|
75% {
|
||||||
fill: #a861c7; } }
|
|
||||||
@keyframes cycle_color_2 {
|
|
||||||
0%,
|
|
||||||
100% {
|
|
||||||
fill: #cedf20; }
|
|
||||||
25% {
|
|
||||||
fill: #209fdf; }
|
|
||||||
50% {
|
|
||||||
fill: #a861c7; }
|
fill: #a861c7; }
|
||||||
75% {
|
to {
|
||||||
fill: #df6e20; } }
|
fill: #df6e20; } }
|
||||||
|
@keyframes cycle_color_2 {
|
||||||
|
from {
|
||||||
|
fill: #cedf20; }
|
||||||
|
25% {
|
||||||
|
fill: #209fdf; }
|
||||||
|
50% {
|
||||||
|
fill: #a861c7; }
|
||||||
|
75% {
|
||||||
|
fill: #df6e20; }
|
||||||
|
to {
|
||||||
|
fill: #cedf20; } }
|
||||||
@keyframes cycle_color_3 {
|
@keyframes cycle_color_3 {
|
||||||
0%,
|
from {
|
||||||
100% {
|
|
||||||
fill: #209fdf; }
|
fill: #209fdf; }
|
||||||
25% {
|
25% {
|
||||||
fill: #a861c7; }
|
fill: #a861c7; }
|
||||||
50% {
|
50% {
|
||||||
fill: #df6e20; }
|
fill: #df6e20; }
|
||||||
75% {
|
75% {
|
||||||
fill: #cedf20; } }
|
fill: #cedf20; }
|
||||||
|
to {
|
||||||
|
fill: #209fdf; } }
|
||||||
@keyframes cycle_color_4 {
|
@keyframes cycle_color_4 {
|
||||||
0%,
|
from {
|
||||||
100% {
|
|
||||||
fill: #a861c7; }
|
fill: #a861c7; }
|
||||||
25% {
|
25% {
|
||||||
fill: #df6e20; }
|
fill: #df6e20; }
|
||||||
50% {
|
50% {
|
||||||
fill: #cedf20; }
|
fill: #cedf20; }
|
||||||
75% {
|
75% {
|
||||||
fill: #209fdf; } } }
|
fill: #209fdf; }
|
||||||
|
to {
|
||||||
|
fill: #a861c7; } } }
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user