From add55547f5c21db12cac47dd3802e6b432d5758d Mon Sep 17 00:00:00 2001 From: olOwOlo <26087907+olOwOlo@users.noreply.github.com> Date: Sun, 1 Oct 2017 22:31:56 +0800 Subject: refactor: remove useless css code release 2.6.2 --- src/css/_partial/_post/_code.scss | 37 ------------------------------------- 1 file changed, 37 deletions(-) (limited to 'src/css/_partial') diff --git a/src/css/_partial/_post/_code.scss b/src/css/_partial/_post/_code.scss index ff4439f..d998179 100644 --- a/src/css/_partial/_post/_code.scss +++ b/src/css/_partial/_post/_code.scss @@ -39,43 +39,6 @@ code { &.#{$sign} > table::after { content: $text; } - - &.#{$sign} > figcaption > span::after { - content: ' ยท ' + $text; - } - - &.#{$sign} figcaption + table { - &::after { - display: none; - } - } - } - - figcaption { - position: absolute; - top: 0; - width: 100%; - padding: 2px 7px; - font-size: $code-font-size; - font-weight: bold; - color: darken($gray, 10%); - background: darken($code-background, 3%); - z-index: 20; - overflow-x: hidden; - box-sizing: border-box; - - & > a { - position: absolute; - right: 0; - display: inline-box; - margin-right: 7px; - font-weight: 400; - - &:hover { - text-decoration: none; - border: 0; - } - } } .code { -- cgit v1.2.3