Skip to content

Commit

Permalink
Revise css lint rules
Browse files Browse the repository at this point in the history
  • Loading branch information
Chocobo1 committed Jan 21, 2025
1 parent 258fbde commit 1f45072
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 15 deletions.
10 changes: 5 additions & 5 deletions _site/css/TLbanner.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

#forkongithub a {
background: #235092;
color: #fff;
color: #ffffff;
font-family: arial, sans-serif;
font-size: 1rem;
font-weight: bold;
Expand All @@ -17,13 +17,13 @@
}

#forkongithub a:hover {
background: #c11;
color: #fff;
background: #cc1111;
color: #ffffff;
}

#forkongithub a::before,
#forkongithub a::after {
background: #fff;
background: #ffffff;
content: "";
display: block;
height: 1px;
Expand All @@ -38,7 +38,7 @@
top: auto;
}

@media screen and (width >= 0px) {
@media screen and (width >= 0) {
#forkongithub {
display: block;
height: 200px;
Expand Down
10 changes: 5 additions & 5 deletions src/css/TLbanner.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

#forkongithub a {
background: #235092;
color: #fff;
color: #ffffff;
font-family: arial, sans-serif;
font-size: 1rem;
font-weight: bold;
Expand All @@ -17,13 +17,13 @@
}

#forkongithub a:hover {
background: #c11;
color: #fff;
background: #cc1111;
color: #ffffff;
}

#forkongithub a::before,
#forkongithub a::after {
background: #fff;
background: #ffffff;
content: "";
display: block;
height: 1px;
Expand All @@ -38,7 +38,7 @@
top: auto;
}

@media screen and (width >= 0px) {
@media screen and (width >= 0) {
#forkongithub {
display: block;
height: 200px;
Expand Down
7 changes: 2 additions & 5 deletions stylelint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,12 @@ export default {
"stylelint-order"
],
rules: {
"color-hex-length": null,
"color-hex-length": "long",
"comment-empty-line-before": null,
"comment-whitespace-inside": null,
"function-name-case": null,
"length-zero-no-unit": null,
"no-descending-specificity": null,
"order/properties-alphabetical-order": true,
"selector-class-pattern": null,
"selector-id-pattern": null,
"value-keyword-case": null
"selector-id-pattern": null
}
};

0 comments on commit 1f45072

Please sign in to comment.