/* * code line numbers * (c) 2020 dragonwocky (https://dragonwocky.me/) * (c) 2020 CloudHill * under the MIT license */ .notion-code-block.line-numbers { position: relative; } .code-numbered { padding-left: 48px !important; } #code-line-numbers { font-size: var(--theme--font_code-size); font-family: var(--theme--font_code); color: var(--theme--text_ui_info); background: var(--theme--code-background); text-align: right; position: absolute; left: 0; right: calc(100% - 48px); padding-right: 18px; overflow: hidden; pointer-events: none; } #code-line-numbers:empty { display: none; }