Skip to content

Commit 5afcdec

Browse files
committed
presentation時は無効化
1 parent 8786445 commit 5afcdec

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

js/scrapboxCssScript.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -89,12 +89,12 @@ const indentColorCSS = [
8989
--scrapbox-indent-maker-red: rgba(255,127,255, var(--scrapbox-indent-maker-opacity));
9090
--scrapbox-indent-maker-blue: rgba(79,236,236, var(--scrapbox-indent-maker-opacity));
9191
}`,
92-
`.indent-mark .char-index:nth-child(4n+1) { background-color: var(--scrapbox-indent-maker-yellow) }`,
93-
`.indent-mark .char-index:nth-child(4n+2) { background-color: var(--scrapbox-indent-maker-green) }`,
94-
`.indent-mark .char-index:nth-child(4n+3) { background-color: var(--scrapbox-indent-maker-red) }`,
95-
`.indent-mark .char-index:nth-child(4n) { background-color: var(--scrapbox-indent-maker-blue) }`,
96-
`.indent-mark .char-index:nth-last-child(2) { background-color: transparent !important; }`,
97-
`.indent-mark .char-index:nth-last-child(1) { background-color: transparent !important; }`,
92+
`.app:not(.presentation) .indent-mark .char-index:nth-child(4n+1) { background-color: var(--scrapbox-indent-maker-yellow) }`,
93+
`.app:not(.presentation) .indent-mark .char-index:nth-child(4n+2) { background-color: var(--scrapbox-indent-maker-green) }`,
94+
`.app:not(.presentation) .indent-mark .char-index:nth-child(4n+3) { background-color: var(--scrapbox-indent-maker-red) }`,
95+
`.app:not(.presentation) .indent-mark .char-index:nth-child(4n) { background-color: var(--scrapbox-indent-maker-blue) }`,
96+
`.app:not(.presentation) .indent-mark .char-index:nth-last-child(2) { background-color: transparent !important; }`,
97+
`.app:not(.presentation) .indent-mark .char-index:nth-last-child(1) { background-color: transparent !important; }`,
9898
];
9999

100100
const insertIndentColorCSSRule = () => {

0 commit comments

Comments
 (0)