mirror of
https://github.com/jaywcjlove/reference.git
synced 2025-06-20 14:07:32 +08:00
doc: Update react.md
cheatsheet.
This commit is contained in:
@ -763,6 +763,19 @@ body:not(.home) .h2wrap > h2 a::after {
|
||||
.token.italic { font-style: italic; }
|
||||
.token.entity { cursor: help; }
|
||||
|
||||
.highlight-line {
|
||||
background-color: var(--color-neutral-muted);
|
||||
display: block;
|
||||
}
|
||||
.code-line.line-number::before {
|
||||
display: inline-block;
|
||||
width: 1rem;
|
||||
text-align: right;
|
||||
margin-right: 16px;
|
||||
margin-left: -8px;
|
||||
color: var(--color-fg-subtle);
|
||||
content: attr(line);
|
||||
}
|
||||
/* 代码高亮 End */
|
||||
|
||||
.footer-wrap {
|
||||
|
Reference in New Issue
Block a user