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;
|
||||
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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue