From 78c3d74ed53bea2063bd6ae583b65b9686de2867 Mon Sep 17 00:00:00 2001 From: Matt Graham Date: Tue, 23 Jan 2024 14:12:41 +0000 Subject: [PATCH] Configuring Jekyll site to show logo + customize CSS --- docs/_config.yml | 2 ++ docs/_sass/custom/custom.scss | 8 ++++++++ 2 files changed, 10 insertions(+) create mode 100644 docs/_sass/custom/custom.scss diff --git a/docs/_config.yml b/docs/_config.yml index 4768c076..3e8c2078 100644 --- a/docs/_config.yml +++ b/docs/_config.yml @@ -6,3 +6,5 @@ url: https://UCL-ARC.github.io/python-tooling aux_links: Source repository: https://github.com/UCL-ARC/python-tooling + +logo: 'https://raw.githubusercontent.com/UCL-ARC/python-tooling/main/images/logo.png' diff --git a/docs/_sass/custom/custom.scss b/docs/_sass/custom/custom.scss new file mode 100644 index 00000000..77b81607 --- /dev/null +++ b/docs/_sass/custom/custom.scss @@ -0,0 +1,8 @@ +div.site-header { + max-height: 15em; + height: 15em; +} + +div.site-logo { + background-position: center center; +}