Skip to content

Commit 32a798c

Browse files
committed
update font and colors
1 parent 5e9635f commit 32a798c

File tree

2 files changed

+29
-1
lines changed

2 files changed

+29
-1
lines changed

data-science-for-esm/_config.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
# Book settings
88
title: Data Science for Energy System Modelling # The title of the book. Will be placed in the left navbar.
99
author: Fabian Neumann # The author of the book
10-
copyright: "2022-2024" # Copyright year to be placed in the footer
10+
copyright: "2022-2025" # Copyright year to be placed in the footer
1111
logo: logo.png # A path to the book logo
1212

1313
# Force re-execution of notebooks on each build.
@@ -51,3 +51,6 @@ sphinx:
5151
config:
5252
html_js_files:
5353
- https://cdnjs.cloudflare.com/ajax/libs/require.js/2.3.4/require.min.js
54+
html_static_path: ["_static"]
55+
html_css_files:
56+
- custom.css
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
@import url('https://fonts.googleapis.com/css2?family=Overpass:wght@400;600;700&display=swap');
2+
3+
/* Body + headings */
4+
body,
5+
h1, h2, h3, h4, h5, h6,
6+
p, li, dt, dd, blockquote,
7+
.navbar, .sidebar, .caption, .admonition {
8+
font-family: 'Overpass', sans-serif !important;
9+
}
10+
11+
@import url('https://fonts.googleapis.com/css2?family=Overpass+Mono:wght@400;600&display=swap');
12+
13+
code, pre, kbd, samp {
14+
font-family: 'Overpass Mono', monospace !important;
15+
}
16+
17+
/* Change row hover color */
18+
.table tbody tr:hover {
19+
background-color: #bbcde2 !important; /* your custom color */
20+
}
21+
22+
/* Pandas DataFrame hover rows */
23+
.dataframe tbody tr:hover {
24+
background-color: #bdd1f6 !important;
25+
}

0 commit comments

Comments
 (0)