Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,10 @@ jobs:
run: |
yarn

- name: Check SCSS formatting
run: |
npx prettier src/scss --check

- name: Lint scss
run: |
yarn stylelint '**/*.scss'
3 changes: 0 additions & 3 deletions .stylelintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,10 @@
"extends": ["stylelint-config-standard", "stylelint-config-standard-scss"],
"plugins": ["stylelint-scss"],
"rules": {
"indentation": 2,
"color-hex-length": "long",
"color-named": ["always-where-possible"],
"max-nesting-depth": 6,
"color-no-invalid-hex": true,
"function-parentheses-space-inside": ["never-single-line"],
"declaration-colon-newline-after": null,
"selector-class-pattern": null
}
}
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,9 @@
"markdownlint-cli": "^0.45.0",
"prettier": "^3.6.2",
"remark-kroki": "^0.3.8",
"stylelint": "^14.16.1",
"stylelint-config-standard": "^29.0.0",
"stylelint-config-standard-scss": "^6.0.0",
"stylelint-scss": "^5.3.2"
"stylelint": "^16.25.0",
"stylelint-config-standard": "^39.0.1",
"stylelint-config-standard-scss": "^16.0.0",
"stylelint-scss": "^6.12.1"
}
}
4 changes: 2 additions & 2 deletions src/scss/card.scss
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@
width: 100%;
}

@media (min-width: 768px) {
@media (width >= 768px) {
.col-md {
flex: 1 0 0%;
}
Expand Down Expand Up @@ -387,7 +387,7 @@
display: flex;
flex-direction: column;
min-width: 0;
word-wrap: break-word;
overflow-wrap: break-word;
background: var(--ifm-color-emphasis-800);
border-radius: 10px;
color: var(--ifm-color-emphasis-100);
Expand Down
2 changes: 1 addition & 1 deletion src/scss/community.scss
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
gap: 40px;
max-width: 800px;

@media (max-width: 700px) {
@media (width <= 700px) {
flex-flow: column wrap;
align-items: center;
}
Expand Down
10 changes: 5 additions & 5 deletions src/scss/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ html {
display: flex;
flex-direction: row-reverse;

@media (max-width: 996px) {
@media (width <= 996px) {
position: absolute;
right: 55px;
top: 40px;
Expand Down Expand Up @@ -101,7 +101,7 @@ html {
.navbar__items {
font-size: 18px;

@media (max-width: 996px) {
@media (width <= 996px) {
flex-direction: row-reverse;

.navbar__brand {
Expand Down Expand Up @@ -163,12 +163,12 @@ html {
flex: 0 0 100%;
max-width: 100%;

@media (min-width: 320px) {
@media (width >= 320px) {
flex: 0 0 50%;
max-width: 50%;
}

@media (min-width: 768px) {
@media (width >= 768px) {
flex: 0 0 25%;
max-width: 25%;
}
Expand Down Expand Up @@ -272,7 +272,7 @@ svg {
}
}

@media (max-width: 1400px) {
@media (width <= 1400px) {
.breadcrumbs {
display: none;
}
Expand Down
Loading
Loading