Skip to content

Commit 4c21d76

Browse files
feat: adapt new logo (#811)
Co-authored-by: pyansys-ci-bot <[email protected]>
1 parent f461b6c commit 4c21d76

File tree

7 files changed

+16
-0
lines changed

7 files changed

+16
-0
lines changed

doc/changelog.d/811.added.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Adapt new logo

src/ansys_sphinx_theme/assets/styles/pydata-sphinx-theme-custom.scss

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -387,6 +387,21 @@ img.logo__image {
387387
padding-bottom: 0rem;
388388
}
389389

390+
/**
391+
* Logo height customization based on logo type
392+
* Using attribute selectors to target logos by their source path
393+
*/
394+
.navbar-brand img[src*="ansys_logo_transparent"] {
395+
height: 3em;
396+
}
397+
398+
/* Ensure responsive behavior */
399+
@media (max-width: 768px) {
400+
.navbar-brand img[src*="ansys_logo_transparent"] {
401+
height: 100%;
402+
}
403+
}
404+
390405
/**
391406
*Nav-bar entity right side.
392407
*/
-44.1 KB
Binary file not shown.
11.7 KB
Loading
-32.5 KB
Loading
4.96 KB
Binary file not shown.
5.32 KB
Binary file not shown.

0 commit comments

Comments
 (0)