Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitd8c54a2

Browse files
thiagosolciaThiago Solcia
and
Thiago Solcia
authored
Fix ordered list counter (#158)
* Style revamp* Fixed link background, updated npm dependencies* Chagend sidebars order* Fixed ordered list counterCo-authored-by: Thiago Solcia <thiagosolcia@Thiagos-iMac.local>
1 parent5a6a818 commitd8c54a2

File tree

3 files changed

+2
-42
lines changed

3 files changed

+2
-42
lines changed

‎assets/css/docs.min.css‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.

‎assets/css/docs.min.css.map‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.

‎assets/scss/_content.scss‎

Lines changed: 0 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -210,46 +210,6 @@
210210
// List number styling
211211
>ol {
212212
padding-left:1.3rem;
213-
list-style:none;
214-
counter-reset: item;
215-
216-
li {
217-
position:relative;
218-
counter-increment: item;
219-
220-
&::before {
221-
position:absolute;
222-
left:-1.3rem;
223-
font-weight:700;
224-
content:counter(item)".";
225-
}
226-
227-
>ol {
228-
counter-reset: item-nested-1;
229-
230-
li {
231-
list-style:none;
232-
counter-increment: item-nested-1;
233-
234-
&::before {
235-
content:counter(item-nested-1)".";
236-
}
237-
238-
>ol {
239-
list-style:none;
240-
counter-reset: item-nested-2;
241-
242-
li {
243-
counter-increment: item-nested-2;
244-
245-
&::before {
246-
content:counter(item-nested-2)".";
247-
}
248-
}
249-
}
250-
}
251-
}
252-
}
253213
}
254214

255215
.bd-content-top-controls {

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp