cheatsheets/_sass/2017/markdown/p.scss

50 lines
730 B
SCSS

/*
* Crosslink (eg, phoenix.md)
*/
.MarkdownBody.MarkdownBody p.-crosslink {
& > a {
display: block;
text-decoration: none;
color: $base-a;
border-bottom: 0;
box-shadow: none;
margin: -16px;
padding: 16px;
}
& > a:visited {
color: $base-a;
}
& > a::before {
@include ion-icon('md-arrow-forward');
font-size: 24px;
margin-right: 16px;
width: 32px;
height: 32px;
line-height: 32px;
text-align: center;
border-radius: 50%;
}
& > a,
& > a:visited {
&::before {
background: $base-a;
color: white;
}
}
& > a:hover,
& > a:focus {
& {
color: $base-a7;
}
&::before {
background: $base-a7;
}
}
}