Right alignment for the comments

Make the comments look more like in LaTeX package documentation: https://ctan.math.washington.edu/tex-archive/macros/latex/contrib/algpseudocodex/algpseudocodex.pdf
This commit is contained in:
Anton Dergunov 2024-08-31 23:34:49 +01:00 committed by GitHub
parent 882556f4e3
commit bdec504edc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1399,12 +1399,22 @@ If your plugin does not need CSS, delete this file.
text-transform: none;
}
.ps-root .ps-comment {
font-family: KaTeX_Main, "Times New Roman", Times, serif;
font-weight: 400;
font-variant: normal;
font-style: normal;
text-transform: none;
.ps-root {
font-family: KaTeX_Main, "Times New Roman", Times, serif;
font-weight: 400;
font-variant: normal;
font-style: normal;
text-transform: none;
}
.ps-comment {
font-family: KaTeX_Main, "Times New Roman", Times, serif;
font-weight: 400;
font-variant: normal;
font-style: italic;
text-transform: none;
opacity: 70%;
float: right;
}
.ps-root .ps-linenum {