web/about: replace the godawful margin workaround

This commit is contained in:
wukko 2024-09-07 20:29:13 +06:00
parent f03f849b99
commit 0ce743d13f
No known key found for this signature in database
GPG key ID: 3E30B3F26C7B4AA2
4 changed files with 7 additions and 4 deletions

View file

@ -463,10 +463,13 @@
} }
:global(.long-text-noto h3) { :global(.long-text-noto h3) {
margin-bottom: -10px;
font-size: 17px; font-size: 17px;
} }
:global(.long-text-noto.about section p:first-of-type) {
margin-block-start: 0.3em;
}
@media screen and (max-width: 535px) { @media screen and (max-width: 535px) {
:global(.long-text-noto), :global(.long-text-noto),
:global(.long-text-noto *:not(h1, h2, h3, h4, h5, h6)) { :global(.long-text-noto *:not(h1, h2, h3, h4, h5, h6)) {

View file

@ -3,7 +3,7 @@
import OuterLink from "$components/misc/OuterLink.svelte"; import OuterLink from "$components/misc/OuterLink.svelte";
</script> </script>
<div id="privacy-body" class="long-text-noto"> <div id="privacy-body" class="long-text-noto about">
<section id="saving"> <section id="saving">
<h3>best way to save what you love</h3> <h3>best way to save what you love</h3>
<p> <p>

View file

@ -4,7 +4,7 @@
import OuterLink from "$components/misc/OuterLink.svelte"; import OuterLink from "$components/misc/OuterLink.svelte";
</script> </script>
<div id="privacy-body" class="long-text-noto"> <div id="privacy-body" class="long-text-noto about">
<section id="general"> <section id="general">
<h3>general terms</h3> <h3>general terms</h3>
<p> <p>

View file

@ -1,4 +1,4 @@
<div id="terms-body" class="long-text-noto"> <div id="terms-body" class="long-text-noto about">
<section id="saving"> <section id="saving">
<section id="general"> <section id="general">
<h3>general terms</h3> <h3>general terms</h3>