aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2021-01-03 15:30:38 -0500
committerGitHub <noreply@github.com>2021-01-03 15:30:38 -0500
commit63971776a5db6ad0d3a68361f64a74aa9e78aff5 (patch)
treee4100c1e6e418cf26165708992ef75be62c9628d /test
parentd50d7a4a3a5e307838348726de331cf5eb283bff (diff)
CSS lint (#1201)
* Use single quotes instead of double * Install stylelint * Set up config * Update package/tests * Fix lint issues * Update CSS rules
Diffstat (limited to 'test')
-rw-r--r--test/data/html/test-stylesheet.css8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/data/html/test-stylesheet.css b/test/data/html/test-stylesheet.css
index b4d2e255..0d7a0f2e 100644
--- a/test/data/html/test-stylesheet.css
+++ b/test/data/html/test-stylesheet.css
@@ -1,5 +1,5 @@
body {
- font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
+ font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
font-size: 14px;
max-width: 680px;
padding: 0 1em;
@@ -39,9 +39,9 @@ y-test {
border-radius: 4px;
}
-.test:before,
-y-test:before {
- content: "Test " counter(test-id);
+.test::before,
+y-test::before {
+ content: 'Test ' counter(test-id);
display: block;
counter-increment: test-id;
margin-bottom: 0.5em;