Skip to content

Commit

Permalink
Merge pull request #55 from jlaehne/css
Browse files Browse the repository at this point in the history
Update custom.css
  • Loading branch information
ericpre authored Jan 27, 2024
2 parents cd47dbe + bcdce23 commit 34eee8c
Show file tree
Hide file tree
Showing 13 changed files with 593 additions and 25 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ sphinxext
*~
.build/*
.idea/*
*__pycache__*
24 changes: 21 additions & 3 deletions _static/custom.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
.bd-main .bd-content .bd-article-container {
max-width: 90%; /* default is 60em */
}
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;700&display=swap');

html {
--pst-font-family-base: Lato, var(--pst-font-family-base-system);
--pst-font-family-heading: Lato, var(--pst-font-family-base-system);
--pst-font-family-monospace: var(--pst-font-family-monospace-system);
}

/* Make icon after external links in the navbar less obvious */
.nav-link.nav-external::after {
opacity: 0.4;
}

/* Make links in top bar bigger */
@media (min-width:960px) {

.nav-item,
.btn.nav-item {
font-size: 1.1rem;
}
}
3 changes: 3 additions & 0 deletions _static/frontpage.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.bd-main .bd-content .bd-article-container {
max-width: 90%; /* default is 60em */
}
Binary file removed _static/hyperspy_banner.png
Binary file not shown.
Binary file removed _static/hyperspy_banner_light.png
Binary file not shown.
25 changes: 13 additions & 12 deletions _static/hyperspy_dark_banner.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 34eee8c

Please sign in to comment.