/** * Created by Stefan Herndler. * User: Stefan * Created-Date: 15.05.14 * Created-Time: 16:21 * Since: 1.0 * Version: 2.1.2 * * Last modified: 2020-11-20T0620+0100 */ /*‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾ MCI Footnotes logo The classes with 'heading' fix display in dashboard class/config.php css/settings.css */ .footnotes_logo, .footnotes_logo:hover, .footnotes_logo_heading { text-decoration: none; font-weight: normal; } .footnotes_logo_part1, .footnotes_logo_part1_heading { color: #2bb975; } .footnotes_logo_part2, .footnotes_logo_part2_heading { color: #545f5a; } /*‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾ Footnote referrers and tooltips templates/public/footnote.html templates/public/footnote-alternative.html .footnote_referrer = enclosing .footnote_plugin_tooltip_text = inner .footnote_tooltip = inner */ .footnote_referrer, .footnote_referrer a, .footnote_referrer:link, .footnote_referrer a:link, .main-content .footnote_referrer, .main-content .footnote_referrer a, .main-content .footnote_referrer:link, .main-content .footnote_referrer a:link, .footnote_plugin_tooltip_text { text-decoration: none !important; border-bottom: none !important; line-height: 0; cursor: pointer; } .footnote_referrer:hover, .footnote_referrer a:hover, .footnote_plugin_tooltip_text:hover { text-decoration: underline; font-weight: inherit; } .footnote_tooltip { display: none; z-index: 999; cursor: auto; text-align: left; padding: 12px; line-height: 1.2em; font-size: inherit; font-weight: normal; font-style: normal; } .footnote_tooltip a { word-wrap: anywhere; } /* alternative tooltip implementation */ .footnote_referrer.relative { position: relative; } .footnote_tooltip.position { display: unset; position: absolute; bottom: 24px; left: -50px; width: 400px; } /* fade-in parameters */ .footnote_tooltip.shown { visibility: visible; opacity: 1; transition-property: visibility opacity; transition-duration: 200ms; transition-timing-function: linear; transition-delay: 0ms; } /* fade-out parameters */ .footnote_tooltip.hidden { visibility: hidden; opacity: 0; transition-property: visibility opacity; transition-duration: 200ms; transition-timing-function: linear; transition-delay: 400ms; } /* Read-on button */ .footnote_tooltip_continue { font-style: italic; color: green; text-decoration: none !important; cursor: pointer; } .footnote_tooltip_continue:hover { color: blue; text-decoration: underline !important; } /*‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾ Footnote references container templates/public/reference-container.html */ /* label */ .footnote_container_prepare { display: block !important; padding-top: 24px !important; } .footnote_container_prepare > p { line-height: 1.3 !important; margin-top: 1em !important; margin-bottom: 0.25em !important; padding: 0 !important; font-weight: normal !important; overflow: hidden !important; border-bottom: 1px solid #aaaaaa !important; display: block !important; -webkit-margin-before: 0.83em !important; -webkit-margin-after: 0.83em !important; -webkit-margin-start: 0px !important; -webkit-margin-end: 0px !important; text-align: left !important; vertical-align: middle; } .footnote_container_prepare > p > span:first-child { text-align: left !important; font-size: 1.5em !important; } /* collapse button fully clickable, not sign only */ .footnote_reference_container_collapse_button { cursor: pointer; padding-left: .5em; font-size: 1.3em !important; vertical-align: 2px; } .footnote_container_prepare > p > span:last-child a { text-decoration: none !important; } /* table */ .footnote-reference-container { width: 100%; border: none; } /* footnotes reference-container-body.html */ .footnote_plugin_index, .footnote_plugin_index_combi, .footnote_plugin_link, .footnote_plugin_text { border:none !important; text-align: left !important; vertical-align: top !important; padding: 5px 6px 10px 0 !important; } .footnote_backlink, .footnote_backlink:link, .footnote_plugin_link, .footnote_plugin_link:link, .main-content .footnote_backlink, .main-content .footnote_backlink:link, .main-content .footnote_plugin_link, .main-content .footnote_plugin_link:link { text-decoration: none !important; border-bottom: none !important; } /* These rules when enabled cause the backlink to take an overline when hovered in some themes, not in others: .footnote_plugin_index:hover, .footnote_plugin_index.pointer:hover, */ .footnote_backlink:hover, .footnote_plugin_link:hover, .footnote_plugin_text a:hover { text-decoration: unset; text-decoration: underline !important; } .footnote_plugin_index { max-width: 140px; width: 2em; /*auto-extending column to fit widest*/ } .footnote_backlink, .footnote_plugin_link { white-space: nowrap; } .footnote_index, .footnote_backlink, .footnote_plugin_index.pointer { cursor: pointer; } .footnote_plugin_text { width: unset; /*unset width of text column to fix site issues*/ } /* Responsive */ @media only screen and (max-width: 768px) { .footnote_plugin_index { max-width: 100px; } } /*‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾ Footnotes printing style rules Printing a table, browsers tend to avoid page breaks, but it takes a wrapper to avoid a page break before the table. UI elements - expand button, arrows - are hidden in print; link styling is reverted so as to not gray out referrers/numbers. */ .footnotes_reference_container { page-break-inside: avoid; } @media print { .footnote_tooltip, .footnote_reference_container_collapse_button, .footnote_index_arrow { display: none; } .footnote_plugin_tooltip_text { color: inherit; } .footnote_plugin_index a { color: inherit; text-decoration: none !important; } div.post-meta-edit-link-wrapper { /*Edit button in WP2020*/ display: none; /*(added as a service)*/ } }