Skip to content

Commit

Permalink
chore: improve legal documents formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
nijel committed Nov 14, 2024
1 parent 4a4ecbb commit 634997c
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 8 deletions.
Binary file not shown.
Binary file modified weblate_web/legal/static/Weblate_Privacy_Policy.pdf
Binary file not shown.
3 changes: 1 addition & 2 deletions weblate_web/legal/templates/pdf/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,10 @@

<body>
<header>
<h1>{{ title }}</h1>
<img class="logo" src="invoices:invoice-logo.svg" alt="Weblate">
</header>

<h1>{{ title }}</h1>

{% block content %}
{% endblock content %}

Expand Down
12 changes: 6 additions & 6 deletions weblate_web/legal/templates/pdf/legal.css
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,15 @@ header {
}

h1 {
font-size: 18pt;
font-size: 14pt;
padding-top: 3mm;
margin: 0;
position: absolute;
top: 0;
right: 0;
}
img {
position: absolute;
max-width: 30%;
margin: 0;
padding: 0;
right: 0;
}
.tos {
counter-reset: tos_chapter;
Expand All @@ -57,7 +57,7 @@ img {
}
.tos p,
.tos dl {
padding: 0 3.5em;
padding: 0 0 0 3.5em;
}
.tos p.item {
counter-reset: tos_subitem;
Expand Down

0 comments on commit 634997c

Please sign in to comment.