Skip to content

Commit 2e4e40b

Browse files
authored
DOC Build website with a Scikit-learn logo that is complete - not cropped (scikit-learn#32017)
1 parent 0eba4d4 commit 2e4e40b

File tree

2 files changed

+12
-3
lines changed

2 files changed

+12
-3
lines changed

doc/conf.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -261,9 +261,9 @@
261261
"pygments_dark_style": "monokai",
262262
"logo": {
263263
"alt_text": "scikit-learn homepage",
264-
"image_relative": "logos/scikit-learn-logo-small.png",
265-
"image_light": "logos/scikit-learn-logo-small.png",
266-
"image_dark": "logos/scikit-learn-logo-small.png",
264+
"image_relative": "logos/scikit-learn-logo-without-subtitle.svg",
265+
"image_light": "logos/scikit-learn-logo-without-subtitle.svg",
266+
"image_dark": "logos/scikit-learn-logo-without-subtitle.svg",
267267
},
268268
"surface_warnings": True,
269269
# -- Template placement in theme layouts ----------------------------------

doc/scss/custom.scss

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -262,3 +262,12 @@ div.sk-text-image-grid-large {
262262
grid-template-columns: 1fr;
263263
}
264264
}
265+
266+
.navbar-brand {
267+
.logo__image.only-light {
268+
height: 130%;
269+
}
270+
.logo__image.only-dark {
271+
height: 130%;
272+
}
273+
}

0 commit comments

Comments
 (0)