Skip to content

Commit eb1e9b9

Browse files
committed
Fixations
1 parent d6e7615 commit eb1e9b9

3 files changed

Lines changed: 56 additions & 19 deletions

File tree

CODE_OF_CONDUCT.md

Lines changed: 28 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,52 @@
11
# Code of Conduct
22

3-
## Our Pledge
3+
## Purpose
44

5-
We are committed to making ASRFacet-Rb a welcoming, respectful, and productive project for everyone. We expect all contributors, maintainers, and users to help create a safe environment for collaboration.
5+
ASRFacet-Rb is maintained as a professional, respectful project for authorized security testing and research. Everyone participating in this repository is expected to contribute in a way that is lawful, constructive, and safe for others.
66

7-
## Standards
7+
## Relationship to License
88

9-
Examples of behavior that supports this project:
9+
This Code of Conduct governs community behavior.
10+
11+
The project `LICENSE` governs usage, redistribution, modification, attribution, and permission boundaries for ASRFacet-Rb.
12+
13+
Nothing in this Code of Conduct grants additional rights beyond the `LICENSE`, and nothing here overrides the `LICENSE`.
14+
15+
## Expected Behavior
16+
17+
Examples of behavior that supports this project include:
1018

1119
- Being respectful and constructive in discussions, reviews, and issue reports
1220
- Focusing feedback on the code, design, and documentation, not the person
1321
- Being patient with questions and learning-focused contributions
1422
- Respecting boundaries around authorized testing and responsible use
23+
- Following maintainer guidance on repository hygiene, scope, and release quality
24+
25+
## Unacceptable Behavior
1526

16-
Examples of behavior that is not acceptable:
27+
Examples of behavior that is not acceptable include:
1728

1829
- Harassment, threats, or demeaning language
1930
- Personal attacks, trolling, or deliberate disruption
2031
- Sharing private information without permission
2132
- Any conduct that makes collaboration unsafe or hostile
33+
- Encouraging or promoting unauthorized testing, abuse, or illegal activity
34+
- Attempting to bypass or misrepresent project licensing, authorship, or attribution
2235

23-
## Reporting
36+
## Scope
37+
38+
This Code of Conduct applies across all project spaces, including:
39+
40+
- Issues, pull requests, reviews, discussions, and documentation
41+
- Security or bug reports submitted through project channels
42+
- Other project-related communication where participants represent ASRFacet-Rb
43+
44+
## Reporting and Contact
2445

2546
If you experience or witness behavior that violates this code of conduct, please report it to the project maintainer through the repository contact channels.
2647

2748
## Enforcement
2849

2950
Project maintainers may take any action they consider appropriate to protect the health of the project, including warnings, temporary restrictions, or permanent removal from project spaces.
3051

31-
## Scope
32-
33-
This code of conduct applies to all project spaces, including code reviews, issues, pull requests, documentation, discussions, and any project-related communication.
52+
Maintainers may also remove content that is abusive, off-topic, unlawful, or incompatible with project safety and license boundaries.

docs/website/app.js

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -745,6 +745,27 @@ const ContactPanel = (() => {
745745
})();
746746

747747
const App = (() => {
748+
function trimEmptyVisualCards() {
749+
const cardSelectors = [
750+
".ov-card",
751+
".install-card",
752+
".cmd-card",
753+
".src-card",
754+
".fmt-card",
755+
".wiz-card",
756+
".stat-item"
757+
];
758+
759+
cardSelectors.forEach((selector) => {
760+
document.querySelectorAll(selector).forEach((card) => {
761+
const text = (card.textContent || "").replace(/\s+/g, " ").trim();
762+
if (!text) {
763+
card.remove();
764+
}
765+
});
766+
});
767+
}
768+
748769
function bindHomeEasterEgg() {
749770
const logo = DocsElements.homeHeroLogo;
750771
if (!logo) {
@@ -898,6 +919,7 @@ const App = (() => {
898919

899920
function init() {
900921
DocsElements.body.classList.add("egg-clean-screen");
922+
trimEmptyVisualCards();
901923
DocsHelpers.syncCurrentSection();
902924
Sidebar.render();
903925
EasterEgg.bind();

docs/website/styles.css

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -766,7 +766,7 @@ code {
766766
/* stat strip */
767767
.stat-strip {
768768
display: grid;
769-
grid-template-columns: repeat(4, 1fr);
769+
grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
770770
gap: 1px;
771771
background: var(--border);
772772
border: 1px solid var(--border);
@@ -798,7 +798,7 @@ code {
798798
/* overview cards */
799799
.overview-grid {
800800
display: grid;
801-
grid-template-columns: repeat(3, 1fr);
801+
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
802802
gap: 14px;
803803
margin-bottom: 52px;
804804
}
@@ -896,7 +896,7 @@ code {
896896
/* INSTALLATION MODULES */
897897
.install-grid {
898898
display: grid;
899-
grid-template-columns: repeat(3, minmax(0, 1fr));
899+
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
900900
gap: 14px;
901901
margin-bottom: 26px;
902902
}
@@ -1212,7 +1212,7 @@ tbody td code { white-space: nowrap; }
12121212
/* SOURCE CARDS */
12131213
.src-grid {
12141214
display: grid;
1215-
grid-template-columns: repeat(4, 1fr);
1215+
grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
12161216
gap: 12px;
12171217
margin-bottom: 28px;
12181218
}
@@ -1338,7 +1338,7 @@ tbody td code { white-space: nowrap; }
13381338
/* OUTPUT FORMAT CARDS */
13391339
.fmt-grid {
13401340
display: grid;
1341-
grid-template-columns: repeat(4, 1fr);
1341+
grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
13421342
gap: 12px;
13431343
margin-bottom: 28px;
13441344
}
@@ -1435,12 +1435,8 @@ tbody td code { white-space: nowrap; }
14351435
.home-hero { grid-template-columns: 1fr; }
14361436
.home-hero-logo { width: 90px; height: 90px; }
14371437
.home-hero-egg { font-size: 0.55rem; }
1438-
.overview-grid { grid-template-columns: 1fr 1fr; }
14391438
.cmd-grid { grid-template-columns: 1fr; }
1440-
.src-grid { grid-template-columns: repeat(2, 1fr); }
14411439
.wizard-grid { grid-template-columns: 1fr; }
1442-
.fmt-grid { grid-template-columns: repeat(2, 1fr); }
1443-
.stat-strip { grid-template-columns: repeat(2, 1fr); }
14441440
.mod-item { grid-template-columns: 1fr; }
14451441
.lab-endpoints { grid-template-columns: 1fr; }
14461442
.topbar-action-menu { display: inline-flex; align-items: center; justify-content: center; }
@@ -1585,7 +1581,7 @@ tbody td code { white-space: nowrap; }
15851581
.overview-grid,
15861582
.src-grid,
15871583
.fmt-grid,
1588-
.stat-strip { grid-template-columns: 1fr; }
1584+
.stat-strip,
15891585
.install-grid { grid-template-columns: 1fr; }
15901586
#site-footer { grid-template-columns: 1fr; }
15911587

0 commit comments

Comments
 (0)