feat(code): add support for code block folding (#259)

This commit is contained in:
Dillon
2020-04-26 03:25:10 +08:00
committed by GitHub
parent 41a92c6166
commit bcbc4268ea
32 changed files with 351 additions and 270 deletions

View File

@@ -2,7 +2,6 @@ header {
width: 100%;
z-index: 150;
background-color: $header-background-color;
@include box-shadow(0px 1px 4px rgba(0, 0, 0, .1));
.dark & {
background-color: $header-background-color-dark;
@@ -65,7 +64,7 @@ header {
outline: none;
background-color: $header-background-color;
vertical-align: baseline !important;
@include transition(width 0.3s ease 0s);
@include transition(width 0.3s ease);
.dark & {
background-color: $header-background-color-dark;
@@ -208,7 +207,7 @@ header {
.header-wrapper {
padding: 0 1rem;
font-size: 1.125rem;
@include transition(margin-top 0.3s ease 0s);
@include transition(margin-top 0.3s ease);
.header-title {
font-size: $header-title-font-size;
@@ -218,7 +217,7 @@ header {
.menu-toggle {
line-height: 4rem;
cursor: pointer;
@include transition(width 0.3s ease 0s);
@include transition(width 0.3s ease);
span {
display: block;