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

@@ -21,8 +21,8 @@
}
}
/* Display a red wavy underline beneath misspelled tags. */
/* https://stackoverflow.com/a/28152272 */
// Display a red wavy underline beneath misspelled tags.
// https://stackoverflow.com/a/28152272
li[data-autocomplete-type="tag-autocorrect"] .autocomplete-antecedent {
position: relative;
display: inline-block;

View File

@@ -39,11 +39,11 @@ a, button, input[type="submit"] {
border: none;
transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms, box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms, border 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
box-shadow: 0px 3px 1px -2px rgba(0,0,0,0.2), 0px 2px 2px 0px rgba(0,0,0,0.14), 0px 1px 5px 0px rgba(0,0,0,0.12);
box-shadow: 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
&:hover:not([disabled]) {
background-color: var(--button-primary-hover-background-color);
box-shadow: 0px 2px 4px -1px rgba(0,0,0,0.2), 0px 4px 5px 0px rgba(0,0,0,0.14), 0px 1px 10px 0px rgba(0,0,0,0.12)
box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.2), 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12);
}
&[disabled] {
@@ -79,7 +79,7 @@ a, button, input[type="submit"] {
/* A medium button. */
&.button-md {
padding: 0.50em 1em;
padding: 0.5em 1em;
}
/* A large button. */

View File

@@ -75,7 +75,7 @@ div.prose {
border-left: 3px solid var(--dtext-blockquote-border-color);
blockquote {
opacity: 1.0;
opacity: 1;
}
}

View File

@@ -43,7 +43,7 @@ $spacer: 0.25rem; /* 4px */
.right-0\.5 { right: 0.5 * $spacer; }
.rounded-sm { border-radius: 0.5 * $spacer; }
.rounded { border-radius: 1.0 * $spacer; }
.rounded { border-radius: 1 * $spacer; }
.m-0 { margin: 0; }
.m-px { margin: 1px; }