Skip to content

Commit dba074a

Browse files
FIX : change the navigation bar style (#221)
1 parent 528d3f9 commit dba074a

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
lines changed

doc/source/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
copyright = f"(c) {datetime.now().year} ANSYS, Inc. All rights reserved"
3333
author = "ANSYS, Inc."
3434
release = version = __version__
35-
cname = os.getenv("DOCUMENTATION_CNAME", "nocname.com")
35+
cname = os.getenv("DOCUMENTATION_CNAME", "sphinxdocs.ansys.com")
3636

3737
# use the default ansys logo
3838
html_logo = ansys_logo_black

src/ansys_sphinx_theme/theme/ansys_sphinx_theme/static/css/ansys_sphinx_theme.css

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -639,10 +639,9 @@ b, strong {
639639

640640
.navbar-nav li a:focus, .navbar-nav li a:hover, .navbar-nav li.current>a {
641641
color: white !important;
642-
border-bottom: 2px solid #fff;
643642
}
644643

645-
.bd-header .navbar-nav .dropdown .dropdown-menu{
644+
.navbar-nav .dropdown .dropdown-menu{
646645
min-width: 250px;
647646
}
648647

@@ -660,14 +659,15 @@ nav.bd-links .active:hover>a {
660659

661660
nav.bd-links .active>a {
662661
font-weight: bold;
663-
color: var(--pst-color-text-muted);
662+
color: var(--pst-color-text-muted)!important;
664663
border-left: 2px solid var(--pst-color-text-base);
664+
border-bottom: none!important;
665665
padding-left: 0.5rem;
666666
}
667667

668668
nav.bd-links li>a:hover {
669669
font-weight: 900;
670-
color: var(--pst-color-link);
670+
color: var(--pst-color-link)!important;
671671
}
672672

673673
/*

src/ansys_sphinx_theme/theme/ansys_sphinx_theme/static/css/breadcrumbs.css

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@ breadcrumbs
1414
}
1515

1616
div.related > ul {
17-
padding-left: 0;
18-
padding-bottom: 1.5rem;
17+
padding: 10px 0 20px 0;
1918
}
2019

2120
*, :after, :before {

0 commit comments

Comments
 (0)