disable permalink icon on all h2 headers except on API page

This commit is contained in:
Vladimir Agafonkin 2013-04-23 12:24:50 +03:00
parent 33b44332fc
commit a2e120285e

View File

@ -80,7 +80,7 @@ h2 {
cursor: pointer; cursor: pointer;
} }
h2[id]:before { .api-page h2[id]:before {
content:'Permalink'; content:'Permalink';
display:inline-block; display:inline-block;
margin:0px 5px 0px -35px; margin:0px 5px 0px -35px;
@ -96,7 +96,7 @@ h2[id]:before {
overflow:hidden; overflow:hidden;
} }
h2[id]:hover:before { opacity:1; } .api-page h2[id]:hover:before { opacity:1; }
.api-page h2 { .api-page h2 {
margin-top: 2.5em; margin-top: 2.5em;