Commit b7c93b1005

b7c93b10053b019f9899b2cfc0173e56814d03b0

parent: faee68e333

Unsigned

Alicia Sykes <alicia@omg.lol> · 2024-03-24 13:03 UTC

Updates variables used, to allow for better dark mode

Layout: unified · split

web/src/components/Card.astro +3 −3
@@ -23,14 +23,14 @@ const { href, title, body } = Astro.props;
2323 .link-card {
2424 color: var(--foreground);
2525 background: var(--background);
26 border: 2px solid var(--foreground);
27 box-shadow: 6px 6px 0 var(--foreground);
26 border: 2px solid var(--box-outline);
27 box-shadow: 6px 6px 0 var(--box-outline);
2828 font-family: "Lekton", sans-serif;
2929 font-weight: 700;
3030 transition: all ease-in-out 0.1s;
3131 list-style: none;
3232 &:hover {
33 box-shadow: 8px 8px 0 var(--foreground);
33 box-shadow: 8px 8px 0 var(--box-outline);
3434 background: var(--accent);
3535 color: var(--background);
3636
web/src/components/Hero.astro +6 −6
@@ -72,8 +72,8 @@ import FontAwesome from "@components/form/FontAwesome.svelte"
7272 color: var(--accent-3);
7373 -webkit-text-fill-color: var(--accent-3);
7474 -webkit-text-stroke-width: 2px;
75 -webkit-text-stroke-color: var(--foreground);
76 text-shadow: 3px 3px 0 var(--foreground);
75 -webkit-text-stroke-color: var(--box-outline);
76 text-shadow: 3px 3px 0 var(--box-outline);
7777 @media(max-width: 768px) {
7878 font-size: 4rem;
7979 }
@@ -84,9 +84,9 @@ import FontAwesome from "@components/form/FontAwesome.svelte"
8484 padding: 0.5rem 1rem;
8585 color: var(--accent-fg);
8686 background: var(--accent-3);
87 border: 2px solid var(--foreground);
87 border: 2px solid var(--box-outline);
8888 border-radius: var(--curve-sm);
89 box-shadow: 6px 6px 0 var(--foreground);
89 box-shadow: 6px 6px 0 var(--box-outline);
9090 font-family: "Lekton", sans-serif;
9191 font-weight: 700;
9292 max-width: 735px;
@@ -97,8 +97,8 @@ import FontAwesome from "@components/form/FontAwesome.svelte"
9797 max-width: 735px;
9898 text-align: center;
9999 margin: 0 auto;
100 border: 1px solid var(--foreground);
101 box-shadow: 3px 3px 0 var(--foreground);
100 border: 1px solid var(--box-outline);
101 box-shadow: 3px 3px 0 var(--box-outline);
102102 background: var(--accent);
103103 border-radius: 18px;
104104 padding: 0.5rem 1rem;
web/src/components/form/Button.astro +3 −3
@@ -17,14 +17,14 @@ const {
1717 .button {
1818 font-family: "Lekton", sans-serif;
1919 text-align: center;
20 border: 1px solid var(--foreground);
21 box-shadow: 3px 3px 0 var(--foreground);
20 border: 1px solid var(--box-outline);
21 box-shadow: 3px 3px 0 var(--box-outline);
2222 background: var(--accent);
2323 border-radius: 18px;
2424 padding: 0.5rem 1rem;
2525 transition: all 0.2s ease-in-out;
2626 &:hover {
27 box-shadow: 4px 4px 0 var(--foreground);
27 box-shadow: 4px 4px 0 var(--box-outline);
2828 }
2929 a {
3030 text-decoration: none;
web/src/components/form/Social.astro +4 −3
@@ -97,10 +97,11 @@ const socialMedias = {
9797 padding: 0;
9898 margin: 0;
9999 opacity: 0.8;
100 border: 1px solid var(--foreground);
101 box-shadow: 2px 2px 0 var(--foreground);
100 border: 1px solid var(--box-outline);
101 box-shadow: 2px 2px 0 var(--box-outline);
102102 border-radius: var(--curve-sm);
103103 transition: all 0.2s ease-in-out;
104 background: var(--background-form);
104105 a {
105106 display: flex;
106107 color: var(--foreground);
@@ -112,7 +113,7 @@ const socialMedias = {
112113 }
113114 }
114115 &:hover {
115 box-shadow: 3px 3px 0 var(--foreground);
116 box-shadow: 3px 3px 0 var(--box-outline);
116117 border-radius: var(--curve-md);
117118 opacity: 1;
118119 a {
web/src/components/scafold/MainCard.astro +2 −2
@@ -10,8 +10,8 @@
1010 padding: 1rem;
1111 width: 1000px;
1212 max-width: calc(100% - 5rem);
13 border: 2px solid var(--foreground);
14 box-shadow: 6px 6px 0 var(--foreground);
13 border: 2px solid var(--box-outline);
14 box-shadow: 6px 6px 0 var(--box-outline);
1515 background: var(--accent-fg);
1616 position: relative;
1717 }
web/src/components/scafold/NavBar.astro +3 −3
@@ -24,7 +24,7 @@ import FontAwesome from "@components/form/FontAwesome.svelte"
2424 align-items: center;
2525 flex-wrap: wrap;
2626 gap: 1rem;
27 border-bottom: 2px solid var(--foreground);
27 border-bottom: 2px solid var(--accent-3);
2828
2929 .homepage {
3030 text-decoration: none;
@@ -62,13 +62,13 @@ import FontAwesome from "@components/form/FontAwesome.svelte"
6262 font-family: "Lekton", sans-serif;
6363 font-weight: bold;
6464 color: var(--foreground);
65 border-left: 2px solid var(--foreground);
65 border-left: 2px solid var(--accent-3);
6666 transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
6767 transition-timing-function: ease-in-out;
6868 &:hover {
6969 background: var(--accent-3);
7070 color: var(--accent-fg);
71 border-bottom: 2px solid var(--foreground);
71 border-bottom: 2px solid var(--accent-3);
7272 &:nth-child(4n+1) {
7373 background-color: var(--accent);
7474 }
web/src/components/things/AddNewService.svelte +94 −6
@@ -11,6 +11,10 @@
1111 const serviceDescription = writable('');
1212 const serviceGithub = writable('');
1313 const serviceTosdrId = writable('');
14 const serviceIosApp = writable('');
15 const serviceAndroidApp = writable('');
16 const serviceDiscordInvite = writable('');
17 const serviceSubreddit = writable('');
1418 const serviceOpenSource = writable(false);
1519 const serviceSecurityAudited = writable(false);
1620 const serviceCrypto = writable(false);
@@ -23,6 +27,10 @@
2327 description: $serviceDescription,
2428 github: $serviceGithub,
2529 tosdrId: $serviceTosdrId,
30 iosApp: $serviceIosApp,
31 androidApp: $serviceAndroidApp,
32 discordInvite: $serviceDiscordInvite,
33 subreddit: $serviceSubreddit,
2634 openSource: $serviceOpenSource,
2735 securityAudited: $serviceSecurityAudited,
2836 acceptsCrypto: $serviceCrypto,
@@ -36,6 +44,10 @@
3644 serviceDescription: $serviceDescription,
3745 serviceGithub: $serviceGithub,
3846 serviceTosdrId: $serviceTosdrId,
47 serviceIosApp: $serviceIosApp,
48 serviceAndroidApp: $serviceAndroidApp,
49 serviceDiscordInvite: $serviceDiscordInvite,
50 serviceSubreddit: $serviceSubreddit,
3951 serviceOpenSource: $serviceOpenSource,
4052 serviceSecurityAudited: $serviceSecurityAudited,
4153 serviceCrypto: $serviceCrypto,
@@ -56,6 +68,10 @@
5668 serviceSecurityAudited: $serviceSecurityAudited,
5769 serviceCrypto: $serviceCrypto,
5870 additionalInfo: $additionalInfo,
71 serviceIosApp: $serviceIosApp,
72 serviceAndroidApp: $serviceAndroidApp,
73 serviceDiscordInvite: $serviceDiscordInvite,
74 serviceSubreddit: $serviceSubreddit,
5975 };
6076 const issueCreationUrl = makeAdditionRequest(formData, yamlText);
6177 window.open(issueCreationUrl, '_blank');
@@ -70,6 +86,12 @@
7086</p>
7187
7288<form on:submit|preventDefault={handleSubmit}>
89
90 <h3>Basics</h3>
91 <p class="sub-title-description">
92 All fields here are required.
93 </p>
94
7395 <!-- Category Dropdown -->
7496 <div class="form-row">
7597 <label for="listing-category">Category</label>
@@ -123,6 +145,16 @@
123145 <p>Please provide a description for this listing. Keep it factual and objective. Markdown is supported.</p>
124146 </div>
125147
148 <!-- Section 2 -->
149 <h3>Third-Party Referencing</h3>
150 <p class="sub-title-description">
151 In order to create a comprehensive listing, we combine the data inputted above with other sources,
152 to give additional context and help users make informed decisions.
153 Metrics from these services are fetched automatically at build-time from our API.
154 <br />
155 All fields are optional, but the more information you provide, the better!
156 </p>
157
126158 <!-- GitHub Repository -->
127159 <div class="form-row">
128160 <label for="service-github">GitHub Repository</label>
@@ -144,6 +176,53 @@
144176 </p>
145177 </div>
146178
179 <!-- Apple App Store URL -->
180 <div class="form-row">
181 <label for="service-tosdr-id">iOS App</label>
182 <input type="url" bind:value={$serviceIosApp} id="service-ios-app" autocomplete="off">
183 <p>
184 Paste the link to the mobile app on the Apple App Store.<br />
185 E.g. https://apps.apple.com/us/app/bitwarden-password-manager/id1137397744
186 </p>
187 </div>
188
189 <!-- Google Play App Store URL -->
190 <div class="form-row">
191 <label for="service-tosdr-id">Android App</label>
192 <input type="url" bind:value={$serviceAndroidApp} id="service-android-app" autocomplete="off">
193 <p>
194 Paste the link to the mobile app on the Google Play Store.<br />
195 E.g. https://play.google.com/store/apps/details?id=com.x8bit.bitwarden
196 </p>
197 </div>
198
199 <!-- Discord Server Invite Code -->
200 <div class="form-row">
201 <label for="service-tosdr-id">Discord Invite</label>
202 <input type="text" bind:value={$serviceDiscordInvite} id="service-discord-invite" autocomplete="off">
203 <p>
204 Paste the invite code to the Discord server for this service.<br />
205 E.g. If the invite URL is https://discord.com/invite/4JMAauFZBq the code is 4JMAauFZBq
206 </p>
207 </div>
208
209 <!-- Reddit sub name -->
210 <div class="form-row">
211 <label for="service-tosdr-id">Subreddit</label>
212 <input type="text" bind:value={$serviceSubreddit} id="service-subreddit" autocomplete="off">
213 <p>
214 If the service has a subreddit, please provide the name here.<br />
215 Don't include `r/` in the name, nor the full URL - just the sub name.
216 </p>
217 </div>
218
219 <!-- Section 3 - Checklist and details -->
220 <h3>Privacy Checklist</h3>
221 <p class="sub-title-description">
222 Finally, check the boxes that apply to the service you are submitting,
223 and then provide any additional information to back this up in the text area below.
224 </p>
225
147226 <!-- Open Source Checkbox -->
148227 <div class="form-row">
149228 <label for="service-open-source">Is Open Source?</label>
@@ -236,15 +315,17 @@
236315 }
237316 }
238317
239 input, textarea {
318 input, textarea, select {
240319 width: 100%;
241320 border: 1px solid var(--accent-3);
242321 border-radius: var(--curve-md);
243322 font-size: 1.2rem;
244 padding: 0.5rem 0;
323 padding: 0.5rem 0.25rem;
324 background: var(--background-form);
325 color: var(--foreground);
245326 &:focus {
246327 outline: none;
247 border: 2px solid var(--accent);
328 border: 1px solid var(--accent);
248329 }
249330 }
250331 input {
@@ -260,6 +341,7 @@
260341 &[type="checkbox"] {
261342 width: 2rem;
262343 height: 2rem;
344 background: var(--background-form);
263345 }
264346 }
265347 textarea {
@@ -278,8 +360,8 @@
278360 background: var(--accent-3);
279361 color: var(--accent-fg);
280362 padding: 0.5rem 2rem;
281 border: 1px solid var(--foreground);
282 box-shadow: 3px 3px 0 var(--foreground);
363 border: 1px solid var(--box-outline);
364 box-shadow: 3px 3px 0 var(--box-outline);
283365 border-radius: var(--curve-lg);
284366 font-size: 1.8rem;
285367 font-family: "Lekton", sans-serif;
@@ -291,10 +373,16 @@
291373 }
292374 }
293375
376 .sub-title-description {
377 margin-top: 0;
378 font-size: 0.8rem;
379 opacity: 0.6;
380 }
381
294382 .output-yaml {
295383 pre {
296384 font-family: 'Courier New', Courier, monospace;
297 background: #cecbf780;
385 background: var(--background-form);
298386 padding: 0.2rem 0.4rem;
299387 border-radius: var(--curve-sm);
300388 font-size: 0.9rem;
web/src/components/things/Comments.svelte +1 −1
@@ -2,7 +2,7 @@
22 <script async lang="javascript">
33 var remark_config = {
44 host: 'https://comments.as93.net', site_id: 'awesome-privacy.xyz',
5 components: ['embed'], show_rss_subsription: true, theme: 'light',
5 components: ['embed'], show_rss_subsription: true, theme: 'dark',
66 };
77 !(function (e, n) {
88 for (var o = 0; o < e.length; o++) {
web/src/components/things/DataActions.svelte +3 −4
@@ -21,11 +21,10 @@
2121 const getIframeSrc = () => {
2222 const host = 'https://github-embed.as93.net';
2323 const target = encodeURIComponent(getGitHubSrcFile());
24 const opts = 'style=color-brewer&type=code&showBorder=on&showLineNumbers=on&showFileMeta=on&showFullPath=on&showCopy=on';
24 const opts = 'style=felipec&type=code&showBorder=on&showLineNumbers=on&showFileMeta=on&showFullPath=on&showCopy=on';
2525 return `${host}/iframe.html?target=${target}&${opts}`;
2626 };
2727
28
2928 onMount(async () => {
3029 const results = await fetchSrcData(categoryName, sectionName, serviceName);
3130 lineNumbers = results.lineNumbers
@@ -92,8 +91,8 @@
9291 }
9392 .button-link {
9493 background: var(--accent-3);
95 border: 1px solid var(--foreground);
96 box-shadow: 3px 3px 0 var(--foreground);
94 border: 1px solid var(--box-outline);
95 box-shadow: 3px 3px 0 var(--box-outline);
9796 color: var(--accent-fg);
9897 text-decoration: none;
9998 border-radius: 18px;
web/src/components/things/DockerDetailedInfo.astro +1 −1
@@ -224,7 +224,7 @@ const formatBigNumber = (num: number): string => {
224224
225225 pre {
226226 font-family: 'Courier New', Courier, monospace;
227 background: #cecbf780;
227 background: var(--background-form);
228228 padding: 0.6rem 1rem;
229229 border-radius: var(--curve-sm);
230230 font-size: 0.8rem;
web/src/components/things/Search.svelte +7 −5
@@ -139,10 +139,12 @@
139139 input {
140140 padding: 0.5rem 1rem;
141141 font-size: 1.8rem;
142 border: 2px solid var(--foreground);
142 border: 2px solid var(--box-outline);
143143 border-radius: var(--curve-lg);
144 box-shadow: 3px 3px 0 var(--foreground);
144 box-shadow: 3px 3px 0 var(--box-outline);
145145 z-index: 4;
146 background: var(--accent-fg);
147 color: var(--foreground);
146148 &:focus {
147149 outline: none;
148150 border-color: var(--accent);
@@ -153,16 +155,16 @@
153155 .suggestions {
154156 ul {
155157 position: absolute;
156 background: white;
158 background: var(--background-form);
157159 z-index: 3;
158160 width: 100%;
159161
160162 list-style: none;
161163 padding: 0;
162164 margin: 0;
163 border: 2px solid var(--foreground);
165 border: 2px solid var(--box-outline);
164166 border-radius: 0 0 var(--curve-lg) var(--curve-lg);
165 box-shadow: 3px 3px 0 var(--foreground);
167 box-shadow: 3px 3px 0 var(--box-outline);
166168 transform: translateY(-0.5rem);
167169 max-height: 500px;
168170 overflow-y: scroll;
web/src/components/things/SectionList.astro +2 −1
@@ -54,7 +54,8 @@ h2 {
5454 font-family: "Lekton", sans-serif;
5555 font-size: 2rem;
5656 margin: -2rem 0 2rem -2rem;
57 box-shadow: 6px 6px 0 var(--foreground);
57 box-shadow: 6px 6px 0 var(--box-outline);
58 border: 2px solid var(--box-outline);
5859 background: var(--accent);
5960 color: var(--accent-fg);
6061 width: fit-content;
web/src/components/things/ServiceList.astro +4 −4
@@ -236,7 +236,7 @@ const {
236236 }
237237 .view-service {
238238 transition: all 0.2s ease-in-out;
239 opacity: 0.8;
239 opacity: 0.95;
240240 a {
241241 padding: 0.25rem 0.6rem;
242242 width: fit-content;
@@ -258,7 +258,7 @@ const {
258258 align-items: center;
259259 // justify-content: center;
260260 gap: 0.25rem;
261 opacity: 0.6;
261 // opacity: 0.6;
262262 font-size: 0.9rem;
263263 padding: 0.5rem 0;
264264 :global(svg) {
@@ -286,9 +286,9 @@ const {
286286 }
287287 }
288288 .great {
289 color: #007930; // var(--success);
289 color: #0fb953; // var(--success);
290290 :global(svg) {
291 color: #007930; // var(--success);
291 color: #0fb953; // var(--success);
292292 }
293293 }
294294 }
web/src/components/things/SmartSuggestions.svelte +2 −2
@@ -94,8 +94,8 @@
9494 background: var(--accent-fg);
9595 padding: 1rem;
9696 border-radius: var(--curve-sm);
97 border: 1px solid var(--foreground);
98 box-shadow: 3px 3px 0 var(--foreground);
97 border: 1px solid var(--box-outline);
98 box-shadow: 3px 3px 0 var(--box-outline);
9999 color: var(--foreground);
100100 text-decoration: none;
101101
web/src/layouts/Layout.astro +5 −16
@@ -77,20 +77,8 @@ const {
7777
7878
7979<style is:global>
80 :root {
81 --accent: 136, 58, 234;
82 --accent-light: 224, 204, 250;
83 --accent-dark: 49, 10, 101;
84 --accent-gradient: linear-gradient(
85 45deg,
86 rgb(var(--accent)),
87 rgb(var(--accent-light)) 30%,
88 white 60%
89 );
90 }
80
9181 html {
92 background: var(--background);
93 background-size: 224px;
9482 ::selection {
9583 background: var(--accent);
9684 color: var(--accent-fg);
@@ -100,8 +88,9 @@ const {
10088 body {
10189 margin: 0;
10290 min-height: 100vh;
103 background: #feecff;
104 background: -webkit-radial-gradient(circle, #feecff 0%, #e1e4fb 100%);
105 background: radial-gradient(circle, #feecff 0%, #e1e4fb 100%);
91 color: var(--foreground);
92 background: var(--background);
93 /* background: -webkit-radial-gradient(circle, var(--bg-gradient-comp-1) 0%, var(--bg-gradient-comp-2) 100%);
94 background: radial-gradient(circle, var(--bg-gradient-comp-1) 0%, var(--bg-gradient-comp-2) 100%); */
10695 }
10796</style>
web/src/pages/[...listing].astro +59 −5
@@ -8,6 +8,8 @@ import PrivacyPolicyDetails from '@components/things/PrivacyPolicyDetails.astro'
88import WebsiteDetailedInfo from '@components/things/WebsiteDetailedInfo.astro';
99import DockerDetailedInfo from '@components/things/DockerDetailedInfo.astro';
1010import IosAppDetailedInfo from '@components/things/IosAppDetailedInfo.astro';
11import DiscordDetailedInfo from '@components/things/DiscordDetailedInfo.astro';
12import RedditDetailedInfo from '@components/things/RedditDetailedInfo.astro';
1113import SocialShare from '@components/form/Social.astro';
1214import DataActions from '@components/things/DataActions.svelte';
1315import type { AwesomePrivacy, Section, Service } from '../types/Service';
@@ -17,6 +19,8 @@ import { fetchTosdrPrivacy } from '@utils/fetch-privacy-policy';
1719import { fetchWebsiteInfo } from '@utils/fetch-website-info';
1820import { fetchDockerData } from '@utils/fetch-docker-instructions';
1921import { fetchIosInfo } from '@utils/fetch-ios-info';
22import { fetchDiscordInfo } from '@utils/fetch-discord-info';
23import { fetchRedditInfo } from '@utils/fetch-reddit-info';
2024import { parseMarkdown, formatLink } from '@utils/parse-markdown';
2125import { site } from '@utils/config';
2226import FontAwesome from '@components/form/FontAwesome.svelte';
@@ -34,6 +38,8 @@ const {
3438 url,
3539 github,
3640 tosdrId,
41 discordInvite,
42 subreddit,
3743 iosApp,
3844 icon,
3945 followWith,
@@ -138,9 +144,23 @@ const ignoredSites = ['github.gom', 'wikipedia.'];
138144const githubData = github ? await fetchGitHubStats(github) : null;
139145const privacyData = tosdrId ? await fetchTosdrPrivacy(tosdrId) : null;
140146const iosData = iosApp ? await fetchIosInfo(iosApp) : null;
147const discordData = discordInvite ? await fetchDiscordInfo(discordInvite) : null;
148const redditData = subreddit ? await fetchRedditInfo(subreddit) : null;
141149const dockerData = await fetchDockerData(name);
142150const websiteData = (url && !ignoredSites.some(ignoredSite => url.includes(ignoredSite))) ? await fetchWebsiteInfo(url) : null;
143151
152const findPrivacyPolicyLink = () => {
153 if (!privacyData) return null;
154 const docs = privacyData.parameters.documents;
155 if (docs) {
156 const privacyPolicy = (docs || []).find((doc) => doc.name.toLowerCase().includes('privacy policy'));
157 if (privacyPolicy) return privacyPolicy.url;
158 }
159 return `https://tosdr.org/en/service/${tosdrId}`;
160};
161
162const privacyPolicyLink = findPrivacyPolicyLink();
163
144164const getApiEndpoint = () => {
145165 return `https://api.awesome-privacy.xyz/${slugify(categoryName)}/${slugify(parentSection.name)}/${slugify(name)}`;
146166}
@@ -194,7 +214,7 @@ const getApiEndpoint = () => {
194214 { tosdrId && (
195215 <li>
196216 <b>Privacy:</b>
197 <a href={`https://tosdr.org/en/service/${tosdrId}`}>{`tosdr.org/en/service/${tosdrId}`}</a>
217 <a href={privacyPolicyLink}>{formatLink(privacyPolicyLink || '')}</a>
198218 </li>
199219 )}
200220 { iosApp && (
@@ -203,6 +223,24 @@ const getApiEndpoint = () => {
203223 <a href={iosApp}>{formatLink(iosApp)}</a>
204224 </li>
205225 )}
226 <!-- { androidApp && (
227 <li>
228 <b>Android App:</b>
229 <a href={androidApp}>{formatLink(androidApp)}</a>
230 </li>
231 )} -->
232 { discordInvite && (
233 <li>
234 <b>Discord Invite:</b>
235 <a href={`https://discord.com/invite/${discordInvite}`}>{discordInvite}</a>
236 </li>
237 )}
238 { subreddit && (
239 <li>
240 <b>Subreddit:</b>
241 <a href={`https://reddit.com/r/${subreddit}`}>r/{subreddit}</a>
242 </li>
243 )}
206244 { url && (
207245 <li>
208246 <b>Web info:</b>
@@ -241,7 +279,7 @@ const getApiEndpoint = () => {
241279 ) : null }
242280 </div>
243281 </section>
244 { privacyData && (
282 { privacyData && privacyData.parameters.points.length > 0 && (
245283 <section>
246284 <h3>{name} Privacy Policy</h3>
247285 <PrivacyPolicyDetails privacyData={privacyData} />
@@ -271,6 +309,15 @@ const getApiEndpoint = () => {
271309 <DockerDetailedInfo docker={dockerData} />
272310 </section>
273311 )}
312 { (discordData || redditData) && (
313 <section>
314 <h3>{name} Socials</h3>
315 <div class="social-wrap">
316 { discordData && <DiscordDetailedInfo discordData={discordData} /> }
317 { redditData && <RedditDetailedInfo redditData={redditData} /> }
318 </div>
319 </section>
320 )}
274321
275322 <section>
276323 <h3>{name} Reviews</h3>
@@ -370,8 +417,8 @@ section {
370417 padding: 1rem;
371418 min-height: 8rem;
372419 position: relative;
373 border: 2px solid var(--foreground);
374 box-shadow: 6px 6px 0 var(--foreground);
420 border: 2px solid var(--box-outline);
421 box-shadow: 6px 6px 0 var(--box-outline);
375422 background: var(--accent-fg);
376423
377424}
@@ -383,7 +430,7 @@ p {
383430h3 {
384431 font-size: 2rem;
385432 margin: -2rem 0 1rem -2rem;
386 box-shadow: 6px 6px 0 var(--foreground);
433 box-shadow: 6px 6px 0 var(--box-outline);
387434 background: var(--accent);
388435 color: var(--accent-fg);
389436 width: fit-content;
@@ -571,6 +618,13 @@ pre {
571618 }
572619}
573620
621.social-wrap {
622 display: flex;
623 gap: 1rem;
624 flex-wrap: wrap;
625 justify-content: space-between;
626}
627
574628.highlights {
575629 display: flex;
576630 gap: 1rem;
web/src/pages/[...section].astro +1 −1
@@ -217,7 +217,7 @@ section {
217217h2 {
218218 font-size: 2rem;
219219 margin: -2rem 0 2rem -2rem;
220 box-shadow: 6px 6px 0 var(--foreground);
220 box-shadow: 6px 6px 0 var(--box-outline);
221221 background: var(--accent);
222222 color: var(--accent-fg);
223223 width: fit-content;
web/src/pages/about.astro +2 −2
@@ -496,8 +496,8 @@ h3 {
496496 img {
497497 margin: 0.5rem 1rem;
498498 border-radius: var(--curve-md);
499 border: 2px solid var(--foreground);
500 box-shadow: 4px 4px 0 var(--foreground);
499 border: 2px solid var(--box-outline);
500 box-shadow: 4px 4px 0 var(--box-outline);
501501 }
502502 .socials {
503503 display: flex;
web/src/pages/browse.astro +5 −5
@@ -124,14 +124,14 @@ if (typeof window !== 'undefined') {
124124 }
125125 input {
126126 padding: 0.5rem;
127 border: 2px solid var(--foreground);
127 border: 2px solid var(--box-outline);
128128 border-radius: var(--curve-sm);
129129 font-size: 1.2rem;
130 box-shadow: 3px 3px 0 var(--foreground);
130 box-shadow: 3px 3px 0 var(--box-outline);
131131 color: var(--accent-3);
132132 &:focus {
133133 outline: none;
134 box-shadow: 4px 4px 0 var(--foreground);
134 box-shadow: 4px 4px 0 var(--box-outline);
135135 }
136136 }
137137 h2 {
@@ -180,9 +180,9 @@ if (typeof window !== 'undefined') {
180180 }
181181 .category {
182182 background: var(--accent-fg);
183 border: 2px solid var(--foreground);
183 border: 2px solid var(--box-outline);
184184 border-radius: var(--curve-sm);
185 box-shadow: 4px 4px 0 var(--foreground);
185 box-shadow: 4px 4px 0 var(--box-outline);
186186 padding: 1rem;
187187 width: 85%;
188188 display: inline-flex;
web/src/pages/index.astro +4 −4
@@ -121,9 +121,9 @@ const description = 'Privacy is a fundamental human right; '
121121
122122 .about-summary {
123123 background: var(--accent-fg);
124 border: 2px solid var(--foreground);
124 border: 2px solid var(--box-outline);
125125 border-radius: var(--curve-sm);
126 box-shadow: 4px 4px 0 var(--foreground);
126 box-shadow: 4px 4px 0 var(--box-outline);
127127 padding: 1rem;
128128 width: 85%;
129129 margin: 0 auto;
@@ -135,9 +135,9 @@ const description = 'Privacy is a fundamental human right; '
135135 padding: 0;
136136 .category {
137137 background: var(--accent-fg);
138 border: 2px solid var(--foreground);
138 border: 2px solid var(--box-outline);
139139 border-radius: var(--curve-sm);
140 box-shadow: 4px 4px 0 var(--foreground);
140 box-shadow: 4px 4px 0 var(--box-outline);
141141 padding: 1rem;
142142 width: 85%;
143143 display: inline-flex;
web/src/pages/search/[...searchTerm].astro +2 −2
@@ -139,9 +139,9 @@ section {
139139 column-gap: 1rem;
140140 .category {
141141 padding: 1rem;
142 box-shadow: 4px 4px 0 var(--foreground);
142 box-shadow: 4px 4px 0 var(--box-outline);
143143 background: var(--accent-fg);
144 border: 2px solid var(--foreground);
144 border: 2px solid var(--box-outline);
145145 border-radius: var(--curve-sm);
146146 display: inline-flex;
147147 flex-direction: column;
web/src/pages/search/index.astro +2 −2
@@ -26,9 +26,9 @@ section {
2626 display: flex;
2727 flex-direction: column;
2828 padding: 1rem;
29 box-shadow: 4px 4px 0 var(--foreground);
29 box-shadow: 4px 4px 0 var(--box-outline);
3030 background: var(--accent-fg);
31 border: 2px solid var(--foreground);
31 border: 2px solid var(--box-outline);
3232 border-radius: var(--curve-sm);
3333 margin: 2rem auto;
3434 padding: 1rem;
web/src/pages/sitemap.astro +6 −6
@@ -133,8 +133,8 @@ main {
133133 max-width: calc(100% - 5rem);
134134 margin: 4rem auto 5rem auto;
135135 padding: 0 2rem;
136 border: 2px solid var(--foreground);
137 box-shadow: 6px 6px 0 var(--foreground);
136 border: 2px solid var(--box-outline);
137 box-shadow: 6px 6px 0 var(--box-outline);
138138 background: var(--accent-fg);
139139 position: relative;
140140 p {
@@ -184,7 +184,7 @@ h2 {
184184 gap: 1rem;
185185 font-size: 2rem;
186186 margin: -2rem 0 2rem -4rem;
187 box-shadow: 6px 6px 0 var(--foreground);
187 box-shadow: 6px 6px 0 var(--box-outline);
188188 background: var(--accent);
189189 color: var(--accent-fg);
190190 width: fit-content;
@@ -213,14 +213,14 @@ h2 {
213213 }
214214 input {
215215 padding: 0.25rem;
216 border: 2px solid var(--foreground);
216 border: 2px solid var(--box-outline);
217217 border-radius: var(--curve-sm);
218218 font-size: 1rem;
219 box-shadow: 3px 3px 0 var(--foreground);
219 box-shadow: 3px 3px 0 var(--box-outline);
220220 color: var(--accent-3);
221221 &:focus {
222222 outline: none;
223 box-shadow: 4px 4px 0 var(--foreground);
223 box-shadow: 4px 4px 0 var(--box-outline);
224224 }
225225 }
226226}