Round top right corner of code block icon
This commit is contained in:
parent
f9f97d72e6
commit
61e2a1aa47
1 changed files with 3 additions and 1 deletions
|
@ -12,15 +12,17 @@ figure.highlight {
|
||||||
border-radius: $border-radius;
|
border-radius: $border-radius;
|
||||||
background-color: $code-background-color;
|
background-color: $code-background-color;
|
||||||
|
|
||||||
|
/* code block icon */
|
||||||
&:before {
|
&:before {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 0;
|
top: 0;
|
||||||
right: 0;
|
right: 0;
|
||||||
padding: 0.5em;
|
padding: 0.5em;
|
||||||
background-color: $border-color;
|
|
||||||
content: "\f121";
|
content: "\f121";
|
||||||
font-family: "fontawesome" !important;
|
font-family: "fontawesome" !important;
|
||||||
line-height: 1;
|
line-height: 1;
|
||||||
|
background-color: $border-color;
|
||||||
|
border-top-right-radius: $border-radius;
|
||||||
text-transform: none;
|
text-transform: none;
|
||||||
speak: none;
|
speak: none;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue