mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Fix specificity problem for permalinks color
This commit is contained in:
parent
41fb9cd97a
commit
bb9a4a752d
@ -1105,8 +1105,9 @@ hr {
|
|||||||
transition: color 0.25s, opacity 0.125s 0.25s, -webkit-transform 0.25s 0.25s;
|
transition: color 0.25s, opacity 0.125s 0.25s, -webkit-transform 0.25s 0.25s;
|
||||||
transition: transform 0.25s 0.25s, color 0.25s, opacity 0.125s 0.25s;
|
transition: transform 0.25s 0.25s, color 0.25s, opacity 0.125s 0.25s;
|
||||||
transition: transform 0.25s 0.25s, color 0.25s, opacity 0.125s 0.25s, -webkit-transform 0.25s 0.25s;
|
transition: transform 0.25s 0.25s, color 0.25s, opacity 0.125s 0.25s, -webkit-transform 0.25s 0.25s;
|
||||||
color: rgba(0, 0, 0, 0.26);
|
|
||||||
opacity: 0; }
|
opacity: 0; }
|
||||||
|
html body .md-typeset .headerlink {
|
||||||
|
color: rgba(0, 0, 0, 0.26); }
|
||||||
|
|
||||||
.md-typeset [id]:hover .headerlink,
|
.md-typeset [id]:hover .headerlink,
|
||||||
.md-typeset [id]:target .headerlink,
|
.md-typeset [id]:target .headerlink,
|
||||||
|
@ -35,9 +35,13 @@
|
|||||||
transition: transform 0.25s 0.25s,
|
transition: transform 0.25s 0.25s,
|
||||||
color 0.25s,
|
color 0.25s,
|
||||||
opacity 0.125s 0.25s;
|
opacity 0.125s 0.25s;
|
||||||
color: $md-color-black--lighter;
|
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
|
|
||||||
|
// Higher specificity for color due to palettes integration
|
||||||
|
html body & {
|
||||||
|
color: $md-color-black--lighter;
|
||||||
|
}
|
||||||
|
|
||||||
// Hide for print
|
// Hide for print
|
||||||
@media print {
|
@media print {
|
||||||
display: none;
|
display: none;
|
||||||
|
Loading…
Reference in New Issue
Block a user