File tree 2 files changed +33
-1
lines changed
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" "$@"
640
640
641
641
.instructions {
642
642
ol {
643
+ margin-left: 0.5em;
644
+
643
645
&[type="1"],
644
646
&:not([type]) {
645
647
counter-reset: item;
@@ -665,7 +667,7 @@ exec "<path-to-directory>/bin/lua-language-server" "$@"
665
667
}
666
668
667
669
& > li {
668
- margin: 1em auto;
670
+ margin: 0.5em auto;
669
671
}
670
672
}
671
673
}
Original file line number Diff line number Diff line change @@ -61,3 +61,33 @@ const modifiedTime = remarkPluginFrontmatter.lastModified
61
61
</p >
62
62
</div >
63
63
</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