Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tutorials/_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
title: Marble Tutorials
author: Marble Community
copyright: "2024"
logo: "marble.png"
logo: "marble-logo-text.svg"

# Force re-execution of notebooks on each build.
# See https://jupyterbook.org/content/execute.html
Expand Down
4 changes: 4 additions & 0 deletions tutorials/_static/marbletutorial.css
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't this this is necessary and these attributes are overridden by other css:

  • height is unset for the logo_img class which overrides this setting
  • max-width is set to 100% and the parent of this element never gets larger than about 230px so the width you're setting here is basically ignored.

What are you trying to achieve here? Maybe there's a better way to do it.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was trying to set the dimensions of the image. I had tested it before by setting it to 100px and it worked. I just assumed the size of the image shown was accurate.

Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.navbar-brand img{
width: 400px;
height: 200px;
}
21 changes: 21 additions & 0 deletions tutorials/marble-logo-text.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed tutorials/marble.png
Binary file not shown.