Commit 282e3bc060
Unsigned
Layout: unified · split
web/src/components/form/FontAwesome.svelte +4
| @@ -23,6 +23,10 @@ | ||
| 23 | 23 | faceMeh: solidIcons.faMeh, |
| 24 | 24 | faceBad: solidIcons.faFrown, |
| 25 | 25 | |
| 26 | // Service actions | |
| 27 | delete: solidIcons.faTrash, | |
| 28 | edit: solidIcons.faPenToSquare, | |
| 29 | ||
| 26 | 30 | // Website Detailed Stats |
| 27 | 31 | blacklistFound: solidIcons.faDoNotEnter, |
| 28 | 32 | blacklistNotFound: solidIcons.faShieldCheck, |
web/src/components/things/GitHubDetailedInfo.astro +20 −15
| @@ -13,7 +13,6 @@ const { gitHubData, repo } = Astro.props; | ||
| 13 | 13 | |
| 14 | 14 | |
| 15 | 15 | function generateChartData(languages: Record<string, number>): string { |
| 16 | ||
| 17 | 16 | const colorMap: { [key: string]: string } = { |
| 18 | 17 | 'TypeScript': '#2b7489', |
| 19 | 18 | 'Objective-C++': '#6866fb', |
| @@ -21,26 +20,26 @@ function generateChartData(languages: Record<string, number>): string { | ||
| 21 | 20 | 'Dart': '#00B4AB', |
| 22 | 21 | 'Shell': '#89e051', |
| 23 | 22 | 'Elixir': '#6e4a7e', |
| 24 | 'Kotlin': '#F18E33', | |
| 23 | 'Kotlin': '#7F52FF', | |
| 25 | 24 | 'Objective-C': '#438eff', |
| 26 | 'Ruby': '#701516', | |
| 27 | 'Go': '#375eab', | |
| 25 | 'Ruby': '#CC342D', | |
| 26 | 'Go': '#00ADD8', | |
| 28 | 27 | 'PHP': '#4F5D95', |
| 29 | 28 | 'Java': '#b07219', |
| 30 | 29 | 'Scala': '#DC322F', |
| 31 | 30 | 'Makefile': '#427819', |
| 32 | 'Perl': '#0298c3', | |
| 33 | 'Lua': '#000080', | |
| 34 | 'Vue': '#2c3e50', | |
| 35 | 'HTML': '#e44b23', | |
| 36 | 'Swift': '#ffac45', | |
| 37 | 'C': '#555555', | |
| 31 | 'Perl': '#39457E', | |
| 32 | 'Lua': '#2C2D72', | |
| 33 | 'Vue': '#4FC08D', | |
| 34 | 'HTML': '#E34F26', | |
| 35 | 'Swift': '#F05138', | |
| 36 | 'C': '#A8B9CC', | |
| 38 | 37 | 'C#': '#097c01', |
| 39 | 38 | 'Clojure': '#db5855', |
| 40 | 39 | 'Rust': '#dea584', |
| 41 | 40 | 'Assembly': '#6E4C13', |
| 42 | 41 | 'Arduino': '#bd79d1', |
| 43 | 'C Sharp': '#178600', | |
| 42 | 'C Sharp': '#512BD4', | |
| 44 | 43 | 'CSS': '#563d7c', |
| 45 | 44 | 'TeX': '#3D6117', |
| 46 | 45 | 'OCaml': '#3be133', |
| @@ -55,7 +54,9 @@ function generateChartData(languages: Record<string, number>): string { | ||
| 55 | 54 | 'Common Lisp': '#3fb68b', |
| 56 | 55 | 'Groovy': '#e69f56', |
| 57 | 56 | 'Julia': '#a270ba', |
| 58 | 'cpp': '#f34b7d', | |
| 57 | 'cpp': '#00599C', | |
| 58 | 'C++': '#00599C', | |
| 59 | 'Dockerfile': '#2496ED', | |
| 59 | 60 | }; |
| 60 | 61 | |
| 61 | 62 | // Arrays to hold the data, labels, and colors |
| @@ -131,7 +132,7 @@ const languageChart = `https://quickchart.io/chart?c=${generateChartData(gitHubD | ||
| 131 | 132 | <h4>Author</h4> |
| 132 | 133 | <p> |
| 133 | 134 | <img src={gitHubData.info.ownerAvatar} width="20" height="20" /> |
| 134 | <a href={`https://github.com/${gitHubData.info.ownerUsername}`}> | |
| 135 | <a target="_blank" href={`https://github.com/${gitHubData.info.ownerUsername}`}> | |
| 135 | 136 | {gitHubData.info.ownerUsername} |
| 136 | 137 | </a> |
| 137 | 138 | </p> |
| @@ -184,7 +185,9 @@ const languageChart = `https://quickchart.io/chart?c=${generateChartData(gitHubD | ||
| 184 | 185 | {gitHubData.contributors.map((contributor) => ( |
| 185 | 186 | <li> |
| 186 | 187 | <img src={contributor.avatar} width="20" height="20" /> |
| 187 | <a href={`https://github.com/${contributor.username}`}>@{contributor.username}</a> ({contributor.contributions}) | |
| 188 | <a href={`https://github.com/${contributor.username}`} target="_blank"> | |
| 189 | @{contributor.username} | |
| 190 | </a> ({contributor.contributions}) | |
| 188 | 191 | </li> |
| 189 | 192 | ))} |
| 190 | 193 | </ul> |
| @@ -195,7 +198,9 @@ const languageChart = `https://quickchart.io/chart?c=${generateChartData(gitHubD | ||
| 195 | 198 | {gitHubData.commits.map((commit) => ( |
| 196 | 199 | <li> |
| 197 | 200 | <img src={commit.authorAvatar} width="20" height="20" /> |
| 198 | <a href={`https://github.com/${commit.authorUsername}`}>{commit.authorName}</a> | |
| 201 | <a href={`https://github.com/${commit.authorUsername}`} target="_blank"> | |
| 202 | {commit.authorName} | |
| 203 | </a> | |
| 199 | 204 | <span class="date" title={timeAgo(commit.authorDate)}>({formatDate(commit.authorDate)})</span> |
| 200 | 205 | <p class="commit-msg">{commit.message}</p> |
| 201 | 206 | </li> |
web/src/components/things/ItemGitHubMetrics.astro +1 −1
| @@ -90,7 +90,7 @@ const { | ||
| 90 | 90 | <FontAwesome iconName="openSource" /> Open Source |
| 91 | 91 | </span> --> |
| 92 | 92 | <span title={`GitHub repository: ${github}`}> |
| 93 | <a href={`https://github.com/${github}`}><FontAwesome iconName="github" /> {github}</a> | |
| 93 | <a href={`https://github.com/${github}`} target="_blank"><FontAwesome iconName="github" /> {github}</a> | |
| 94 | 94 | </span> |
| 95 | 95 | { stats.statusCode === 200 && stats.data && ( |
| 96 | 96 | <span title={`GitHub Star Count: ${stargazers_count}`}> |
web/src/components/things/ServiceList.astro +32 −12
| @@ -4,6 +4,7 @@ import Button from '@components/form/Button.astro'; | ||
| 4 | 4 | import { parseMarkdown, formatLink } from '@utils/parse-markdown'; |
| 5 | 5 | import type { Service } from 'src/types/Service'; |
| 6 | 6 | import FontAwesome from '@components/form/FontAwesome.svelte'; |
| 7 | import DeleteListing from '@components/things/DeleteListing.svelte'; | |
| 7 | 8 | import { slugify } from '@utils/fetch-data'; |
| 8 | 9 | |
| 9 | 10 | import GitHubMetrics from '@components/things/ItemGitHubMetrics.astro'; |
| @@ -52,9 +53,7 @@ const { | ||
| 52 | 53 | <ul> |
| 53 | 54 | {services.map((service: Service) => ( |
| 54 | 55 | <li id={slugify(service.name)}> |
| 55 | <div class="actions"> | |
| 56 | ||
| 57 | </div> | |
| 56 | <DeleteListing client:load categoryName={categoryName} sectionName={sectionName} serviceName={service.name} /> | |
| 58 | 57 | <div class="service-head"> |
| 59 | 58 | <img |
| 60 | 59 | width="40" |
| @@ -106,7 +105,7 @@ const { | ||
| 106 | 105 | { service.github && !noGitHubMetrics && <GitHubMetrics github={service.github} /> } |
| 107 | 106 | { service.github && noGitHubMetrics && ( |
| 108 | 107 | <span class="meta-item" title={`View ${service.name} on GitHub`}> |
| 109 | <a href={`https://github.com/${service.github}`}> | |
| 108 | <a href={`https://github.com/${service.github}`} target="_blank"> | |
| 110 | 109 | <FontAwesome iconName="github" /> {service.github} |
| 111 | 110 | </a> |
| 112 | 111 | </span> |
| @@ -155,6 +154,7 @@ const { | ||
| 155 | 154 | margin: 0 0 3rem 0; |
| 156 | 155 | li { |
| 157 | 156 | margin-bottom: 1rem; |
| 157 | position: relative; | |
| 158 | 158 | .service-head { |
| 159 | 159 | display: flex; |
| 160 | 160 | align-items: center; |
| @@ -167,6 +167,24 @@ const { | ||
| 167 | 167 | margin: 0; |
| 168 | 168 | font-size: 1.6rem; |
| 169 | 169 | } |
| 170 | ||
| 171 | position: relative; | |
| 172 | &:after { | |
| 173 | background: none repeat scroll 0 0 transparent; | |
| 174 | bottom: 0; | |
| 175 | content: ""; | |
| 176 | display: block; | |
| 177 | height: 3px; | |
| 178 | left: 50%; | |
| 179 | position: absolute; | |
| 180 | background: var(--accent-3); | |
| 181 | transition: width 0.3s ease 0s, left 0.3s ease 0s; | |
| 182 | width: 0; | |
| 183 | } | |
| 184 | &:hover:after { | |
| 185 | width: 100%; | |
| 186 | left: 0; | |
| 187 | } | |
| 170 | 188 | } |
| 171 | 189 | |
| 172 | 190 | .service-icon { |
| @@ -275,14 +293,16 @@ const { | ||
| 275 | 293 | } |
| 276 | 294 | } |
| 277 | 295 | |
| 296 | section :global(.view-all) { | |
| 297 | width: fit-content; | |
| 298 | position: absolute; | |
| 299 | right: 1rem; | |
| 300 | margin-top: -2.5rem; | |
| 301 | background: var(--accent-3); | |
| 302 | } | |
| 278 | 303 | |
| 279 | ||
| 280 | section :global(.view-all) { | |
| 281 | width: fit-content; | |
| 282 | position: absolute; | |
| 283 | right: 1rem; | |
| 284 | margin-top: -2.5rem; | |
| 285 | background: var(--accent-3); | |
| 286 | } | |
| 304 | li:hover :global(.actions) { | |
| 305 | opacity: 0.5; | |
| 306 | } | |
| 287 | 307 | |
| 288 | 308 | </style> |
web/src/components/things/WebsiteDetailedInfo.astro +1 −5
| @@ -39,11 +39,7 @@ else if (risk < 50) riskText = 'risky'; | ||
| 39 | 39 | else if (risk < 75) riskText = 'dangerous'; |
| 40 | 40 | else if (risk >= 75) riskText = 'very dangerous'; |
| 41 | 41 | |
| 42 | ||
| 43 | const clientSideKey = 'cd02a8520c90410bbc32440950bd3b7e'; | |
| 44 | const screenshotOptions = 'format=png&width=960&height=540&ttl=2419200&response_type=image&no_cookie_banners=true&no_ads=true'; | |
| 45 | const screenshotEndpoint = 'https://api.apiflash.com/v1'; | |
| 46 | const screenshotUrl = `${screenshotEndpoint}/urltoimage?access_key=${clientSideKey}&url=${encodeURIComponent(url)}&${screenshotOptions}`; | |
| 42 | const screenshotUrl = `https://screenshot-cache.as93.workers.dev/${url}`; | |
| 47 | 43 | |
| 48 | 44 | --- |
| 49 | 45 | |
web/src/pages/[...listing].astro +82 −4
| @@ -6,6 +6,7 @@ import Comments from '@components/things/Comments.svelte'; | ||
| 6 | 6 | import GitHubDetailedInfo from '@components/things/GitHubDetailedInfo.astro'; |
| 7 | 7 | import PrivacyPolicyDetails from '@components/things/PrivacyPolicyDetails.astro'; |
| 8 | 8 | import WebsiteDetailedInfo from '@components/things/WebsiteDetailedInfo.astro'; |
| 9 | import DataActions from '@components/things/DataActions.svelte'; | |
| 9 | 10 | import type { AwesomePrivacy, Section, Service } from '../types/Service'; |
| 10 | 11 | import { fetchData, slugify } from '@utils/fetch-data'; |
| 11 | 12 | import { fetchGitHubStats } from '@utils/fetch-repo-info'; |
| @@ -123,6 +124,10 @@ const githubData = github ? await fetchGitHubStats(github) : null; | ||
| 123 | 124 | const privacyData = tosdrId ? await fetchTosdrPrivacy(tosdrId) : null; |
| 124 | 125 | const websiteData = (url && !ignoredSites.some(ignoredSite => url.includes(ignoredSite))) ? await fetchWebsiteInfo(url) : null; |
| 125 | 126 | |
| 127 | const getApiEndpoint = () => { | |
| 128 | return `https://api.awesome-privacy.xyz/${slugify(categoryName)}/${slugify(parentSection.name)}/${slugify(name)}`; | |
| 129 | } | |
| 130 | ||
| 126 | 131 | --- |
| 127 | 132 | |
| 128 | 133 | <Layout title={makePageTitle()} keywords={makeKeyWordTag()} description={makeDescriptionTag()} > |
| @@ -171,7 +176,7 @@ const websiteData = (url && !ignoredSites.some(ignoredSite => url.includes(ignor | ||
| 171 | 176 | )} |
| 172 | 177 | { tosdrId && ( |
| 173 | 178 | <li> |
| 174 | <b>ToS;DR:</b> | |
| 179 | <b>Privacy:</b> | |
| 175 | 180 | <a href={`https://tosdr.org/en/service/${tosdrId}`}>{`tosdr.org/en/service/${tosdrId}`}</a> |
| 176 | 181 | </li> |
| 177 | 182 | )} |
| @@ -247,6 +252,29 @@ const websiteData = (url && !ignoredSites.some(ignoredSite => url.includes(ignor | ||
| 247 | 252 | sectionName={parentSection.name} |
| 248 | 253 | /> |
| 249 | 254 | </section> |
| 255 | <section> | |
| 256 | <h3>About the Data: {name}</h3> | |
| 257 | <DataActions client:load categoryName={categoryName} sectionName={parentSection.name} serviceName={name} /> | |
| 258 | <h4>API</h4> | |
| 259 | <p> | |
| 260 | You can access {name}'s data programmatically via our API. | |
| 261 | Simply make a <code>GET</code> request to: | |
| 262 | </p> | |
| 263 | <pre><a href={getApiEndpoint()}><code>{getApiEndpoint()}</code></a></pre> | |
| 264 | <p> | |
| 265 | The REST API is free, no-auth and CORS-enabled. | |
| 266 | To learn more, view the <a href="/api/docs">Swagger Docs</a> or read the <a href="/about#our-api">API Usage Guide</a>. | |
| 267 | </p> | |
| 268 | ||
| 269 | <h4>About the Data</h4> | |
| 270 | <p> | |
| 271 | Beyond the user-submitted YAML you see above, we also augment each listing with | |
| 272 | additional data dynamically fetched from several sources. | |
| 273 | To learn more about where the rest of data included in this page comes from, | |
| 274 | and how it is computed, | |
| 275 | see the <a href="/about#our-data">About the Data</a> section of our About page. | |
| 276 | </p> | |
| 277 | </section> | |
| 250 | 278 | |
| 251 | 279 | <div class="pagination-navigation"> |
| 252 | 280 | { previous ? ( |
| @@ -276,6 +304,11 @@ main { | ||
| 276 | 304 | width: 1000px; |
| 277 | 305 | max-width: calc(100% - 5rem); |
| 278 | 306 | position: relative; |
| 307 | @media(max-width: 768px) { | |
| 308 | max-width: 95%; | |
| 309 | padding: 0.5rem; | |
| 310 | margin: 0 auto; | |
| 311 | } | |
| 279 | 312 | } |
| 280 | 313 | |
| 281 | 314 | section { |
| @@ -289,6 +322,10 @@ section { | ||
| 289 | 322 | |
| 290 | 323 | } |
| 291 | 324 | |
| 325 | p { | |
| 326 | margin: 0.25rem 0 0.5rem 0; | |
| 327 | } | |
| 328 | ||
| 292 | 329 | h3 { |
| 293 | 330 | font-size: 2rem; |
| 294 | 331 | margin: -2rem 0 1rem -2rem; |
| @@ -297,12 +334,18 @@ h3 { | ||
| 297 | 334 | color: var(--accent-fg); |
| 298 | 335 | width: fit-content; |
| 299 | 336 | padding: 0.25rem 0.5rem; |
| 337 | @media(max-width: 768px) { | |
| 338 | margin: -2rem auto 2rem auto; | |
| 339 | } | |
| 300 | 340 | } |
| 301 | 341 | |
| 302 | 342 | .service-head { |
| 303 | 343 | h2 { |
| 304 | 344 | font-size: 3rem; |
| 305 | 345 | margin: 0; |
| 346 | @media(max-width: 768px) { | |
| 347 | text-align: center; | |
| 348 | } | |
| 306 | 349 | } |
| 307 | 350 | .url-wrap { |
| 308 | 351 | display: flex; |
| @@ -315,6 +358,9 @@ h3 { | ||
| 315 | 358 | font-style: italic; |
| 316 | 359 | opacity: 0.6; |
| 317 | 360 | } |
| 361 | @media(max-width: 768px) { | |
| 362 | flex-direction: column; | |
| 363 | } | |
| 318 | 364 | } |
| 319 | 365 | |
| 320 | 366 | } |
| @@ -333,6 +379,14 @@ h3 { | ||
| 333 | 379 | color: var(--accent); |
| 334 | 380 | } |
| 335 | 381 | } |
| 382 | @media(max-width: 768px) { | |
| 383 | display: none; | |
| 384 | } | |
| 385 | } | |
| 386 | ||
| 387 | h4 { | |
| 388 | font-size: 1.4rem; | |
| 389 | margin-bottom: 0; | |
| 336 | 390 | } |
| 337 | 391 | |
| 338 | 392 | .intro { |
| @@ -341,12 +395,15 @@ h3 { | ||
| 341 | 395 | opacity: 0.9; |
| 342 | 396 | display: flex; |
| 343 | 397 | gap: 0.5rem; |
| 398 | @media(max-width: 768px) { | |
| 399 | flex-direction: column; | |
| 400 | } | |
| 344 | 401 | .service-icon { |
| 345 | 402 | border-radius: var(--curve-md); |
| 346 | 403 | margin-top: 1rem; |
| 347 | } | |
| 348 | h4 { | |
| 349 | margin-bottom: 0; | |
| 404 | @media(max-width: 768px) { | |
| 405 | margin: 1rem auto 0 auto; | |
| 406 | } | |
| 350 | 407 | } |
| 351 | 408 | ul { |
| 352 | 409 | padding-left: 1rem; |
| @@ -359,6 +416,10 @@ h3 { | ||
| 359 | 416 | font-weight: 400; |
| 360 | 417 | min-width: 85px; |
| 361 | 418 | display: inline-block; |
| 419 | @media(max-width: 768px) { | |
| 420 | width: auto; | |
| 421 | display: block; | |
| 422 | } | |
| 362 | 423 | } |
| 363 | 424 | } |
| 364 | 425 | } |
| @@ -439,6 +500,23 @@ h3 { | ||
| 439 | 500 | } |
| 440 | 501 | } |
| 441 | 502 | |
| 503 | pre { | |
| 504 | a { | |
| 505 | text-decoration: none; | |
| 506 | color: var(--foreground); | |
| 507 | code { | |
| 508 | background: #acabb782; | |
| 509 | padding: 0.2rem 0.4rem; | |
| 510 | border-radius: var(--curve-sm); | |
| 511 | font-family: Courier New; | |
| 512 | font-size: 0.9rem; | |
| 513 | @media(max-width: 768px) { | |
| 514 | white-space: break-spaces; | |
| 515 | } | |
| 516 | } | |
| 517 | } | |
| 518 | } | |
| 519 | ||
| 442 | 520 | .highlights { |
| 443 | 521 | display: flex; |
| 444 | 522 | gap: 1rem; |
web/src/pages/about.astro +62 −4
| @@ -32,6 +32,41 @@ const licenseContent = async () => { | ||
| 32 | 32 | return await response.text(); |
| 33 | 33 | }; |
| 34 | 34 | |
| 35 | const aboutOurData = ` | |
| 36 | All data is stored in | |
| 37 | [\`awesome-privacy.yml\`](https://github.com/lissy93/awesome-privacy/blob/main/awesome-privacy.yml). | |
| 38 | ||
| 39 | This file is then pulled into the website at build-time, and also used to generate | |
| 40 | the repositories README file. | |
| 41 | We use this method in the interest of transparency and data integrity, | |
| 42 | as Git makes it possible to maintain a full log of what was changed, when, by who and why. | |
| 43 | ||
| 44 | ### Augmention | |
| 45 | The data is augmented with some extra info, to add additional context to each service. | |
| 46 | The aim of this is to give you a broader picture of each service, to help you make a more informed decision. | |
| 47 | Currently, this extra data is pulled from: | |
| 48 | ||
| 49 | - **GitHub API** - To fetch info about each project's repository | |
| 50 | - Including author & contributors, creation & last updated date, languages, license and star count | |
| 51 | - **Web Check** - To fetch info about each project's website | |
| 52 | - Including SSL chain, WHOIS, server location, blacklist check and a screenshot | |
| 53 | - **ToS;DR** - To fetch a summerized version of each services Privacy Policy | |
| 54 | - Including policy and terms of service links, postives + negatives and privacy score | |
| 55 | - **User Reviews** - User-submitted comments + feedback on a given service | |
| 56 | - Implemented using self-hosted instance of Remark42 | |
| 57 | - **Portainer Templates** - To fetch info about each project's Docker image (if it's self-hosted) | |
| 58 | - Including supported architectures, run command, pull count, last updated and config options | |
| 59 | ||
| 60 | ### API | |
| 61 | We also have a free, no-auth, CORS-enabled RESR API, | |
| 62 | which you can use to access Awesome Privacy's data programmatically, | |
| 63 | or to build your own apps on top of it. | |
| 64 | ||
| 65 | The [Swagger Spec](#) outlines all endpoints, usage and examples. | |
| 66 | ||
| 67 | The host is: \`https://api.awesome-privacy.xyz\` | |
| 68 | `; | |
| 69 | ||
| 35 | 70 | const projectRequrements = ` |
| 36 | 71 | For software to be included in this list, it must meet the following requirements: |
| 37 | 72 | |
| @@ -43,13 +78,16 @@ For software to be included in this list, it must meet the following requirement | ||
| 43 | 78 | - The software must be secure by default, without requiring additional configuration |
| 44 | 79 | - There should be no current, critical security issues |
| 45 | 80 | - The handling of past issues must have been prompt, transparent and effective |
| 81 | - Ideally hosted services should have been security audited, with the report published publicly | |
| 46 | 82 | - **Open Source** |
| 47 | 83 | - The full source code should be released under an open source license |
| 48 | 84 | - Ideally it should be possible for the user to build and run/deploy the software themselves from source |
| 49 | 85 | - **Actively Maintained** |
| 50 | 86 | - The developers should address dependency updates and security patches in a timely manner |
| 87 | - Ideally the source should have been updated within the last 12 months | |
| 51 | 88 | - **Transparent** |
| 52 | 89 | - It should be clear who is behind the project, what their motives are, and what (if any) the funding model is |
| 90 | - For hosted solutions, the privacy policy should clearly state what data is collected, how it's used and how long it's stored | |
| 53 | 91 | - **Ethical** |
| 54 | 92 | - Must not suppress free speech, discriminate or disregard any human rights |
| 55 | 93 | - **Relevant** |
| @@ -176,6 +214,10 @@ const description = 'Privacy is a fundamental human right; ' | ||
| 176 | 214 | <div class="software-requirements"><p set:html={parseMarkdown(projectRequrements)}></p></div> |
| 177 | 215 | <hr /> |
| 178 | 216 | |
| 217 | <h2 id="our-data">Our Data</h2> | |
| 218 | <div class="about-the-data"><p set:html={parseMarkdown(aboutOurData)}></p></div> | |
| 219 | <hr /> | |
| 220 | ||
| 179 | 221 | <h2 id="contributing">Contributing</h2> |
| 180 | 222 | <p> |
| 181 | 223 | Awesome Privacy (including all data and code) is fully open source, |
| @@ -305,7 +347,7 @@ h2 { | ||
| 305 | 347 | margin: 2rem 0 1rem 0; |
| 306 | 348 | } |
| 307 | 349 | p { |
| 308 | font-size: 1.4rem; | |
| 350 | font-size: 1.2rem; | |
| 309 | 351 | } |
| 310 | 352 | hr { |
| 311 | 353 | margin: 2rem 0; |
| @@ -323,14 +365,15 @@ h3 { | ||
| 323 | 365 | font-size: 1.6rem; |
| 324 | 366 | } |
| 325 | 367 | |
| 326 | .software-requirements { | |
| 368 | .software-requirements, .about-the-data { | |
| 327 | 369 | :global(p) { |
| 328 | font-size: 1.4rem; | |
| 370 | font-size: 1.2rem; | |
| 371 | margin: 0 0 0.5rem 0; | |
| 329 | 372 | } |
| 330 | 373 | :global(ul) { |
| 331 | 374 | padding-left: 0.5rem; |
| 332 | 375 | list-style: none; |
| 333 | font-size: 1.1rem; | |
| 376 | font-size: 1.2rem; | |
| 334 | 377 | :global(li ul) { |
| 335 | 378 | padding: 0 0 0.5rem 1rem; |
| 336 | 379 | list-style: circle; |
| @@ -341,6 +384,20 @@ h3 { | ||
| 341 | 384 | transition: color 0.2s ease-in-out; |
| 342 | 385 | color: var(--accent-3); |
| 343 | 386 | } |
| 387 | :global(h3) { | |
| 388 | font-size: 1.6rem; | |
| 389 | margin-bottom: 0; | |
| 390 | } | |
| 391 | :global(strong) { | |
| 392 | font-weight: 500; | |
| 393 | } | |
| 394 | :global(code) { | |
| 395 | font-family: 'Courier New', Courier, monospace; | |
| 396 | background: #acabb782; | |
| 397 | padding: 0.2rem 0.4rem; | |
| 398 | border-radius: var(--curve-sm); | |
| 399 | font-size: 0.9rem; | |
| 400 | } | |
| 344 | 401 | } |
| 345 | 402 | |
| 346 | 403 | .user-list { |
| @@ -401,6 +458,7 @@ h3 { | ||
| 401 | 458 | max-width: 550px; |
| 402 | 459 | margin: 0 auto; |
| 403 | 460 | } |
| 461 | ||
| 404 | 462 | small { |
| 405 | 463 | font-size: 1rem; |
| 406 | 464 | margin: 1rem 0; |
web/src/styles/typography.css +1 −1
| @@ -84,7 +84,7 @@ code { | ||
| 84 | 84 | font-style: normal; |
| 85 | 85 | } |
| 86 | 86 | |
| 87 | html, body, p, a, ul, ol, li, blockquote, pre, code, strong, i { | |
| 87 | html, body, p, a, ul, ol, li, blockquote, pre, strong, i { | |
| 88 | 88 | font-family: "Rubik", sans-serif; |
| 89 | 89 | } |
| 90 | 90 | |