Merge pull request #365 from jorilallo/jori/anchor-style

Anchor style
This commit is contained in:
Jori Lallo
2017-10-24 09:44:45 -07:00
committed by GitHub
3 changed files with 3 additions and 18 deletions

View File

@ -245,22 +245,6 @@ const StyledEditor = styled(Editor)`
h5,
h6 {
font-weight: 500;
.anchor {
visibility: hidden;
color: #dedede;
padding-left: 0.25em;
}
&:hover {
.anchor {
visibility: visible;
&:hover {
color: #cdcdcd;
}
}
}
}
h1:first-of-type {

View File

@ -72,6 +72,7 @@ export const Heading1 = styled(Heading)`
&:hover {
${Anchor} {
visibility: visible;
text-decoration: none;
}
}
`;

View File

@ -101,11 +101,11 @@ samp {
}
code,
samp {
font-size: 87.5%;
font-size: 85%;
padding: 0.125em;
}
pre {
font-size: 87.5%;
font-size: 85%;
overflow: scroll;
}
blockquote {