2021-04-18 15:22:42 +00:00
|
|
|
.links-foreground-text a {
|
|
|
|
color: var(--foreground-text);
|
2021-03-07 22:59:37 +00:00
|
|
|
}
|
|
|
|
|
2021-04-18 17:59:21 +00:00
|
|
|
.links-foreground-text a:hover {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
2021-03-07 22:59:37 +00:00
|
|
|
.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
|
|
|
|
|
2021-04-18 15:22:42 +00:00
|
|
|
.shadow-solid-accent { box-shadow: 2px 2px 10px rgba( var(--foreground-text-rgb), 0.2 ); }
|
2021-03-28 16:30:27 +00:00
|
|
|
|
|
|
|
// Width helper
|
|
|
|
|
|
|
|
.w6 {
|
|
|
|
width: 20rem;
|
|
|
|
}
|
|
|
|
|
2021-03-30 02:13:11 +00:00
|
|
|
// Height Helper
|
|
|
|
|
|
|
|
.min-vh-100-header-comp {
|
|
|
|
min-height: calc(100vh - 6rem);
|
|
|
|
}
|
|
|
|
|
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-04-18 15:22:42 +00:00
|
|
|
stroke: var(--foreground-text);
|
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-04-18 15:22:42 +00:00
|
|
|
stroke: var(--foreground-text);
|
|
|
|
fill: var(--background);
|
2021-03-11 03:33:55 +00:00
|
|
|
transition: all 0.15s ease-out;
|
2021-03-28 16:30:27 +00:00
|
|
|
|
|
|
|
&:hover {
|
2021-04-18 15:22:42 +00:00
|
|
|
fill: var(--foreground-text);
|
2021-03-28 16:30:27 +00:00
|
|
|
}
|
2021-03-11 03:33:55 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.text text {
|
|
|
|
cursor: pointer;
|
2021-04-18 15:22:42 +00:00
|
|
|
fill: var(--foreground-text);
|
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-04-18 15:22:42 +00:00
|
|
|
fill: var(--active-note);
|
2021-03-25 02:18:10 +00:00
|
|
|
stroke: transparent;
|
2021-03-11 03:33:55 +00:00
|
|
|
}
|
|
|
|
|
2021-04-19 00:34:38 +00:00
|
|
|
.status {
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
|
|
|
|
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
|
|
|
|
|
2021-04-18 15:22:42 +00:00
|
|
|
.note-meta:before {
|
|
|
|
content: '';
|
|
|
|
width: 20px;
|
|
|
|
height: 20px;
|
|
|
|
border-radius: 100%;
|
|
|
|
background: var(--active-note);
|
|
|
|
}
|
|
|
|
|
2021-03-15 19:49:03 +00:00
|
|
|
.internal-link {
|
2021-04-25 00:47:03 +00:00
|
|
|
padding: 0.2em 0.5em;
|
2021-03-15 19:49:03 +00:00
|
|
|
text-decoration: none;
|
2021-04-18 15:22:42 +00:00
|
|
|
background: rgba(var(--internal-link-rgb), 0.25);
|
2021-04-25 00:47:03 +00:00
|
|
|
border: 1px solid rgba(var(--internal-link-rgb), 0.5);
|
|
|
|
border-radius: 9999px;
|
2021-04-18 15:22:42 +00:00
|
|
|
white-space: nowrap;
|
2021-04-25 00:47:03 +00:00
|
|
|
transition: all 200ms ease-in-out;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
border-color: var(--internal-link-rgb);
|
|
|
|
box-shadow: 2px 2px 10px rgba( var(--foreground-text-rgb), 0.2 );
|
|
|
|
}
|
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;
|
2021-04-18 15:22:42 +00:00
|
|
|
background: rgba(var(--internal-link-rgb), 0.1);
|
|
|
|
border: 1px solid rgba(var(--internal-link-rgb), 0.5);
|
2021-03-25 02:18:10 +00:00
|
|
|
border-radius: 4px;
|
2021-04-18 15:22:42 +00:00
|
|
|
color: var(--internal-link-rgb);
|
2021-03-11 03:33:55 +00:00
|
|
|
}
|
|
|
|
|
2021-03-28 18:36:11 +00:00
|
|
|
.note-contents {
|
|
|
|
blockquote {
|
2021-04-18 15:22:42 +00:00
|
|
|
margin: 0 0 0 0.75em;
|
|
|
|
padding: 0 0.75em;
|
|
|
|
border-left: 2px solid var(--foreground-text);
|
2021-03-28 18:36:11 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
ul, ol {
|
|
|
|
padding-left: 1.75em;
|
|
|
|
}
|
|
|
|
|
2021-03-28 20:31:34 +00:00
|
|
|
img {
|
|
|
|
max-width: 100%;
|
|
|
|
height: auto;
|
|
|
|
display: block;
|
|
|
|
}
|
2021-04-18 19:47:17 +00:00
|
|
|
|
|
|
|
hr {
|
|
|
|
border-width: 0;
|
|
|
|
border-top: 1px solid var(--foreground-text);
|
|
|
|
}
|
|
|
|
|
|
|
|
pre {
|
|
|
|
padding: 1rem;
|
|
|
|
background-color: rgba(var(--internal-link-rgb), 0.2);
|
|
|
|
border-radius: 6px;
|
|
|
|
font-size: .875rem;
|
|
|
|
}
|
2021-04-25 00:47:03 +00:00
|
|
|
|
|
|
|
h2 {
|
|
|
|
margin-bottom: 0.5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
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-30 02:13:11 +00:00
|
|
|
bottom: 0;
|
2021-03-28 16:30:27 +00:00
|
|
|
right: 0;
|
2021-03-11 03:33:55 +00:00
|
|
|
pointer-events: none;
|
2021-03-30 02:13:11 +00:00
|
|
|
background-image: linear-gradient(rgba(#fff, 0), rgba(#fff, 1));
|
|
|
|
width: 100%;
|
|
|
|
height: 2rem;
|
2021-03-07 22:59:37 +00:00
|
|
|
}
|