mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-06 06:03:23 +00:00
Moving images and static folders
Images now included relative to the `docs/source` folder instead of the rst file. Also makes sure to add the updated `yosyshq.css` (which as a sidenote has ended up as `custom.css` in most of the other docs).
This commit is contained in:
parent
98d0e749d6
commit
b0f8059bce
44 changed files with 116 additions and 154 deletions
15
docs/source/_static/custom.css
Normal file
15
docs/source/_static/custom.css
Normal file
|
@ -0,0 +1,15 @@
|
|||
/* Reduce whitespace in cmd def pages */
|
||||
.cmd.def .highlight-yoscrypt, .cmd.def .highlight pre {
|
||||
padding: 0%;
|
||||
margin: 0%;
|
||||
}
|
||||
|
||||
.cmd.def .highlight-none, .cmd.def .highlight pre {
|
||||
padding-top: 0%;
|
||||
margin-top: 0%;
|
||||
}
|
||||
|
||||
/* Make images full width */
|
||||
.width-helper {
|
||||
max-width: 100%;
|
||||
}
|
BIN
docs/source/_static/favico.png
Normal file
BIN
docs/source/_static/favico.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 33 KiB |
BIN
docs/source/_static/logo.png
Normal file
BIN
docs/source/_static/logo.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 16 KiB |
26
docs/source/_static/yosyshq.css
Normal file
26
docs/source/_static/yosyshq.css
Normal file
|
@ -0,0 +1,26 @@
|
|||
/* 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;
|
||||
}
|
||||
|
||||
.wy-table-responsive table td {
|
||||
white-space: normal;
|
||||
}
|
||||
|
||||
th {
|
||||
text-align: left;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue