chore: update docs and style (#269)

This commit is contained in:
Dillon
2020-04-28 01:38:22 +08:00
committed by GitHub
parent b46c81053f
commit 6805d695f6
69 changed files with 540 additions and 454 deletions

View File

@@ -0,0 +1,7 @@
@mixin details-transition-open {
@include transition(max-height 0.8s cubic-bezier(0, 1, 0, 1) -0.1s);
}
@mixin details-transition-close {
@include transition(max-height 0.8s cubic-bezier(0.5, 0, 1, 0) 0s);
}

View File

@@ -2,3 +2,4 @@
@import "_link";
@import "_blur";
@import "_summary";
@import "_details";

View File

@@ -2,7 +2,7 @@
a {
color: if($light, $global-link-color, $single-link-color);
.dark & {
[theme=dark] & {
color: if($dark, $global-link-color-dark, $single-link-color-dark);
}
@@ -10,7 +10,7 @@
&:hover {
color: if($light, $global-link-hover-color, $single-link-hover-color);
.dark & {
[theme=dark] & {
color: if($dark, $global-link-hover-color-dark, $single-link-hover-color-dark);
}
}

View File

@@ -5,7 +5,7 @@
color: $global-font-color;
border-bottom: 1px dashed $global-border-color;
.dark & {
[theme=dark] & {
color: $global-font-color-dark;
border-bottom: 1px dashed $global-border-color-dark;
}
@@ -47,7 +47,7 @@
overflow-wrap: break-word;
color: $global-font-secondary-color;
.dark & {
[theme=dark] & {
color: $global-font-secondary-color-dark;
}
@@ -78,7 +78,7 @@
margin-right: .3125rem;
color: $global-link-color;
.dark & {
[theme=dark] & {
color: $global-link-color-dark;
}
}
@@ -95,7 +95,7 @@
@include link(true, true);
b, strong {
.dark & {
[theme=dark] & {
color: $global-font-secondary-color-dark;
}
}