Helpfeel Fixture
#非公開
? a (:a) | a
? | a
code:style_helpfeel_custom.css
/*
.grid li.page-list-item:has(span.page-link:contains("#非公開")) {
display: none;
}
*/
.grid li.page-list-itemdata-page-links$="非公開" i
{
display: none;
}
code:style.helpfeel.custom.css
.deco-\# {
background-color: yellow;
}
.deco-\> {
background-color: #E6E6FA;
border-radius: 4px;
padding: 4px;
}
/* #非公開ページ */
.line a.page-linkhref$="/非公開" i,
.line a.page-linkhref$="/Private" i {
display: inline-block;
padding-left: 0.5em;
padding-right: 0.5em;
min-width: 5em;
border-radius: 0.3em;
text-align: center;
font: 100%/normal Futura, Arial, sans-serif;
color: #ffffff;
background-color: #ff9900;
}
/* #helpfeelフォーム */
.line a.page-linkhref$="/helpfeelフォーム"
.line a.page-linkhref$="/Foam" i {
display: inline-block;
padding-left: 0.5em;
padding-right: 0.5em;
min-width: 5em;
border-radius: 0.3em;
text-align: center;
font: 100%/normal Futura, Arial, sans-serif;
color: #ffffff;
background-color: #264965;
}
/* PDFページ */
.line a.page-linkhref$="/HelpfeelPDF" i {
display: inline-block;
padding-left: 0.5em;
padding-right: 0.5em;
min-width: 5em;
border-radius: 0.3em;
text-align: center;
font: 100%/normal Futura, Arial, sans-serif;
color: #ffffff;
background-color: #ff0000;
}
/* Merge pagesを警戒できる見た目に変更する */
.merge-pages.alert > .btn.btn-primary {
display: none;
}
.merge-pages.alert {
background-color: #fcf8e3;
border-color: #faebcc;
color: #8a6d3b;
}
.merge-pages.alert::after {
content: "同一タイトルの記事が既に存在します。タイトルを変更してください。";
display: block;
margin-top: 10px;
}
/* Delete this pageに警告を出す */
arole="menuitem"title="Delete":hover {
flex-wrap: wrap;
color: red !important;
}
arole="menuitem"title="Delete":hover::after {
content: "注意この記事を完全に削除します。復元できません。代わりに「#helpfeel非公開」タグを使ってください";
white-space: pre-wrap;
min-width: 130px;
font-size: small;
line-height: 1.6;
}
/* #HelpfeelRedirect(β) */
.line a.page-linkhref$="/HelpfeelRedirect" {
display: inline-block;
padding-left: 0.5em;
padding-right: 0.5em;
min-width: 5em;
border-radius: 0.3em;
text-align: center;
font: 100%/normal Futura, Arial, sans-serif;
color: #ffffff;
background-color: #3362e6;
}
/* 特注記法 */
.deco-\<.deco-\/.deco-\> {
all: unset;
background-color: rgba(0, 0, 0, 0.1);
font-style: normal;
border: 1px solid #000;
border-radius: 2px;
padding: 0px 4px;
}
/* 番号付きリスト */
.line.number-list .indent-mark .dot {
display: none;
}
/* Helpfeel記法で利用する記号を目立たせる */
.helpfeel {
data-char="|",
data-char="(",
data-char=")",
[data-char="",
data-char=""],
data-char="{",
data-char="}",
data-char=":" {
color: #4c1d0c;
font-weight: bold;
}
}
/* Cosense上にuploadしたfileの削除ボタンを非表示にする */
.file-delete-button { display: none; }
/* 情報量が多いページへのリンクを目立たせるスタイルを無効にする */
.line a.big-page-link { font-weight: inherit; }