Fix code style of SCSS files

This commit is contained in:
Cotes Chung 2021-09-24 15:32:23 +08:00
parent 30dfc6fb7e
commit 9e9278ce30
4 changed files with 7 additions and 14 deletions

View file

@ -649,9 +649,6 @@ $sidebar-display: "sidebar-display";
#avatar { #avatar {
> a { > a {
&:hover {
border-color: white;
}
display: block; display: block;
width: 6rem; width: 6rem;
height: 6rem; height: 6rem;
@ -662,6 +659,10 @@ $sidebar-display: "sidebar-display";
-webkit-transition: border-color 0.35s ease-in-out; -webkit-transition: border-color 0.35s ease-in-out;
-moz-transition: border-color 0.35s ease-in-out; -moz-transition: border-color 0.35s ease-in-out;
transition: border-color 0.35s ease-in-out; transition: border-color 0.35s ease-in-out;
&:hover {
border-color: white;
}
} }
img { img {
@ -806,11 +807,6 @@ $sidebar-display: "sidebar-display";
vertical-align: middle; vertical-align: middle;
} }
i {
line-height: 1.75rem; // default line-height in body
vertical-align: middle;
}
#mode-toggle-wrapper { #mode-toggle-wrapper {
@extend %icon; @extend %icon;

View file

@ -187,7 +187,7 @@ div {
span { span {
padding-left: 0.6rem; padding-left: 0.6rem;
&:after { &::after {
content: attr(text-data); content: attr(text-data);
margin-left: 0.3rem; margin-left: 0.3rem;
font-size: 0.85rem; font-size: 0.85rem;
@ -202,7 +202,6 @@ div {
} }
// clipboard // clipboard
button { button {
border: 1px solid var(--code-header-bg); border: 1px solid var(--code-header-bg);

View file

@ -100,13 +100,12 @@
nav[data-toggle=toc] .nav-link.active, nav[data-toggle=toc] .nav-link.active,
nav[data-toggle=toc] .nav-link.active:focus, nav[data-toggle=toc] .nav-link.active:focus,
nav[data-toggle=toc] .nav-link.active:hover, nav[data-toggle=toc] .nav-link.active:hover,
nav[data-toggle=toc] .nav>li>a:focus, nav[data-toggle=toc] .nav > li > a:focus,
nav[data-toggle=toc] .nav>li>a:hover { nav[data-toggle=toc] .nav > li > a:hover {
color: var(--toc-highlight) !important; color: var(--toc-highlight) !important;
border-left-color: var(--toc-highlight) !important; border-left-color: var(--toc-highlight) !important;
} }
/* categories */ /* categories */
.categories.card, .categories.card,
.list-group-item { .list-group-item {

View file

@ -158,7 +158,6 @@ nav[data-toggle=toc] {
} }
} }
/* --- Related Posts --- */ /* --- Related Posts --- */
#related-posts { #related-posts {