Fix the code style of SASS

This commit is contained in:
Cotes Chung 2021-12-31 00:29:25 +08:00
parent 37344ef0df
commit ecf31ff308
2 changed files with 13 additions and 9 deletions

View file

@ -212,7 +212,8 @@ img[data-src] {
} }
#panel-wrapper { #panel-wrapper {
.panel-heading { // the headings // the headings
.panel-heading {
@include label(inherit); @include label(inherit);
} }
@ -282,7 +283,7 @@ img[data-src] {
&[scroll-focus=true] > p { &[scroll-focus=true] > p {
background-color: var(--footnote-target-bg); background-color: var(--footnote-target-bg);
width: fit-content; width: fit-content;
-webkit-transition: background-color 1.5s ease-in-out; // Safari prior 6.1 -webkit-transition: background-color 1.5s ease-in-out; /* Safari prior 6.1 */
transition: background-color 1.5s ease-in-out; transition: background-color 1.5s ease-in-out;
} }
} }
@ -294,7 +295,7 @@ img[data-src] {
@include pl-pr(2px); @include pl-pr(2px);
border-bottom-style: none !important; border-bottom-style: none !important;
-webkit-transition: background-color 1.5s ease-in-out; // Safari prior 6.1 -webkit-transition: background-color 1.5s ease-in-out; /* Safari prior 6.1 */
transition: background-color 1.5s ease-in-out; transition: background-color 1.5s ease-in-out;
} }
@ -318,7 +319,8 @@ img[data-src] {
/* --- Begin of Markdown table style --- */ /* --- Begin of Markdown table style --- */
.table-wrapper { // it will be created by Liquid // it will be created by Liquid
.table-wrapper {
overflow-x: auto; overflow-x: auto;
margin-bottom: 1.5rem; margin-bottom: 1.5rem;
@ -368,7 +370,8 @@ img[data-src] {
@extend %no-cursor; @extend %no-cursor;
} }
&.popup { // created by `_includes/img-extra.html` // created by `_includes/img-extra.html`
&.popup {
cursor: zoom-in; cursor: zoom-in;
> img[data-src]:not(.normal):not(.left):not(.right) { > img[data-src]:not(.normal):not(.left):not(.right) {

View file

@ -123,7 +123,7 @@ img.preview-img {
white-space: normal; white-space: normal;
} }
} // .post-navigation } /* .post-navigation */
@keyframes fade-up { @keyframes fade-up {
from { from {
@ -301,13 +301,13 @@ nav[data-toggle=toc] {
} }
} }
} // .share-icons } /* .share-icons */
.fas.fa-link { .fas.fa-link {
@include btn-sharing-color(rgb(171, 171, 171)); @include btn-sharing-color(rgb(171, 171, 171));
} }
} // .share-wrapper } /* .share-wrapper */
.share-label { .share-label {
@include label(inherit, 400, inherit); @include label(inherit, 400, inherit);
@ -331,7 +331,8 @@ nav[data-toggle=toc] {
span:last-child { span:last-child {
font-size: 0.85rem; font-size: 0.85rem;
} }
} // .license-wrapper
} /* .license-wrapper */
@media all and (max-width: 576px) { @media all and (max-width: 576px) {
.preview-img[data-src] { .preview-img[data-src] {