design update

This commit is contained in:
Garry Ing
2021-03-24 22:18:10 -04:00
parent 186a1d0164
commit 7dc9269989
8 changed files with 132 additions and 73 deletions

View File

@ -7,6 +7,22 @@
text-decoration: none;
}
// Header
#header {
transition: transform 100ms ease-in-out;
}
.header-inactive {
transform: translateY(-100%);
}
// Sticky helper
.sticky {
position: sticky;
}
// Fonts helper
.anthony {
@ -28,6 +44,17 @@
.links path {
stroke: $accent-color;
fill: transparent;
&.active {
stroke-dasharray: 10;
animation: dash 20s linear;
}
}
@keyframes dash {
to {
stroke-dashoffset: 1000;
}
}
.nodes circle {
@ -45,11 +72,12 @@
.nodes [active],
.text [active] {
cursor: pointer;
fill: $accent-color;
fill: #ff6300;
stroke: transparent;
}
.inactive {
opacity: 0.25;
opacity: 0.45;
transition: opacity 0.15s ease-out;
}
@ -58,9 +86,9 @@
.internal-link {
padding: 0 0.1em;
text-decoration: none;
background: rgba($highlight-color, 0.35);
background: rgba($highlight-color, 0.25);
border: 1px solid rgba($highlight-color, 0.45);
border-radius: 3px;
border-radius: 4px;
}
.invalid-link {
@ -68,7 +96,7 @@
text-decoration: none;
background: rgba($highlight-color, 0.1);
border: 1px solid rgba($highlight-color, 0.25);
border-radius: 3px;
border-radius: 4px;
}
// Link previews