summaryrefslogtreecommitdiff
path: root/_sass
diff options
context:
space:
mode:
authorjeffreytse <jeffreytse.mail@gmail.com>2021-01-08 11:59:28 +0800
committerjeffreytse <jeffreytse.mail@gmail.com>2021-01-08 12:04:25 +0800
commitc896442fcf46fe12fc1c8b811ddc71f8127e8509 (patch)
treec912e7abd55dc3a23ae2f1f553ddd3e4a5768489 /_sass
parentfcdfc7ea09f0e0d191772650b4f197aa8f56355a (diff)
refactor: migrate code highlight to an extension
Diffstat (limited to '_sass')
-rw-r--r--_sass/yat/_base.scss20
1 files changed, 0 insertions, 20 deletions
diff --git a/_sass/yat/_base.scss b/_sass/yat/_base.scss
index 879442a..224c287 100644
--- a/_sass/yat/_base.scss
+++ b/_sass/yat/_base.scss
@@ -159,26 +159,6 @@ pre {
position: relative;
background-color: #f0f0f0;
- // code language badge
- &::before {
- content: attr(data-lang);
- color: #fff;
- background-color: #ff4e00;
- padding: 0 .5em;
- border-radius: 0 2px;
- text-transform: uppercase;
- text-align: center;
- min-width: 32px;
- display: inline-block;
- position: absolute;
- right: 0;
- }
-
- // fix wrong badge display for firefox browser
- code > table pre::before {
- display: none;
- }
-
> code {
display: inline-block;
padding: 20px!important;