kcl-digital-humanities-garden/_sass/_digital-garden.scss

85 lines
1.4 KiB
SCSS
Raw Normal View History

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-15 18:16:20 +00:00
// Fonts helper
.anthony {
font-family: "Anthony", sans-serif;
}
2021-03-11 03:33:55 +00:00
// Notes Graph
.links line {
stroke: $accent-color;
}
.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;
}
.text text {
cursor: pointer;
fill: $accent-color;
}
.nodes [active],
.text [active] {
cursor: pointer;
fill: $accent-color;
}
2021-03-15 19:49:03 +00:00
// Notes inline styles
.internal-link {
padding: 0 0.1em;
text-decoration: none;
background: rgba($highlight-color, 0.35);
border: 1px solid rgba($highlight-color, 0.45);
border-radius: 3px;
2021-03-11 03:33:55 +00:00
}
2021-03-15 19:49:03 +00:00
.invalid-link {
padding: 0 0.1em;
text-decoration: none;
background: rgba($highlight-color, 0.1);
border: 1px solid rgba($highlight-color, 0.25);
border-radius: 3px;
2021-03-11 03:33:55 +00:00
}
// Link previews
content a.internal-link {
background-color: rgba($accent-color, 0.1);
}
#tooltip-wrapper {
padding: 1em;
overflow: hidden;
position: absolute;
width: 400px;
2021-03-15 19:49:03 +00:00
max-height: 250px;
2021-03-11 03:33:55 +00:00
font-size: 0.8em;
opacity: 0;
transition: opacity 100ms;
}
#tooltip-wrapper:after {
content: "";
position: absolute;
z-index: 1;
bottom: 0;
left: 0;
pointer-events: none;
background-image: linear-gradient(to bottom, rgba(255,255,255, 0), rgba(255,255,255, 1) 90%);
width: 100%;
height: 75px;
2021-03-07 22:59:37 +00:00
}