diff --git a/frontend/data/Languages/Python/poetry.md b/frontend/data/Languages/Python/poetry.md index 8973ad4..42a468e 100644 --- a/frontend/data/Languages/Python/poetry.md +++ b/frontend/data/Languages/Python/poetry.md @@ -1,6 +1,6 @@ # Poetry -![PyTorch Logo](./pytorch-logo-flame.svg "PyTorch logo") +![PyTorch Logo](https://adl-imgs.nyc3.cdn.digitaloceanspaces.com/poetry-logo.svg 'PyTorch logo') _Poetry is a dependency manager for Python_ diff --git a/frontend/src/routes/docs/[...document]/+page.svelte b/frontend/src/routes/docs/[...document]/+page.svelte index e6054a5..a28ad66 100755 --- a/frontend/src/routes/docs/[...document]/+page.svelte +++ b/frontend/src/routes/docs/[...document]/+page.svelte @@ -222,11 +222,7 @@ brightness(89%) contrast(84%); } - :global(.document-code-img):hover { - filter: var(--active-filter); - /* transition: filter 0.2s ease-in-out; */ - cursor: pointer; - } + #document { :global(img:not(.img-logo)) { @@ -393,6 +389,7 @@ margin-top: 20px; margin-bottom: 20px; width: 100%; + // max-width: calc(100vw - 640px); } :global(div.document-code) { @@ -408,8 +405,19 @@ :global(div.document-code-heading-container) { display: flex; flex-direction: row; - gap: 17px; - margin-left: 6px; + gap: 1rem; + padding-left: 6px; + justify-content: start; + align-items: center; + } + + :global(.document-code-img) { + width: 3rem; + } + + :global(.document-code-img):hover { + filter: var(--active-filter); + cursor: pointer; } :global(.language-shell) {