From 691a57dcd981fbe84dce46feb4ad0a1cbe8fe951 Mon Sep 17 00:00:00 2001 From: jokob-sk Date: Sun, 21 Jun 2026 08:04:05 +1000 Subject: [PATCH] DOCS: hero image fix and reorganising --- docs/stylesheets/custom.css | 24 ++++++++++++++++++++++++ front/plugins/rest_import/README.md | 2 ++ mkdocs.yml | 10 ++++++---- 3 files changed, 32 insertions(+), 4 deletions(-) diff --git a/docs/stylesheets/custom.css b/docs/stylesheets/custom.css index 4407decd..a8585d21 100644 --- a/docs/stylesheets/custom.css +++ b/docs/stylesheets/custom.css @@ -61,6 +61,30 @@ p.hero-description { object-fit: contain; } +/* Mobile */ +@media (max-width: 768px) { + .hero-wrapper { + flex-direction: column-reverse; /* image first, text second */ + align-items: center; + } + + .hero-content { + max-width: 100%; + text-align: center; + } + + .hero-image { + max-width: 100%; + margin-bottom: 1.5rem; + } + + .hero-logo-crisp { + max-width: 600px; + width: 100%; + height: auto; + } +} + /* --- PROMO CARDS --- */ .promo-card-wrapper { display: flex; diff --git a/front/plugins/rest_import/README.md b/front/plugins/rest_import/README.md index 3ce6c4cb..78d1f2ab 100644 --- a/front/plugins/rest_import/README.md +++ b/front/plugins/rest_import/README.md @@ -48,6 +48,8 @@ Enable **Generate Fake MAC** when the API does not expose MAC addresses (e.g. re ### Example: OPNsense Dnsmasq API +See the [OPNsense configuration guide](https://docs.netalertx.com/PLUGINS) for details. + **Response:** ```json { diff --git a/mkdocs.yml b/mkdocs.yml index 63b012e0..ded5100d 100755 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -44,9 +44,6 @@ nav: - Getting started: - Subnets: SUBNETS.md - Enable Plugins: PLUGINS.md - - Pi-hole Guide: PIHOLE_GUIDE.md - - Home Assistant: HOME_ASSISTANT.md - - Emails: SMTP.md - Backups: BACKUPS.md - Security Features: SECURITY_FEATURES.md - Security Considerations: SECURITY.md @@ -60,7 +57,6 @@ nav: - Performance: PERFORMANCE.md - Reverse DNS: REVERSE_DNS.md - Reverse Proxy: REVERSE_PROXY.md - - Webhooks (n8n): WEBHOOK_N8N.md - Workflows: WORKFLOWS.md - Workflow Examples: WORKFLOW_EXAMPLES.md - Docker Swarm: DOCKER_SWARM.md @@ -85,6 +81,12 @@ nav: - Icons and Topology: - Icons: ICONS.md - Network Topology: NETWORK_TREE.md + - Other guides: + - Pi-hole Guide: PIHOLE_GUIDE.md + - Home Assistant: HOME_ASSISTANT.md + - Emails: SMTP.md + - Rest import: REST_IMPORT.md + - Webhooks (n8n): WEBHOOK_N8N.md - Troubleshooting: - General Tips: DEBUG_TIPS.md - Common Issues: COMMON_ISSUES.md