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 { |
| 135 | gap: 0.5rem; |
135 | gap: 0.5rem; |
| 136 | img { |
136 | img { |
| 137 | border-radius: var(--curve-sm); |
137 | border-radius: var(--curve-sm); |
| |
138 | font-size: 0.6rem; |
| |
139 | color: var(--accent); |
| 138 | } |
140 | } |
| 139 | :global(p) { |
141 | :global(p) { |
| 140 | display: -webkit-box; |
142 | display: -webkit-box; |
| @@ -157,7 +159,7 @@ const { |
| 157 | display: inline-flex; |
159 | display: inline-flex; |
| 158 | align-items: center; |
160 | align-items: center; |
| 159 | gap: 0.25rem; |
161 | gap: 0.25rem; |
| 160 | opacity: 0.7; |
162 | opacity: 0.85; |
| 161 | text-decoration: none; |
163 | text-decoration: none; |
| 162 | max-width: 50%; |
164 | max-width: 50%; |
| 163 | min-width: 25%; |
165 | min-width: 25%; |
| @@ -166,7 +168,7 @@ const { |
| 166 | } |
168 | } |
| 167 | &:hover { |
169 | &:hover { |
| 168 | text-decoration: underline; |
170 | text-decoration: underline; |
| 169 | opacity: 0.8; |
171 | opacity: 1; |
| 170 | } |
172 | } |
| 171 | :global(svg) { |
173 | :global(svg) { |
| 172 | width: 1rem; |
174 | width: 1rem; |
web/src/layouts/Layout.astro
+2 −1
| @@ -22,7 +22,7 @@ const { |
| 22 | --- |
22 | --- |
| 23 | |
23 | |
| 24 | <!doctype html> |
24 | <!doctype html> |
| 25 | <html lang="en"> |
25 | <html lang="en" data-theme="dark"> |
| 26 | <head> |
26 | <head> |
| 27 | |
27 | |
| 28 | <ViewTransitions /> |
28 | <ViewTransitions /> |
| @@ -93,4 +93,5 @@ const { |
| 93 | /* background: -webkit-radial-gradient(circle, var(--bg-gradient-comp-1) 0%, var(--bg-gradient-comp-2) 100%); |
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%); */ |
94 | background: radial-gradient(circle, var(--bg-gradient-comp-1) 0%, var(--bg-gradient-comp-2) 100%); */ |
| 95 | } |
95 | } |
| |
96 | |
| 96 | </style> |
97 | </style> |
web/src/pages/[category].astro
+1
| @@ -51,6 +51,7 @@ const { previous, next } = makePaginationLinks(); |
| 51 | <Layout title={`${title} | Awesome Privacy`}> |
51 | <Layout title={`${title} | Awesome Privacy`}> |
| 52 | <Main> |
52 | <Main> |
| 53 | <SectionList title={title} sections={sections} bigTitle={true} /> |
53 | <SectionList title={title} sections={sections} bigTitle={true} /> |
| |
54 | <a href={`/all#${slugify(title)}`}>Browse All</a> |
| 54 | <div class="pagination-navigation"> |
55 | <div class="pagination-navigation"> |
| 55 | { previous ? ( |
56 | { previous ? ( |
| 56 | <Button url={`/${slugify(previous)}`}> |
57 | <Button url={`/${slugify(previous)}`}> |
web/src/pages/about.astro
+1 −1
| @@ -449,7 +449,7 @@ h3 { |
| 449 | .license-content { |
449 | .license-content { |
| 450 | max-height: 500px; |
450 | max-height: 500px; |
| 451 | overflow: scroll; |
451 | overflow: scroll; |
| 452 | background: #e6e6ee; |
452 | background: var(--background-form); |
| 453 | width: fit-content; |
453 | width: fit-content; |
| 454 | border-radius: var(--curve-sm); |
454 | border-radius: var(--curve-sm); |
| 455 | padding: 0.5rem; |
455 | padding: 0.5rem; |
web/src/pages/all.astro
+2 −1
| @@ -135,7 +135,7 @@ main { |
| 135 | text-align: justify; |
135 | text-align: justify; |
| 136 | width: 600px; |
136 | width: 600px; |
| 137 | margin: 0 auto; |
137 | margin: 0 auto; |
| 138 | background: #ffffff4d; |
138 | background: var(--background-form); |
| 139 | padding: 1rem; |
139 | padding: 1rem; |
| 140 | border-radius: var(--curve-sm); |
140 | border-radius: var(--curve-sm); |
| 141 | } |
141 | } |
| @@ -146,6 +146,7 @@ main { |
| 146 | outline: none; |
146 | outline: none; |
| 147 | border: none; |
147 | border: none; |
| 148 | cursor: pointer; |
148 | cursor: pointer; |
| |
149 | color: var(--accent); |
| 149 | &:hover { |
150 | &:hover { |
| 150 | text-decoration: underline; |
151 | text-decoration: underline; |
| 151 | } |
152 | } |
web/src/pages/browse.astro
+1
| @@ -129,6 +129,7 @@ if (typeof window !== 'undefined') { |
| 129 | font-size: 1.2rem; |
129 | font-size: 1.2rem; |
| 130 | box-shadow: 3px 3px 0 var(--box-outline); |
130 | box-shadow: 3px 3px 0 var(--box-outline); |
| 131 | color: var(--accent-3); |
131 | color: var(--accent-3); |
| |
132 | background: var(--background-form); |
| 132 | &:focus { |
133 | &:focus { |
| 133 | outline: none; |
134 | outline: none; |
| 134 | box-shadow: 4px 4px 0 var(--box-outline); |
135 | 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 || []; |
| 80 | </ul> |
80 | </ul> |
| 81 | </li> |
81 | </li> |
| 82 | <li> |
82 | <li> |
| 83 | <a href="/map">Sitemap</a> |
83 | <a href="/sitemap">Sitemap</a> |
| 84 | </li> |
84 | </li> |
| 85 | </ul> |
85 | </ul> |
| 86 | </main> |
86 | </main> |
| @@ -218,6 +218,7 @@ h2 { |
| 218 | font-size: 1rem; |
218 | font-size: 1rem; |
| 219 | box-shadow: 3px 3px 0 var(--box-outline); |
219 | box-shadow: 3px 3px 0 var(--box-outline); |
| 220 | color: var(--accent-3); |
220 | color: var(--accent-3); |
| |
221 | background: var(--background-form); |
| 221 | &:focus { |
222 | &:focus { |
| 222 | outline: none; |
223 | outline: none; |
| 223 | box-shadow: 4px 4px 0 var(--box-outline); |
224 | box-shadow: 4px 4px 0 var(--box-outline); |