Skip to content

Commit 073f6eb

Browse files
committed
サイドバーに説明専用バッジを表示
cpprefjp/site#1558
1 parent 1badf86 commit 073f6eb

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

css/kunai/site/sidebar-ext.scss

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,29 @@
140140

141141
> .title > ul.badges {
142142
@include cr-badge-auto(".badge");
143+
144+
> li.badge[data-original-attr="exposition-only"] {
145+
border-color: #666;
146+
color: #666;
147+
font-style: italic;
148+
149+
a {
150+
color: #666;
151+
152+
i {
153+
display: none;
154+
}
155+
156+
&::before {
157+
@include fa-patch;
158+
content: "\f24a"; // fa-sticky-note-o
159+
}
160+
}
161+
}
162+
163+
&.simple > li.badge[data-original-attr="exposition-only"] a::after {
164+
display: block;
165+
}
143166
}
144167
}
145168
}

0 commit comments

Comments
 (0)