Setup the docs framework

I did various changes and updates, using the question 8 (modelovani a
projekce) as my lab rat. It's a pretty good case, containing images,
plenty of math, footnotes, everything.

I now feel it looks pretty good, I'll try to import more content.
This commit is contained in:
Vojta committed 2025-06-06 22:32:10 +02:00
1 parent 84990c1942
commit 01beaa369a
15 files changed
+758 -59

No files matched your search

+9
View File
@@ -0,0 +1,9 @@
/*
Astro's markdown engine hides the footnotes heading completely with `.sr-only`
*/
section.footnotes h2.sr-only {
position: relative;
width: auto;
height: auto;
clip: unset;
}
+3
View File
@@ -0,0 +1,3 @@
.site-title img {
image-rendering: pixelated;
}
+32
View File
@@ -0,0 +1,32 @@
/* https://starlight.astro.build/guides/css-and-tailwind/#color-theme-editor */
/* Dark mode colors. */
:root {
--sl-color-accent-low: #351e00;
--sl-color-accent: #925c00;
--sl-color-accent-high: #efbf88;
--sl-color-white: #ffffff;
--sl-color-gray-1: #eceef2;
--sl-color-gray-2: #c0c2c7;
--sl-color-gray-3: #888b96;
--sl-color-gray-4: #545861;
--sl-color-gray-5: #353841;
--sl-color-gray-6: #24272f;
--sl-color-black: #17181c;
}
/* Light mode colors. */
:root[data-theme='light'] {
--sl-color-accent-low: #f4d0a7;
--sl-color-accent: #955e00;
--sl-color-accent-high: #482b00;
--sl-color-white: #17181c;
--sl-color-gray-1: #24272f;
--sl-color-gray-2: #353841;
--sl-color-gray-3: #545861;
--sl-color-gray-4: #888b96;
--sl-color-gray-5: #c0c2c7;
--sl-color-gray-6: #eceef2;
--sl-color-gray-7: #f5f6f8;
--sl-color-black: #ffffff;
}