3
0
Fork 0
mirror of https://github.com/YosysHQ/sby.git synced 2025-08-09 14:51:26 +00:00

Change Sphinx theme to "furo"

This commit is contained in:
Jannis Harder 2023-05-03 16:56:09 +02:00
parent 74f33880bd
commit 513d0d4288
5 changed files with 86 additions and 77 deletions

View file

@ -1 +1,18 @@
/* empty */
/* Don't hide the right sidebar as we're placing our fixed links there */
aside.no-toc {
display: block !important;
}
/* Colorful headings */
h1 {
color: var(--color-brand-primary);
}
h2, h3, h4, h5, h6 {
color: var(--color-brand-content);
}
/* Use a different color for external links */
a.external {
color: var(--color-brand-primary) !important;
}

View file

@ -1,64 +0,0 @@
h1, h3, p.topic-title, .content li.toctree-l1 > a {
color: #d6368f !important;
}
h2, p.admonition-title, dt, .content li.toctree-l2 > a {
color: #4b72b8;
}
a {
color: #8857a3;
}
a.current, a:hover, a.external {
color: #d6368f !important;
}
a.external:hover {
text-decoration: underline;
}
p {
text-align: justify;
}
.vp-sidebar a {
color: #d6368f;
}
.vp-sidebar li li a {
color: #4b72b8;
}
.vp-sidebar li li li a {
color: #2c3e50;
font-weight: 400;
}
.vp-sidebar h3 {
padding-left: 1.5rem !important;
}
.vp-sidebar ul a {
padding-left: 1.5rem !important;
}
.vp-sidebar ul ul a {
padding-left: 3rem !important;
}
.vp-sidebar ul ul ul a {
padding-left: 4.5rem !important;
}
.vp-sidebar .toctree-l1.current a {
border-left: 0.5rem solid #6ecbd7;
}
.vp-sidebar .toctree-l1 a.current {
border-left: 0.5rem solid #8857a3;
}
.injected .rst-current-version, .injected dt {
color: #6ecbd7 !important;
}