Skip to content

Commit 2673e31

Browse files
authored
Idk I just did some stuff to get closer to the super contributer role... (#95)
* Remove border-radius from highlighted text for consistent styling * Remove rounded corners in blockquotes for consistent styling * Fix my link coloring error * Add https://text.datapackhub.net/ to text generators * Set table width to full * Change table width again cause silabear couldn't decide
1 parent d01fc0a commit 2673e31

3 files changed

Lines changed: 3 additions & 11 deletions

File tree

src/lib/reusables/Highlight.svelte

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212

1313
<style>
1414
span.dph-highlight {
15-
border-radius: 3px;
1615
background-color: var(--background-color);
1716
padding: 0.2rem;
1817
}

src/styles/app.css

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,6 @@
1616
--color-dph-orange: oklch(69.27% 0.2042 40.82);
1717
}
1818

19-
#content a {
20-
color: var(--color-orange-400);
21-
}
22-
23-
#content a:hover, #content a:focus {
24-
color: var(--color-orange-300);
25-
}
26-
2719
::-webkit-scrollbar {
2820
width: 4px;
2921
}

src/styles/md.css

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
@apply prose-img:my-1;
66
@apply prose-headings:mb-2 prose-h2:text-2xl prose-h2:mt-7 prose-headings:scroll-mt-16 prose-headings:text-stone-200;
77
@apply prose-p:my-3;
8-
@apply prose-blockquote:rounded-l-sm prose-blockquote:font-normal
8+
@apply prose-a:text-orange-400 prose-a:hover:text-orange-300;
9+
@apply prose-blockquote:prose-blockquote:font-normal
910
prose-blockquote:not-italic;
1011

1112
/* inline code blocks below */
@@ -14,7 +15,7 @@
1415
@apply prose-ol:mt-0 prose-ul:mt-0 prose-li:my-1;
1516
@apply prose-h2:border-b prose-h2:pb-2 prose-h2:border-white/20;
1617
@apply prose-h3:border-b prose-h3:pb-2 prose-h3:border-white/20;
17-
@apply prose-th:p-2 prose-th:text-left prose-thead:bg-stone-800 prose-td:p-2 even:prose-tr:bg-stone-500/10 odd:prose-tr:bg-stone-700/10 prose-table:border prose-table:border-stone-700 prose-table:m-0 prose-table:w-1/2;
18+
@apply prose-th:p-2 prose-th:text-left prose-thead:bg-stone-800 prose-td:p-2 even:prose-tr:bg-stone-500/10 odd:prose-tr:bg-stone-700/10 prose-table:border prose-table:border-stone-700 prose-table:m-0 prose-table:w-auto;
1819
/* multi-line code blocks below */
1920
@apply prose-pre:bg-stone-900 prose-code:prose-pre:p-0 prose-pre:prose-code:!border-0 prose-pre:overflow-x-auto;
2021
}

0 commit comments

Comments
 (0)