This is an automated email from the ASF dual-hosted git repository.
sbp pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tooling-trusted-release.git
The following commit(s) were added to refs/heads/main by this push:
new 993331b Compress vertical spacing in the sidebar
993331b is described below
commit 993331b072f1d52c6dce1a8036163f17cc97d7a3
Author: Sean B. Palmer <[email protected]>
AuthorDate: Wed Apr 9 14:53:47 2025 +0100
Compress vertical spacing in the sidebar
Closes #22.
---
atr/static/css/atr.css | 13 ++++++++-----
atr/templates/includes/sidebar.html | 18 +++++++++---------
2 files changed, 17 insertions(+), 14 deletions(-)
diff --git a/atr/static/css/atr.css b/atr/static/css/atr.css
index 1ac5846..9a9c243 100644
--- a/atr/static/css/atr.css
+++ b/atr/static/css/atr.css
@@ -123,19 +123,22 @@ table tr:last-child {
}
aside h1 {
- font-size: 3rem;
- line-height: 1.1;
+ font-size: 2rem;
+ line-height: 1;
text-align: center;
+ letter-spacing: 2px;
}
aside h1 span.rest {
- color: #777777;
+ color: #666666;
}
aside h3 {
margin-top: 1.5rem;
+ margin-bottom: 0.5rem;
}
+
pre {
white-space: pre-wrap;
@@ -241,7 +244,7 @@ span.warning {
text-align: center;
border-top: 1px solid #d1d2d3;
border-bottom: 1px solid #d1d2d3;
- padding: 1.5rem 0;
+ padding: .5rem 0;
}
.sidebar hr {
@@ -261,7 +264,7 @@ span.warning {
}
.sidebar nav li {
- margin-bottom: 1rem;
+ margin-bottom: 0.5rem;
}
.hamburger {
diff --git a/atr/templates/includes/sidebar.html
b/atr/templates/includes/sidebar.html
index bc45974..3901a9c 100644
--- a/atr/templates/includes/sidebar.html
+++ b/atr/templates/includes/sidebar.html
@@ -27,15 +27,6 @@
{% endif %}
</div>
<nav>
- <h3>Home</h3>
- <ul>
- <li>
- <i class="fa-solid fa-house"></i>
- <a href="{{ as_url(routes.root.index) }}"
- {% if request.endpoint == 'root' %}class="active"{% endif
%}>About</a>
- </li>
- </ul>
-
{% if current_user %}
<h3>Release candidate drafts</h3>
<ul>
@@ -86,6 +77,15 @@
</li>
</ul>
+ <h3>Documentation</h3>
+ <ul>
+ <li>
+ <i class="fa-solid fa-house"></i>
+ <a href="{{ as_url(routes.root.index) }}"
+ {% if request.endpoint == 'root' %}class="active"{% endif
%}>About</a>
+ </li>
+ </ul>
+
<h3>Organisation</h3>
<ul>
<li>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]