Commit 73467b3e7c

73467b3e7c0ada841a649bb65048e00d747335f3

parent: 37a3b6f879

Unsigned

Alicia Sykes <alicia@omg.lol> · 2024-03-25 11:21 UTC

Styling tweaks

Layout: unified · split

web/src/components/things/ServiceCard.astro +4 −2
@@ -135,6 +135,8 @@ const {
135135 gap: 0.5rem;
136136 img {
137137 border-radius: var(--curve-sm);
138 font-size: 0.6rem;
139 color: var(--accent);
138140 }
139141 :global(p) {
140142 display: -webkit-box;
@@ -157,7 +159,7 @@ const {
157159 display: inline-flex;
158160 align-items: center;
159161 gap: 0.25rem;
160 opacity: 0.7;
162 opacity: 0.85;
161163 text-decoration: none;
162164 max-width: 50%;
163165 min-width: 25%;
@@ -166,7 +168,7 @@ const {
166168 }
167169 &:hover {
168170 text-decoration: underline;
169 opacity: 0.8;
171 opacity: 1;
170172 }
171173 :global(svg) {
172174 width: 1rem;
web/src/layouts/Layout.astro +2 −1
@@ -22,7 +22,7 @@ const {
2222---
2323
2424<!doctype html>
25<html lang="en">
25<html lang="en" data-theme="dark">
2626 <head>
2727
2828 <ViewTransitions />
@@ -93,4 +93,5 @@ const {
9393 /* background: -webkit-radial-gradient(circle, var(--bg-gradient-comp-1) 0%, var(--bg-gradient-comp-2) 100%);
9494 background: radial-gradient(circle, var(--bg-gradient-comp-1) 0%, var(--bg-gradient-comp-2) 100%); */
9595 }
96
9697</style>
web/src/pages/[category].astro +1
@@ -51,6 +51,7 @@ const { previous, next } = makePaginationLinks();
5151<Layout title={`${title} | Awesome Privacy`}>
5252 <Main>
5353 <SectionList title={title} sections={sections} bigTitle={true} />
54 <a href={`/all#${slugify(title)}`}>Browse All</a>
5455 <div class="pagination-navigation">
5556 { previous ? (
5657 <Button url={`/${slugify(previous)}`}>
web/src/pages/about.astro +1 −1
@@ -449,7 +449,7 @@ h3 {
449449.license-content {
450450 max-height: 500px;
451451 overflow: scroll;
452 background: #e6e6ee;
452 background: var(--background-form);
453453 width: fit-content;
454454 border-radius: var(--curve-sm);
455455 padding: 0.5rem;
web/src/pages/all.astro +2 −1
@@ -135,7 +135,7 @@ main {
135135 text-align: justify;
136136 width: 600px;
137137 margin: 0 auto;
138 background: #ffffff4d;
138 background: var(--background-form);
139139 padding: 1rem;
140140 border-radius: var(--curve-sm);
141141}
@@ -146,6 +146,7 @@ main {
146146 outline: none;
147147 border: none;
148148 cursor: pointer;
149 color: var(--accent);
149150 &:hover {
150151 text-decoration: underline;
151152 }
web/src/pages/browse.astro +1
@@ -129,6 +129,7 @@ if (typeof window !== 'undefined') {
129129 font-size: 1.2rem;
130130 box-shadow: 3px 3px 0 var(--box-outline);
131131 color: var(--accent-3);
132 background: var(--background-form);
132133 &:focus {
133134 outline: none;
134135 box-shadow: 4px 4px 0 var(--box-outline);
web/src/pages/sitemap.astro +2 −1
@@ -80,7 +80,7 @@ const categories = (await fetchData() as AwesomePrivacy)?.categories || [];
8080 </ul>
8181 </li>
8282 <li>
83 <a href="/map">Sitemap</a>
83 <a href="/sitemap">Sitemap</a>
8484 </li>
8585 </ul>
8686 </main>
@@ -218,6 +218,7 @@ h2 {
218218 font-size: 1rem;
219219 box-shadow: 3px 3px 0 var(--box-outline);
220220 color: var(--accent-3);
221 background: var(--background-form);
221222 &:focus {
222223 outline: none;
223224 box-shadow: 4px 4px 0 var(--box-outline);