diff --git a/src/app.css b/src/app.css index 3d1a42c..6c8ebf2 100644 --- a/src/app.css +++ b/src/app.css @@ -36,12 +36,12 @@ body { :root { --white: #fff; - --accent-color: #8bc3f4; + --accent-color: #9fd5ff; --accent-color-two: hsl(207, 65%, 90%); --bg-color: #1a1c1e; --grey-one: #252b31; --grey-two: #28313b; - --grey-three: #373E4D; + --grey-three: #373e4d; --grey-four: #1b1e29; --grey-five: hsl(208, 30%, 75%); --grey-six: hsla(223, 17%, 16%, 0.655); @@ -50,7 +50,8 @@ body { } ::selection { - background: var(--grey-three); + background: var(--grey-six); + color: var(--white); } /*-----headings-----*/ @@ -58,7 +59,7 @@ body { h1 { color: var(--white); font-weight: 700; - line-height: 1.5rem; + font-size: 1.5rem; } @@ -108,3 +109,10 @@ h6 { ::-webkit-scrollbar-thumb:hover { background-color: var(--grey-three); } + +hr { + display: block; + height: 1px; + border: 0; + border-top: 1px solid var(--grey-three); +} diff --git a/src/lib/components/atoms/ContributorPerson.svelte b/src/lib/components/atoms/ContributorPerson.svelte index fd06b58..f586483 100644 --- a/src/lib/components/atoms/ContributorPerson.svelte +++ b/src/lib/components/atoms/ContributorPerson.svelte @@ -17,10 +17,15 @@ color: var(--white); text-decoration: none; text-align: center; - padding: 0.5rem 0.1rem; - border-radius: 12px; - width: 100px; + padding: 0.5rem 0.5rem; + width: 100%; transition: all 0.3s var(--bezier-one); + border: 1px solid var(--grey-three); + border-radius: 4px; + display:flex; + gap: 1rem; + align-items: center; + background-color: var(--grey-six) } button { @@ -28,27 +33,26 @@ border-radius: 50%; overflow: hidden; border: 0; - width: 45px; - height: 45px; - max-height: 86px; - max-width: 86px; + height: 30px; + width: 30px; + min-width: 30px; + min-height: 30px; cursor: pointer; background-color: transparent; transition: transform 0.4s var(--bezier-one); - margin-bottom: 1rem; user-select: none; } a:hover { - background-color: var(--grey-three); + background-color: var(--accent-color); } a:hover > h2 { - color: var(--accent-color); + color: var(--grey-four); } h2 { - font-size: 1rem; + font-size: 0.95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; diff --git a/src/lib/components/molecules/ContributorHost.svelte b/src/lib/components/molecules/ContributorHost.svelte index 8bca168..434d63b 100644 --- a/src/lib/components/molecules/ContributorHost.svelte +++ b/src/lib/components/molecules/ContributorHost.svelte @@ -15,28 +15,42 @@ let usersIwantToExplodeSoBadly = ['semantic-release-bot']; -
+

{repo_name}

+
-
- {#each contribs as contrib} - {#if !usersIwantToExplodeSoBadly.includes(contrib.login)} - - {/if} - {/each} -
+
+ +
+ {#each contribs as contrib} + {#if !usersIwantToExplodeSoBadly.includes(contrib.login)} + + {/if} + {/each}
diff --git a/src/lib/components/molecules/Footer.svelte b/src/lib/components/molecules/Footer.svelte index 8a50488..678f890 100644 --- a/src/lib/components/molecules/Footer.svelte +++ b/src/lib/components/molecules/Footer.svelte @@ -1,7 +1,7 @@
@@ -57,6 +57,8 @@ diff --git a/src/lib/components/atoms/PatchCell.svelte b/src/lib/components/molecules/PatchCell.svelte similarity index 98% rename from src/lib/components/atoms/PatchCell.svelte rename to src/lib/components/molecules/PatchCell.svelte index 3805b45..44e4e85 100644 --- a/src/lib/components/atoms/PatchCell.svelte +++ b/src/lib/components/molecules/PatchCell.svelte @@ -80,7 +80,7 @@ h2 { color: var(--accent-color); - font-size: 0.75rem; + font-size: 0.8rem; font-weight: 500; border-radius: 8px; background-color: var(--grey-two); @@ -100,14 +100,14 @@ h3 { color: var(--accent-color); - font-size: 0.85rem; + font-size: 0.9rem; margin-bottom: 0.1rem; font-weight: 500; } h4 { color: var(--grey-five); - font-size: 0.8rem; + font-size: 0.9rem; font-weight: 400; } diff --git a/src/lib/components/molecules/TreeMenu.svelte b/src/lib/components/molecules/TreeMenu.svelte index eded319..bd3e98e 100644 --- a/src/lib/components/molecules/TreeMenu.svelte +++ b/src/lib/components/molecules/TreeMenu.svelte @@ -27,11 +27,7 @@ } hr { - margin-top: 0.75rem; - display: block; - height: 1px; - border: 0; - border-top: 1px solid var(--grey-three); + margin-top: 0.5rem; } .package-list { diff --git a/src/routes/credits/+page.svelte b/src/routes/credits/+page.svelte index e71b9a8..2f842f5 100644 --- a/src/routes/credits/+page.svelte +++ b/src/routes/credits/+page.svelte @@ -5,20 +5,28 @@ import type { ContribData } from '../+layout'; import ContributorHost from '$lib/components/molecules/ContributorHost.svelte'; - import Footer from '$lib/components/molecules/Footer.svelte'; + import Footer from '$lib/components/molecules/Footer.svelte'; - // From the layout hydration. See +layout.ts + // From the layout hydration. See +layout.ts export let data: ContribData; -
- {#each data.repositories as { contributors, name }} -
- -
- {/each} +
+
+

Made possible by the community.

+

Want to show up here? Become a contributor

+
+
+ {#each data.repositories as { contributors, name }} +
+ +
+ {/each} +
+
+ -
+ h1 { + font-size: 2.25rem; + font-weight: 600; + text-align: center; + color: var(--grey-four); + } + h2 { + font-size: 1rem; + color: var(--grey-four); + } + + .text-container { + display: flex; + align-items: center; + flex-direction: column; + gap: 0.5rem; + margin-bottom: 2rem; + background-color: var(--accent-color); + padding: 2rem; + border-radius: 8px; + } + + a { + text-decoration: none; + color: var(--grey-four); + } + + a::after { + padding-left: 5px; + content: '->'; + position: absolute; + transition: all 0.3s var(--bezier-one); + } + + a:hover::after { + transform: translateX(5px); + } + diff --git a/src/routes/patches/+page.svelte b/src/routes/patches/+page.svelte index b891520..622d459 100644 --- a/src/routes/patches/+page.svelte +++ b/src/routes/patches/+page.svelte @@ -9,7 +9,7 @@ import TreeMenu from '$lib/components/molecules/TreeMenu.svelte'; import TreeMenuButton from '$lib/components/atoms/TreeMenuButton.svelte'; - import PatchCell from '$lib/components/atoms/PatchCell.svelte'; + import PatchCell from '$lib/components/molecules/PatchCell.svelte'; import Footer from '$lib/components/molecules/Footer.svelte'; export let data: PatchesData & ContribData; @@ -53,7 +53,7 @@ {/each}
-