mirror of
https://github.com/ytliu74/obsidian-pseudocode.git
synced 2026-07-22 07:40:25 +00:00
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:
parent
882556f4e3
commit
bdec504edc
1 changed files with 17 additions and 7 deletions
12
styles.css
12
styles.css
|
|
@ -1399,7 +1399,7 @@ If your plugin does not need CSS, delete this file.
|
||||||
text-transform: none;
|
text-transform: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.ps-root .ps-comment {
|
.ps-root {
|
||||||
font-family: KaTeX_Main, "Times New Roman", Times, serif;
|
font-family: KaTeX_Main, "Times New Roman", Times, serif;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
font-variant: normal;
|
font-variant: normal;
|
||||||
|
|
@ -1407,6 +1407,16 @@ If your plugin does not need CSS, delete this file.
|
||||||
text-transform: none;
|
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 {
|
.ps-root .ps-linenum {
|
||||||
font-size: 0.8em;
|
font-size: 0.8em;
|
||||||
line-height: 1em;
|
line-height: 1em;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue