style: run Stylelint to fix lint problems

This commit is contained in:
郭桓桓 2023-03-07 22:07:28 +08:00
parent 42967ea775
commit f4d95387c3
Signed by: kuohuanhuan
GPG Key ID: FD846A0A797B0D75
5 changed files with 23 additions and 9 deletions

View File

@ -11,9 +11,9 @@ a {
border-bottom: 1px solid var(--xm-c-regular); border-bottom: 1px solid var(--xm-c-regular);
} }
&:not([href]) { &:not([href]) {
border-bottom: none;
color: inherit; color: inherit;
font-weight: normal; font-weight: normal;
transition: none; transition: none;
border-bottom: none;
} }
} }

View File

@ -1,6 +1,22 @@
img, img {
video { display: block;
width: 100%; max-width: 92%;
margin-top: 2rem; max-height: 600px;
margin-bottom: 2rem; margin: 1rem auto;
border-radius: .2rem;
@media screen and (min-width: 1600px) {
max-width: 800px;
}
}
video {
margin: auto;
}
iframe {
display: flex;
width: 92%;
margin: auto;
border-radius: .2rem;
} }

View File

@ -1,6 +1,6 @@
table { table {
width: 100%;
overflow: auto; overflow: auto;
width: 100%;
border-spacing: 0; border-spacing: 0;
border-collapse: collapse; border-collapse: collapse;
th, th,

View File

@ -4,6 +4,5 @@ $shallow: #777;
$regular: #bbb; $regular: #bbb;
$deep: #ddd; $deep: #ddd;
$deeper: #fff; $deeper: #fff;
$border: hsla(0deg 0 75% / .35); $border: hsla(0deg 0 75% / .35);
$border-rev: hsla(0deg 0 40% / .75); $border-rev: hsla(0deg 0 40% / .75);

View File

@ -4,6 +4,5 @@ $shallow: #bbb;
$regular: #555; $regular: #555;
$deep: #222; $deep: #222;
$deeper: #000; $deeper: #000;
$border: hsla(0deg 0 50% / .35); $border: hsla(0deg 0 50% / .35);
$border-rev: hsla(0deg 0 50% / .5); $border-rev: hsla(0deg 0 50% / .5);