Fix specificity problem for permalinks color

This commit is contained in:
squidfunk 2016-12-17 13:00:15 +01:00
parent 41fb9cd97a
commit bb9a4a752d
2 changed files with 7 additions and 2 deletions

View File

@ -1105,8 +1105,9 @@ hr {
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, -webkit-transform 0.25s 0.25s;
color: rgba(0, 0, 0, 0.26);
opacity: 0; }
html body .md-typeset .headerlink {
color: rgba(0, 0, 0, 0.26); }
.md-typeset [id]:hover .headerlink,
.md-typeset [id]:target .headerlink,

View File

@ -35,9 +35,13 @@
transition: transform 0.25s 0.25s,
color 0.25s,
opacity 0.125s 0.25s;
color: $md-color-black--lighter;
opacity: 0;
// Higher specificity for color due to palettes integration
html body & {
color: $md-color-black--lighter;
}
// Hide for print
@media print {
display: none;