|
|
@ -53,9 +53,12 @@ |
|
|
|
.code-box:target .code-box-title { |
|
|
|
background: #fbfbfb; |
|
|
|
box-shadow: 0 -1.2px 0 #e9e9e9; |
|
|
|
margin-left: -16px; |
|
|
|
padding-left: 16px; |
|
|
|
|
|
|
|
.edit-button { |
|
|
|
display: inline-block; |
|
|
|
margin-right: 8px; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
@ -107,26 +110,13 @@ section.code-box-meta p { |
|
|
|
.code-box-title { |
|
|
|
position: absolute; |
|
|
|
top: -14px; |
|
|
|
padding: 1px 1.1em; |
|
|
|
padding: 1px 4px; |
|
|
|
margin-left: -4px; |
|
|
|
color: #777; |
|
|
|
border-radius: 6px; |
|
|
|
border-top-left-radius: 0; |
|
|
|
background: #fff; |
|
|
|
transition: all 0.4s ease; |
|
|
|
} |
|
|
|
|
|
|
|
.code-box-title:before { |
|
|
|
font-family: anticon; |
|
|
|
content: "\e658"; |
|
|
|
font-size: 16px; |
|
|
|
vertical-align: middle; |
|
|
|
line-height: 22px; |
|
|
|
position: relative; |
|
|
|
margin-right: 8px; |
|
|
|
top: -2px; |
|
|
|
color: #ccc; |
|
|
|
-webkit-transform: rotate(-45deg); |
|
|
|
transform: rotate(-45deg); |
|
|
|
display: inline-block; |
|
|
|
transition: background-color 0.4s ease; |
|
|
|
} |
|
|
|
|
|
|
|
.code-box-meta > p { |
|
|
|