Skip to content

Commit 80c0694

Browse files
committed
improves navbar header rendering
1 parent 8b5227c commit 80c0694

File tree

2 files changed

+20
-15
lines changed

2 files changed

+20
-15
lines changed

doc/_static/css/custom.css

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,16 @@
77

88
}
99

10+
.bd-main .bd-content .bd-article-container {
11+
max-width: 100%; /* default is 60em */
12+
}
13+
1014
.bd-page-width {
11-
max-width: 98rem;
15+
max-width: 100rem;
1216
}
1317

1418

1519
html {
16-
--pst-font-size-base: 18px;
20+
--pst-font-size-base: 16px;
1721
--pst-header-height: 7rem;
1822
}

doc/conf.py

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -130,19 +130,20 @@
130130
# further. For a list of options available for each theme, see the
131131
# documentation.
132132
html_theme_options = {
133-
"header_links_before_dropdown": 7,
134-
"icon_links": [
135-
{
136-
# Label for this link
137-
"name": "GitHub",
138-
# URL where the link will redirect
139-
"url": "https://github.com/CLIMADA-project", # required
140-
# Icon class (if "type": "fontawesome"), or path to local image (if "type": "local")
141-
"icon": "fa-brands fa-square-github",
142-
# The type of image to be used (see below for details)
143-
"type": "fontawesome",
144-
}
145-
],
133+
"header_links_before_dropdown": 8,
134+
"navbar_align": "left",
135+
# "icon_links": [
136+
# {
137+
# # Label for this link
138+
# "name": "GitHub",
139+
# # URL where the link will redirect
140+
# "url": "https://github.com/CLIMADA-project", # required
141+
# # Icon class (if "type": "fontawesome"), or path to local image (if "type": "local")
142+
# "icon": "fa-brands fa-square-github",
143+
# # The type of image to be used (see below for details)
144+
# "type": "fontawesome",
145+
# }
146+
# ],
146147
}
147148

148149
# Add any paths that contain custom themes here, relative to this directory.

0 commit comments

Comments
 (0)