Skip to content

Commit ffb4482

Browse files
TrialDragonBD103
andauthored
Make HTML formatting consistent (#1026)
Co-authored-by: BD103 <59022059+BD103@users.noreply.github.com>
1 parent c7fdba7 commit ffb4482

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+1946
-1847
lines changed

.djlintrc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"profile": "nunjucks",
3+
"ignore": "H030,H031",
4+
"indent": "2"
5+
}

.editorconfig

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,8 @@ indent_style = space
66
indent_size = 2
77
insert_final_newline = true
88
quote_type = double
9+
10+
[*.html]
11+
indent_style = space
12+
indent_size = 2
13+
insert_final_newline = true

.github/workflows/ci.yml

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -9,19 +9,17 @@ on:
99
- 'trying'
1010

1111
jobs:
12-
super-linter:
12+
mega-linter:
1313
runs-on: ubuntu-latest
1414
steps:
1515
- uses: actions/checkout@v4
1616
with:
17-
# Full git history is needed to get a proper list of changed files within `super-linter`
17+
# Full git history is needed to get a proper list of changed files within `mega-linter`
1818
fetch-depth: 0
19-
- name: Run Super Linter
20-
uses: docker://ghcr.io/github/super-linter:slim-v4
19+
- name: Run Mega Linter
20+
uses: oxsecurity/megalinter@v7
2121
env:
2222
VALIDATE_ALL_CODEBASE: false
23-
VALIDATE_MARKDOWN: true
24-
VALIDATE_EDITORCONFIG: true
2523
DEFAULT_BRANCH: main
2624

2725
test-code-examples:
@@ -83,7 +81,7 @@ jobs:
8381
echo 'You can find the extension here: https://marketplace.visualstudio.com/items?itemName=tekumara.typos-vscode'
8482
8583
generate-assets:
86-
needs: [super-linter, test-code-examples, lint-tools, check-hide-lines]
84+
needs: [mega-linter, test-code-examples, lint-tools, check-hide-lines]
8785
runs-on: ubuntu-latest
8886
steps:
8987
- uses: actions/checkout@v4
@@ -121,7 +119,7 @@ jobs:
121119
retention-days: 1
122120

123121
generate-errors:
124-
needs: [super-linter, test-code-examples, lint-tools, check-hide-lines]
122+
needs: [mega-linter, test-code-examples, lint-tools, check-hide-lines]
125123
runs-on: ubuntu-latest
126124
steps:
127125
- uses: actions/checkout@v4
@@ -148,7 +146,7 @@ jobs:
148146
retention-days: 1
149147

150148
generate-wasm-examples:
151-
needs: [super-linter, test-code-examples, lint-tools, check-hide-lines]
149+
needs: [mega-linter, test-code-examples, lint-tools, check-hide-lines]
152150
runs-on: ubuntu-latest
153151
steps:
154152
- uses: actions/checkout@v4
@@ -175,7 +173,7 @@ jobs:
175173
retention-days: 1
176174

177175
generate-community:
178-
needs: [super-linter, test-code-examples, lint-tools, check-hide-lines]
176+
needs: [mega-linter, test-code-examples, lint-tools, check-hide-lines]
179177
runs-on: ubuntu-latest
180178
steps:
181179
- uses: actions/checkout@v4
@@ -203,7 +201,7 @@ jobs:
203201

204202
build-website:
205203
runs-on: ubuntu-latest
206-
needs: [super-linter, test-code-examples, lint-tools, check-hide-lines, generate-assets, generate-errors, generate-wasm-examples, generate-community]
204+
needs: [mega-linter, test-code-examples, lint-tools, check-hide-lines, generate-assets, generate-errors, generate-wasm-examples, generate-community]
207205

208206
steps:
209207
- uses: actions/checkout@v4

.mega-linter.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
ENABLE_LINTERS:
2+
- HTML_DJLINT
3+
- MARKDOWN_MARKDOWNLINT
4+
- EDITORCONFIG_EDITORCONFIG_CHECKER

sass/components/_button.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828

2929
&__icon {
3030
height: 1.1em;
31+
width: auto;
3132
vertical-align: middle;
3233
margin-left: 0.2em;
3334
font-size: 0.9em;

sass/components/_header.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@
7373

7474
img {
7575
height: 30px;
76+
width: auto;
7677

7778
@media #{$bp-tablet-portrait-up} {
7879
height: 35px;

sass/components/_logo.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
$bp-icon: "(min-width: 440px)";
33

44
height: 28px;
5+
width: auto;
56

67
@media #{$bp-tablet-landscape-up} {
78
height: 40px;

sass/pages/_donate.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
div.donate-sponsor {
2+
position: absolute;
3+
bottom: 0.4rem;
4+
right: 0.8rem;
5+
}

sass/pages/_features.scss

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,17 @@
7878
}
7979
}
8080

81+
.feature-img.svg-ecs {
82+
width: 100%;
83+
max-width: 90%;
84+
max-height: 90%;
85+
}
86+
87+
.feature-img.svg-boat {
88+
max-width: 95%;
89+
max-height: 95%;
90+
}
91+
8192
.feature-sublist {
8293
margin-top: 0.5rem;
8394
margin-bottom: 0.5rem;
@@ -89,6 +100,8 @@
89100
.feature-img {
90101
max-height: 80%;
91102
max-width: 80%;
103+
width: auto;
104+
height: auto;
92105
}
93106

94107
.features-whats-next {
@@ -127,3 +140,15 @@
127140
height: 7.0rem;
128141
margin: 1rem;
129142
}
143+
144+
img.sponsors__logo.sponsors__foresight-spatial-labs {
145+
height: 140px;
146+
}
147+
148+
img.sponsors__logo.sponsors__encultured-ai {
149+
max-height: 60px;
150+
}
151+
152+
img.sponsors__logo.sponsors__roids {
153+
max-height: 130px;
154+
}

sass/pages/_news.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131

3232
.news-social-icon {
3333
height: 1.3rem;
34+
width: auto;
3435
vertical-align: middle;
3536
}
3637

0 commit comments

Comments
 (0)