2021-03-07 22:59:37 +00:00
|
|
|
.links-dark-green a {
|
|
|
|
color: $accent-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
.no-underline-hover:hover,
|
|
|
|
.no-underline-hover:focus {
|
|
|
|
text-decoration: none;
|
2021-03-11 03:33:55 +00:00
|
|
|
}
|
|
|
|
|
2021-03-25 02:18:10 +00:00
|
|
|
// Header
|
|
|
|
|
|
|
|
#header {
|
|
|
|
transition: transform 100ms ease-in-out;
|
|
|
|
}
|
|
|
|
|
|
|
|
.header-inactive {
|
|
|
|
transform: translateY(-100%);
|
|
|
|
}
|
|
|
|
|
|
|
|
// Sticky helper
|
|
|
|
|
|
|
|
.sticky {
|
|
|
|
position: sticky;
|
|
|
|
}
|
|
|
|
|
2021-03-15 18:16:20 +00:00
|
|
|
// Fonts helper
|
|
|
|
|
|
|
|
.anthony {
|
|
|
|
font-family: "Anthony", sans-serif;
|
|
|
|
}
|
|
|
|
|
2021-03-28 16:30:27 +00:00
|
|
|
.violet-sans {
|
|
|
|
font-family: "Violet Sans", sans-serif;
|
|
|
|
}
|
|
|
|
|
|
|
|
.work-sans-light {
|
|
|
|
font-family: "Work Sans Light", sans-serif;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Shadow helper
|
|
|
|
|
|
|
|
.shadow-solid-accent { box-shadow: 2px 2px 10px rgba( #137752, 0.2 ); }
|
|
|
|
|
|
|
|
// Width helper
|
|
|
|
|
|
|
|
.w6 {
|
|
|
|
width: 20rem;
|
|
|
|
}
|
|
|
|
|
2021-03-16 01:18:42 +00:00
|
|
|
// Extended cursors
|
|
|
|
|
|
|
|
.grab:hover {
|
|
|
|
cursor: grab;
|
|
|
|
}
|
|
|
|
|
|
|
|
.grabbing:active {
|
|
|
|
cursor: grabbing;
|
|
|
|
}
|
|
|
|
|
2021-03-11 03:33:55 +00:00
|
|
|
// Notes Graph
|
|
|
|
|
2021-03-15 22:22:28 +00:00
|
|
|
.links path {
|
2021-03-11 03:33:55 +00:00
|
|
|
stroke: $accent-color;
|
2021-03-15 22:22:28 +00:00
|
|
|
fill: transparent;
|
2021-03-25 02:18:10 +00:00
|
|
|
|
|
|
|
&.active {
|
2021-03-28 16:30:27 +00:00
|
|
|
stroke-dasharray: 5;
|
|
|
|
animation: dash 40s linear;
|
2021-03-25 02:18:10 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes dash {
|
|
|
|
to {
|
|
|
|
stroke-dashoffset: 1000;
|
|
|
|
}
|
2021-03-11 03:33:55 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.nodes circle {
|
|
|
|
cursor: pointer;
|
2021-03-12 03:07:34 +00:00
|
|
|
stroke: $accent-color;
|
2021-03-15 19:49:03 +00:00
|
|
|
fill: #e8fdf5;
|
2021-03-11 03:33:55 +00:00
|
|
|
transition: all 0.15s ease-out;
|
2021-03-28 16:30:27 +00:00
|
|
|
|
|
|
|
&:hover {
|
|
|
|
fill: $accent-color;
|
|
|
|
}
|
2021-03-11 03:33:55 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.text text {
|
|
|
|
cursor: pointer;
|
|
|
|
fill: $accent-color;
|
2021-03-28 16:30:27 +00:00
|
|
|
|
|
|
|
&:hover {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
2021-03-11 03:33:55 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.nodes [active],
|
|
|
|
.text [active] {
|
|
|
|
cursor: pointer;
|
2021-03-25 02:18:10 +00:00
|
|
|
fill: #ff6300;
|
|
|
|
stroke: transparent;
|
2021-03-11 03:33:55 +00:00
|
|
|
}
|
|
|
|
|
2021-03-15 22:22:28 +00:00
|
|
|
.inactive {
|
2021-03-25 02:18:10 +00:00
|
|
|
opacity: 0.45;
|
2021-03-15 22:22:28 +00:00
|
|
|
transition: opacity 0.15s ease-out;
|
|
|
|
}
|
|
|
|
|
2021-03-15 19:49:03 +00:00
|
|
|
// Notes inline styles
|
|
|
|
|
|
|
|
.internal-link {
|
|
|
|
padding: 0 0.1em;
|
|
|
|
text-decoration: none;
|
2021-03-25 02:18:10 +00:00
|
|
|
background: rgba($highlight-color, 0.25);
|
2021-03-15 19:49:03 +00:00
|
|
|
border: 1px solid rgba($highlight-color, 0.45);
|
2021-03-25 02:18:10 +00:00
|
|
|
border-radius: 4px;
|
2021-03-11 03:33:55 +00:00
|
|
|
}
|
|
|
|
|
2021-03-15 19:49:03 +00:00
|
|
|
.invalid-link {
|
2021-03-28 20:31:34 +00:00
|
|
|
padding: 0 0.1em 0.2em 0.1em;
|
2021-03-15 19:49:03 +00:00
|
|
|
text-decoration: none;
|
|
|
|
background: rgba($highlight-color, 0.1);
|
2021-03-28 20:31:34 +00:00
|
|
|
border: 1px solid rgba($highlight-color, 0.5);
|
2021-03-25 02:18:10 +00:00
|
|
|
border-radius: 4px;
|
2021-03-28 20:31:34 +00:00
|
|
|
color: $highlight-color;
|
2021-03-11 03:33:55 +00:00
|
|
|
}
|
|
|
|
|
2021-03-28 18:36:11 +00:00
|
|
|
.note-contents {
|
|
|
|
blockquote {
|
|
|
|
margin: 0 0 0 0.5em;
|
|
|
|
padding: 0.05em 0.5em;
|
|
|
|
border-left: 2px solid rgba($accent-color, 0.5);
|
|
|
|
}
|
|
|
|
|
|
|
|
ul, ol {
|
|
|
|
padding-left: 1.75em;
|
|
|
|
}
|
|
|
|
|
|
|
|
ul {
|
|
|
|
list-style: circle;
|
|
|
|
}
|
2021-03-28 20:31:34 +00:00
|
|
|
|
|
|
|
img {
|
|
|
|
max-width: 100%;
|
|
|
|
height: auto;
|
|
|
|
display: block;
|
|
|
|
}
|
2021-03-28 18:36:11 +00:00
|
|
|
}
|
|
|
|
|
2021-03-11 03:33:55 +00:00
|
|
|
// Link previews
|
|
|
|
|
2021-03-28 16:30:27 +00:00
|
|
|
#tooltip-content {
|
2021-03-15 19:49:03 +00:00
|
|
|
max-height: 250px;
|
2021-03-11 03:33:55 +00:00
|
|
|
}
|
|
|
|
|
2021-03-28 16:30:27 +00:00
|
|
|
#tooltip-content:after {
|
2021-03-11 03:33:55 +00:00
|
|
|
content: "";
|
2021-03-28 16:30:27 +00:00
|
|
|
display: block;
|
2021-03-11 03:33:55 +00:00
|
|
|
position: absolute;
|
|
|
|
z-index: 1;
|
2021-03-28 16:30:27 +00:00
|
|
|
bottom: .5rem;
|
|
|
|
right: 0;
|
2021-03-11 03:33:55 +00:00
|
|
|
pointer-events: none;
|
2021-03-28 16:30:27 +00:00
|
|
|
background-image: linear-gradient(to right, rgba(#fff, 0), rgba(#fff, 1) 50%);
|
|
|
|
width: 150px;
|
|
|
|
height: 1rem;
|
2021-03-07 22:59:37 +00:00
|
|
|
}
|