Skip to content

Commit d650dc1

Browse files
authored
Add logo and banner (#277)
Following on from #144, adds SVG files for logo we decided on in meeting today to a new `images` subdirectory plus a corresponding social banner to address task in #246. The text colour on the banner should be visible on both dark and light backgrounds. I've also configured the Jekyll site to show the logo in the header bar - by default this was very small so I've added some custom (S)CSS to adjust the header div size and center the logo. Currently only the logo is shown in the header not any text - not sure if it is possible to override this?
1 parent 18d1551 commit d650dc1

File tree

4 files changed

+242
-0
lines changed

4 files changed

+242
-0
lines changed

docs/_config.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,5 @@ url: https://UCL-ARC.github.io/python-tooling
66

77
aux_links:
88
Source repository: https://github.com/UCL-ARC/python-tooling
9+
10+
logo: "https://raw.githubusercontent.com/UCL-ARC/python-tooling/main/images/logo.svg"

docs/_sass/custom/custom.scss

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
div.site-header {
2+
max-height: 15em;
3+
height: 15em;
4+
}
5+
6+
div.site-logo {
7+
background-position: center center;
8+
}

images/banner.svg

Lines changed: 131 additions & 0 deletions
Loading

images/logo.svg

Lines changed: 101 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)