This is an automated email from the ASF dual-hosted git repository. urfree pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/pulsar-site.git
The following commit(s) were added to refs/heads/main by this push: new 0f09b080ed0 fix: wrong step number caused by #75 new aeecfd8626d Merge pull request #93 from SignorMercurio/main 0f09b080ed0 is described below commit 0f09b080ed0889ae6a50cf083f5adcafbea849c0 Author: Mercurio <signormercu...@gmail.com> AuthorDate: Tue May 24 08:07:43 2022 +0100 fix: wrong step number caused by #75 --- site2/website-next/src/css/custom.css | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/site2/website-next/src/css/custom.css b/site2/website-next/src/css/custom.css index 86fab070fdc..eec31fe7dda 100644 --- a/site2/website-next/src/css/custom.css +++ b/site2/website-next/src/css/custom.css @@ -996,14 +996,14 @@ footer .row.footer__links { counter-reset: line-number; } -.prism-code .token-line::marker { - color: var(--ifm-color-gray-700); - content: counter(line-number); -} - -.prism-code .token-line { +.prism-code .token-line::before { counter-increment: line-number; - display: list-item; - padding-left: var(--ifm-pre-padding); - margin-left: var(--ifm-global-spacing); + content: counter(line-number); + margin-right: calc(var(--ifm-pre-padding) * 1.5); + text-align: right; + min-width: 1rem; + display: inline-block; + opacity: .3; + position: sticky; + left: var(--ifm-pre-padding); } \ No newline at end of file