css: fix stylelint complaints.

This commit is contained in:
evazion
2022-01-08 12:27:19 -06:00
parent 3bf65d1378
commit d900e15dcc
13 changed files with 29 additions and 34 deletions

View File

@@ -13,12 +13,12 @@ div[data-tippy-root].tooltip-loading {
/* bordered arrow styling; see https://github.com/atomiks/tippyjs/blob/master/src/scss/themes/light-border.scss */
&[data-placement^=bottom] {
> .tippy-arrow:before {
> .tippy-arrow::before {
border-bottom-color: var(--post-tooltip-background-color);
bottom: 16px;
}
> .tippy-arrow:after {
> .tippy-arrow::after {
border-bottom-color: var(--post-tooltip-border-color);
border-width: 0 7px 7px;
top: -8px;
@@ -27,11 +27,11 @@ div[data-tippy-root].tooltip-loading {
}
&[data-placement^=top] {
> .tippy-arrow:before {
> .tippy-arrow::before {
border-top-color: var(--post-tooltip-background-color);
}
> .tippy-arrow:after {
> .tippy-arrow::after {
border-top-color: var(--post-tooltip-border-color);
border-width: 7px 7px 0;
top: 17px;
@@ -39,7 +39,7 @@ div[data-tippy-root].tooltip-loading {
}
}
> .tippy-arrow:after {
> .tippy-arrow::after {
border-color: transparent;
border-style: solid;
content: "";

View File

@@ -1,14 +1,14 @@
@keyframes heartbeat {
0% {
transform:scale(1);
transform: scale(1);
}
50% {
transform:scale(1.3);
transform: scale(1.3);
}
100% {
transform:scale(1);
transform: scale(1);
}
}

View File

@@ -16,10 +16,9 @@ div.related-tags {
}
li.selected a {
/* https://developer.mozilla.org/en-US/docs/Web/CSS/-webkit-text-stroke */
/* https://caniuse.com/text-stroke */
// https://developer.mozilla.org/en-US/docs/Web/CSS/-webkit-text-stroke
// https://caniuse.com/text-stroke
-webkit-text-stroke: 0.5px;
text-stroke: 0.5px;
}
/* On computers with a mouse, hide the related tag checkbox unless it's checked or hovered. */

View File

@@ -22,7 +22,7 @@
.user-tooltip-badge {
color: var(--inverse-text-color);
font-size: 0.70em;
font-size: 0.7em;
padding: 2px 4px;
margin-right: 0.25em;
border-radius: 3px;
@@ -87,7 +87,7 @@
}
.user-tooltip-stat-name {
font-size: 0.90em;
font-size: 0.9em;
color: var(--muted-text-color);
}
}