Skip to content

Commit

Permalink
Add logo and banner (#277)
Browse files Browse the repository at this point in the history
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?
  • Loading branch information
matt-graham authored Jan 23, 2024
1 parent 18d1551 commit d650dc1
Show file tree
Hide file tree
Showing 4 changed files with 242 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.svg"
8 changes: 8 additions & 0 deletions docs/_sass/custom/custom.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
div.site-header {
max-height: 15em;
height: 15em;
}

div.site-logo {
background-position: center center;
}
131 changes: 131 additions & 0 deletions images/banner.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
101 changes: 101 additions & 0 deletions images/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit d650dc1

Please sign in to comment.