File tree Expand file tree Collapse file tree 2 files changed +33
-1
lines changed Expand file tree Collapse file tree 2 files changed +33
-1
lines changed Original file line number Diff line number Diff line change @@ -640,6 +640,8 @@ exec "<path-to-directory>/bin/lua-language-server" "$@"
640640
641641 .instructions {
642642 ol {
643+ margin-left: 0.5em;
644+
643645 &[type="1"],
644646 &:not([type]) {
645647 counter-reset: item;
@@ -665,7 +667,7 @@ exec "<path-to-directory>/bin/lua-language-server" "$@"
665667 }
666668
667669 & > li {
668- margin: 1em auto;
670+ margin: 0.5em auto;
669671 }
670672 }
671673 }
Original file line number Diff line number Diff line change @@ -61,3 +61,33 @@ const modifiedTime = remarkPluginFrontmatter.lastModified
6161 </p >
6262 </div >
6363</Layout >
64+
65+ <style lang =" scss" is:global >
66+ article ol {
67+ margin-left: 0.5em;
68+ counter-reset: item;
69+ list-style: none;
70+
71+ &:first-of-type {
72+ padding-left: 0px;
73+ }
74+
75+ & > li {
76+ margin: 0.5em auto;
77+
78+ &::before {
79+ display: inline-block;
80+ content: counter(item);
81+ counter-increment: item;
82+ font-size: 1.25em;
83+ background-color: #ffffff;
84+ color: #000000;
85+ width: fit-content;
86+ min-width: 1.5em;
87+ text-align: center;
88+ border-radius: 1em;
89+ margin-right: 0.5em;
90+ }
91+ }
92+ }
93+ </style >
You can’t perform that action at this time.
0 commit comments