Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix the grid on the homepage of the documentation #7559

Merged
merged 3 commits into from
Jan 17, 2024
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
78 changes: 47 additions & 31 deletions docs/manual/docs/index.fr.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,36 +9,52 @@ Bienvenue à GeoNetwork. Cette documentation est organisée en guides spécifiqu

<div class="grid cards" markdown>

:fontawesome-solid-signs-post: [Vue d'ensemble](overview/index.md)

: Historique de GeoNetwork, communauté, détails de la licence et derniers changements.

:fontawesome-solid-circle-info: [Aide en ligne](help/index.md)

: Aide en ligne pour les visiteurs du catalogue (aucune connexion n'est requise).

:fontawesome-solid-person-circle-question: [Guide de l'utilisateur](user-guide/index.md)

: Guide de l'utilisateur opérationnel décrivant l'édition, la révision et la gestion des enregistrements (nécessite une connexion).

:fontawesome-solid-screwdriver-wrench: [Guide du mainteneur](maintainer-guide/index.md)

: Instructions d'installation, de configuration et de mise à jour

:fontawesome-solid-user-graduate: [Tutoriels](tutorials/index.md)

: Explorer des sujets à l'aide de tutoriels étape par étape

:fontawesome-solid-plug: [Référence API](api/index.md)

: Référence API pour les développeurs accédant aux services du catalogue.

:fontawesome-regular-file-code: [Développement](devel/index.md)

: Informations sur le développement, la personnalisation de GeoNetwork et la participation au projet GeoNetwork.

:fontawesome-regular-bookmark: [Annexes](annexes/index.md)

: Informations de référence
- :fontawesome-solid-signs-post: [Vue d'ensemble](overview/index.md)

---

Historique de GeoNetwork, communauté, détails de la licence et derniers changements.

- :fontawesome-solid-circle-info: [Aide en ligne](help/index.md)

---

Aide en ligne pour les visiteurs du catalogue (aucune connexion n'est requise).

- :fontawesome-solid-person-circle-question: [Guide de l'utilisateur](user-guide/index.md)

---

Guide de l'utilisateur opérationnel décrivant l'édition, la révision et la gestion des enregistrements (nécessite une connexion).

- :fontawesome-solid-screwdriver-wrench: [Guide du mainteneur](maintainer-guide/index.md)

---

Instructions d'installation, de configuration et de mise à jour

- :fontawesome-solid-user-graduate: [Tutoriels](tutorials/index.md)

---

Explorer des sujets à l'aide de tutoriels étape par étape

- :fontawesome-solid-plug: [Référence API](api/index.md)

---

Référence API pour les développeurs accédant aux services du catalogue.

- :fontawesome-regular-file-code: [Développement](devel/index.md)

---

Informations sur le développement, la personnalisation de GeoNetwork et la participation au projet GeoNetwork.

- :fontawesome-regular-bookmark: [Annexes](annexes/index.md)

---

Informations de référence

</div>
78 changes: 47 additions & 31 deletions docs/manual/docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,36 +9,52 @@ Welcome to GeoNetwork. This documentation is organized into specific guides targ

<div class="grid cards" markdown>

:fontawesome-solid-signs-post: [Overview](overview/index.md)

: GeoNetwork background, community, license details, and the latest changes.

:fontawesome-solid-circle-info: [Online Help](help/index.md)

: Online help for visitors to the catalogue (no login required).

:fontawesome-solid-person-circle-question: [User Guide](user-guide/index.md)

: Operational user-guide describing the editing, review and management of records (requires-login).

:fontawesome-solid-screwdriver-wrench: [Maintainer Guide](maintainer-guide/index.md)

: Installation, setup and update instructions

:fontawesome-solid-user-graduate: [Tutorials](tutorials/index.md)

: Explore topics using step-by-step tutorials

:fontawesome-solid-plug: [API Reference](api/index.md)

: API Reference for developers accecssing catalogue services.

:fontawesome-regular-file-code: [Development](devel/index.md)

: Development information on customizing GeoNetwork and taking part in the GeoNetwork project.

:fontawesome-regular-bookmark: [Annexes](annexes/index.md)

: Reference information
- :fontawesome-solid-signs-post: [Overview](overview/index.md)

---

GeoNetwork background, community, license details, and the latest changes.

- :fontawesome-solid-circle-info: [Online Help](help/index.md)

---

Online help for visitors to the catalogue (no login required).

- :fontawesome-solid-person-circle-question: [User Guide](user-guide/index.md)

---

Operational user-guide describing the editing, review and management of records (requires-login).

- :fontawesome-solid-screwdriver-wrench: [Maintainer Guide](maintainer-guide/index.md)

---

Installation, setup and update instructions

- :fontawesome-solid-user-graduate: [Tutorials](tutorials/index.md)

---

Explore topics using step-by-step tutorials

- :fontawesome-solid-plug: [API Reference](api/index.md)

---

API Reference for developers accecssing catalogue services.

- :fontawesome-regular-file-code: [Development](devel/index.md)

---

Development information on customizing GeoNetwork and taking part in the GeoNetwork project.

- :fontawesome-regular-bookmark: [Annexes](annexes/index.md)

---

Reference information

</div>
42 changes: 0 additions & 42 deletions docs/manual/overrides/assets/stylesheets/extra.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,48 +9,6 @@ img + em, .browser-border + em, .browser-mockup + em {
font-size: 0.75rem;
}

/* grid */
.md-typeset .grid {
column-count: 2;
column-gap: 2em;
margin-bottom: 20px;
}
.md-typeset .grid dl {
display: grid;
grid-template-columns: repeat(auto-fit,minmax(16rem,1fr));
margin: 0;
}
.md-typeset .grid.cards dt, .md-typeset .grid.cards dd {
border: 0.05rem solid var(--md-default-fg-color--lightest);
border-radius: 0.1rem;
display: block;
margin: 0;
padding: 0.8rem;
transition: border .25s,box-shadow .25s;
}
.md-typeset .grid.cards dt {
font-weight: bold;
}
.md-typeset .grid.cards dt .twemoji {
margin-right: 5px;
}
.md-typeset .grid.cards dd {
margin-bottom: 0.8rem;
margin-top: -1px;
}
.md-typeset .grid.cards dd p {
margin: 0;
}
@media (max-width: 768px) {
.md-typeset .grid dl {
display: inline-block;
margin-bottom: 20px;
}
.md-typeset .grid.cards dt, .md-typeset .grid.cards dd {
width: calc(100vw - 1.2rem - 1.2rem);
}
}

/* definition list used to display general inputs */
.md-typeset dl dd {
margin: 10px 0;
Expand Down
2 changes: 1 addition & 1 deletion docs/manual/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
mkdocs-material
mkdocs-material>=9.5.3
mkdocs-static-i18n>=1.0.5
mkdocs-include-markdown-plugin
mkdocs-exclude
Expand Down
Loading