Round top right corner of code block icon

This commit is contained in:
Michael Rose 2018-01-03 10:11:39 -05:00
parent f9f97d72e6
commit 61e2a1aa47

View file

@ -12,15 +12,17 @@ figure.highlight {
border-radius: $border-radius;
background-color: $code-background-color;
/* code block icon */
&:before {
position: absolute;
top: 0;
right: 0;
padding: 0.5em;
background-color: $border-color;
content: "\f121";
font-family: "fontawesome" !important;
line-height: 1;
background-color: $border-color;
border-top-right-radius: $border-radius;
text-transform: none;
speak: none;
}