Skip to content

Commit

Permalink
feat: improve contents for community page
Browse files Browse the repository at this point in the history
  • Loading branch information
josecelano committed Sep 30, 2024
1 parent dd1a05c commit ff31c2f
Show file tree
Hide file tree
Showing 4 changed files with 193 additions and 108 deletions.
17 changes: 14 additions & 3 deletions src/lib/components/singletons/TorrustIndexPost.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
<li>SQLite 3 or MySQL 8.0.</li>
<li>Rust Stable 1.68 if you compile from sources.</li>
<li>
A running Torrust Tracker. You can check the <a href="#torrust-tracker">Tracker</a> page for
A running Torrust Tracker. You can check the <a href="/torrent-tracker">Tracker</a> page for
installation instructions.
</li>
</ul>
Expand Down Expand Up @@ -245,17 +245,28 @@ cd /tmp \
}
.content {
margin-top: 3rem;
margin-top: 2rem;
}
h1 {
padding-top: 1rem;
font-size: 2.25rem;
}
h2 {
font-size: 1.875rem;
padding-top: 0.5rem;
font-size: 1.8rem;
}
h2:not(:first-of-type) {
padding-top: 1.5rem; /* Add top padding to all h2 elements except the first one */
}
h3 {
padding-top: 2rem;
font-size: 1.3rem;
}
p {
font-size: 1rem;
padding-top: 1.5rem;
Expand Down
16 changes: 13 additions & 3 deletions src/routes/(pages)/about/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -254,16 +254,26 @@
}
.content {
margin-top: 3rem;
margin-top: 2rem;
}
h1 {
padding-top: 4rem;
padding-top: 1rem;
font-size: 2.25rem;
}
h2 {
font-size: 1.875rem;
padding-top: 0.5rem;
font-size: 1.8rem;
}
h2:not(:first-of-type) {
padding-top: 1.5rem; /* Add top padding to all h2 elements except the first one */
}
h3 {
padding-top: 2rem;
font-size: 1.3rem;
}
h2:not(:first-of-type) {
Expand Down
Loading

0 comments on commit ff31c2f

Please sign in to comment.