From ca361c494e07602840da6721ed09746d4fecacbf Mon Sep 17 00:00:00 2001 From: Jasmeen Kaur Date: Wed, 12 Jul 2023 13:46:51 +1000 Subject: [PATCH] :lipstick: (#416): Added the home page squared card imgs --- docs/css/access-nri.css | 30 ++++++++++++++++++++++++++---- docs/index.md | 10 +++++----- 2 files changed, 31 insertions(+), 9 deletions(-) diff --git a/docs/css/access-nri.css b/docs/css/access-nri.css index 5f60f9b56..a126cc98e 100644 --- a/docs/css/access-nri.css +++ b/docs/css/access-nri.css @@ -377,6 +377,27 @@ h3 { border-radius: 0.6em; } +/* =============================================================== + Model components cards +*/ +.squared-card-image { + height: 75%; + display: flex; + justify-content: center; + align-items: center; + margin: 0.5em 0.5em 0 0.5em; +} + +/* =============================================================== + Home page navigation cards +*/ +.home-page-sq-card { + flex: 1; + overflow: hidden; + border-radius: 15px 15px 0 0; + object-fit: cover; +} + /* =============================================================== Model configuration images */ @@ -431,10 +452,11 @@ h3 { } .squared-card-image { - flex: 1; - overflow: hidden; - border-radius: 15px 15px 0 0; - object-fit: cover; + height: 75%; + display: flex; + justify-content: center; + align-items: center; + margin: 0.5em 0.5em 0 0.5em; } .squared-card-image >img { diff --git a/docs/index.md b/docs/index.md index d8145bca5..2a3b97dc7 100644 --- a/docs/index.md +++ b/docs/index.md @@ -16,23 +16,23 @@ ## Navigating ACCESS-Hive
- Models + Models
Models
- Run a Model + Run a Model
Run a Model
- Model Evaluation + Model Evaluation
Model Evaluation
- Community Resources + Community Resources
Community Resources
- Community Forum + Community Forum
Community Forum