Skip to content
Snippets Groups Projects
Commit c02fbd61 authored by Timon Idema's avatar Timon Idema
Browse files

Underline links on hover, svg logo with dark theme.

parent 3b68bc70
No related branches found
No related tags found
No related merge requests found
......@@ -3,7 +3,7 @@
title: Introduction to particle and continuum physics
author: Timon Idema
logo: content/images/tudelft.svg
logo: content/images/TUDelft2.svg
description: Introduction-level physics book covering classical mechanics (forces, energy, momentum, angular momentum), oscillations, waves, elementary continuum mechanics (elasticity and fluids) and thermodynamics.
copyright: Delft University of Technology, CC BY 4.0
......@@ -58,10 +58,11 @@ sphinx:
# bibtex_reference_style: unsrt
# local_extensions: # For the applet inclusion.
# applet: _ext/
html_theme_options:
logo:
image_light: content/images/TUDelft.svg
image_dark: content/images/TUDelft-dark.svg
# Following somehow breaks repo link; supersede by light/dark svg logo.
# html_theme_options:
# logo:
# image_light: content/images/TUDelft.svg
# image_dark: content/images/TUDelft-dark.svg
extra_extensions:
- sphinx_proof
- sphinx_exercise
......@@ -79,22 +80,23 @@ parse:
- amsmath
- dollarmath
# Information about where the book exists on the web
repository:
url: https://gitlab.tudelft.nl/opentextbooks/NB1140/ # Online location of your book
# path_to_book: docs # Optional path to your book, relative to the repository root
# branch: main # Which branch of the repository should be used when creating links (optional)
# HTML specific settings - see https://jupyterbook.org/en/stable/customize/config.html
# Add GitHub / GitLab buttons to your book
# See https://jupyterbook.org/customize/config.html#add-a-link-to-your-repository
html:
favicon: "content/images/favicon.ico"
home_page_in_navbar: true
use_issues_button: true
#use_issues_button: true
use_edit_page_button: true
use_repository_button: true
#home_page_in_navbar: true
extra_navbar: "" # Will be displayed underneath the left navbar. This setting overrides the default 'powered by Jupyter Book'
comments:
hypothesis: false
#hypothesis: true # Hypothesis for comments
# Information about where the book exists on the web
repository:
url: https://gitlab.tudelft.nl/opentextbooks/NB1140/ # Online location of your book
# path_to_book: docs # Optional path to your book, relative to the repository root
branch: main # Which branch of the repository should be used when creating links (optional)
......@@ -15,4 +15,8 @@ div.exercise p.admonition-title::before {
/* Remove the underline from internal links. */
a.internal, a.footnote-reference {
text-decoration: none;
}
\ No newline at end of file
}
a.internal:hover, a.footnote-reference:hover {
text-decoration-line: underline;
}
<?xml version="1.0" encoding="UTF-8"?>
<svg id="Layer_2" data-name="Layer 2" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 110 55">
<defs>
<style>
.cls-1 {
fill: none;
}
.cls-1, .cls-2, .cls-3 {
stroke-width: 0px;
}
.cls-3 {
fill: #00aeef;
}
@media (prefers-color-scheme:dark) {
.cls-2 {
fill: #f2f2f2;
}
}
</style>
</defs>
<g id="logo">
<rect class="cls-1" width="110" height="55"/>
<path class="cls-3" d="m33.39,39.52c2.49,0,3.85-1.66,3.85-3.98v-11.84h5.3v12.11c-.05,5.33-4.32,7.42-9.15,7.42s-9.09-2.09-9.15-7.42v-12.11h5.3v11.84c0,2.32,1.35,3.98,3.85,3.98Z"/>
<polygon class="cls-2" points="10.51 42.83 15.81 42.83 15.81 27.41 21.74 27.41 21.74 23.7 4.57 23.7 4.57 27.41 10.51 27.41 10.51 42.83"/>
<path class="cls-2" d="m23.24,14.38c-1.29.41-2.63.08-2.62-1.65,0-2.64,6.19-4.85,7.05-7.15.21-.57.23-1.05-.05-1.03-.2.01-.04.3-.48.73-2.56,2.57-6.86,2.56-10.16,4.04-2.16.97-8.5,3.95-7.04,10.6.07.32.26,1.37.45,1.37.22,0,.22-.63.22-1.39-.05-3.96,4.64-5.06,6.17-7.65.18-.31.5-.74.57-.54.04.1.01.24-.05.52-.48,2.13-2.7,3.49-2.07,5.01.82,1.97,3.17.5,3.9-.77.19-.35.3-.57.43-.53.1.03.09.43.03.8-.39,2.29-.91,3.57-2.59,4.88-.54.42-1.38.5-1.27.82.03.08.39.07.68.04,4.46-.29,8.19-5.54,9.18-8.98.1-.24.13-.47.03-.55-.13-.1-.33.13-.53.31-.51.45-1.21.91-1.85,1.12Z"/>
<path class="cls-2" d="m68.51,34.91c.02-2.08,1.27-3.95,3.37-3.95,2.44,0,3.39,1.67,3.39,3.95h-6.76Zm9.41,1.75v-1.25c0-3.68-2.09-6.28-5.86-6.28-4.21,0-6.18,3.26-6.18,7.16s1.7,6.95,5.97,6.95c3.18,0,5.51-1.51,5.91-4.53h-2.65c-.29,1.93-1.27,2.7-3.23,2.7-2.57,0-3.43-2.29-3.43-4.74h9.47Z"/>
<rect class="cls-2" x="80.97" y="23.7" width="2.52" height="19.13"/>
<path class="cls-2" d="m91.39,42.83v-11.55h3.07v-1.75h-3.07v-2.15c0-1.54.74-1.8,2.17-1.8.42,0,.85.05,1.27.08v-2.09c-.59-.13-1.19-.27-1.8-.27-2.38,0-4.16,1.2-4.16,3.74v2.49h-2.6v1.75h2.6v11.55h2.52Z"/>
<path class="cls-2" d="m95.91,29.53v1.75h2.28v8.48c0,1.77.03,3.47,3.77,3.47.58,0,1.13-.05,1.72-.16v-1.93c-.41.1-.93.16-1.33.16-.9,0-1.64-.45-1.64-1.4v-8.61h3.07v-1.75h-3.07v-3.63l-2.52.79v2.84h-2.28Z"/>
<path class="cls-2" d="m47.83,42.83h6.57c8.18,0,9.04-6.93,9.04-9.57s-.86-9.57-9.04-9.57h-6.57v19.13Zm2.65-16.86h3.92c4.42,0,6.26,3.34,6.26,7.29s-1.84,7.29-6.26,7.29h-3.92v-14.58Z"/>
</g>
</svg>
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment