diff options
Diffstat (limited to 'animism-align/frontend/app/views/viewer/sections/footnotes.css')
| -rw-r--r-- | animism-align/frontend/app/views/viewer/sections/footnotes.css | 75 |
1 files changed, 75 insertions, 0 deletions
diff --git a/animism-align/frontend/app/views/viewer/sections/footnotes.css b/animism-align/frontend/app/views/viewer/sections/footnotes.css new file mode 100644 index 0000000..bf7a308 --- /dev/null +++ b/animism-align/frontend/app/views/viewer/sections/footnotes.css @@ -0,0 +1,75 @@ +/* subscription form */ + +.footnotes-element { + position: relative; +} +.nav-footnotes { + position: absolute; + bottom: 0; + right: -1px; + width: 15rem; + max-height: 50vh; + transform: translateY(100vh) translateZ(0); + transition: opacity 0.01s, transform 0.2s; + padding: 0.5rem 0.75rem 0 0.75rem; + background: black; + border-top: 1px solid white; + border-right: 1px solid white; + border-left: 1px solid white; + color: white; +} +.checklist-open .nav-footnotes { + top: 0rem; + z-index: 21; + transform: translateY(-100vh) translateZ(0); + border-top: 0; + border-bottom: 1px solid white; + bottom: auto; +} +.footnotes-open .nav-footnotes { + transform: translateY(0) translateZ(0); + opacity: 1; + z-index: 10; +} +.nav-footnotes-close { + text-align: right; + height: 1rem; + cursor: pointer; +} +.nav-footnotes-scroll { + max-height: calc(50vh - 5rem); + max-width: 100%; + overflow-x: hidden; + overflow-y: scroll; + font-size: 14px; + line-height: 1.3; + font-family: "Freight Text", serif; + padding: 0.25rem 0; +} +.nav-footnotes-gradient { + position: absolute; + bottom: 3rem; + left: 0; + width: 100%; + height: 2rem; + background: linear-gradient(rgba(0,0,0,0.0), rgba(0,0,0,1.0)); +} +.nav-footnotes .note-element { + display: flex; + justify-content: flex-start; + align-items: flex-start; + margin-bottom: 1rem; +} +.nav-footnotes .note-number { + text-align: right; + width: 1.5rem; + padding-right: 0.5rem; +} +.nav-footnotes .note-body { + flex: 1; +} +.nav-footnotes u { + text-decoration: none; + border-bottom: 1px dotted; + cursor: pointer; +}
\ No newline at end of file |
