Skip to content

Commit 34adb56

Browse files
jamezpclaude
andcommitted
Polish UI and fix styling issues across site
- Remove "Distributed peace of mind" tagline from navigation - Remove unused Build menu item from nav and footer - Add Project Governance section to Community page - Change Discussions button to outline style for consistency - Fix gRPC docs links affected by :last-child selector - Improve dark mode table row alternation visibility - Truncate banner on mobile instead of scaling - Increase checklist item min-height for better spacing Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> Signed-off-by: James R. Perkins <jperkins@ibm.com>
1 parent e59d6d5 commit 34adb56

5 files changed

Lines changed: 29 additions & 35 deletions

File tree

content/community.md

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Welcome to the RESTEasy community! We're a friendly group of developers building
1919
<p class="card-text">
2020
Ask questions, share ideas, and connect with other RESTEasy users and developers. Our GitHub Discussions is the best place to get help and engage with the community.
2121
</p>
22-
<a href="https://github.com/resteasy/resteasy/discussions" class="btn btn-primary">
22+
<a href="https://github.com/resteasy/resteasy/discussions" class="btn btn-outline-primary">
2323
Join Discussions <i class="fas fa-arrow-right"></i>
2424
</a>
2525
</div>
@@ -129,7 +129,7 @@ Welcome to the RESTEasy community! We're a friendly group of developers building
129129

130130
## Governance
131131

132-
<div class="alert alert-info d-flex align-items-center" role="alert">
132+
<div class="alert alert-info d-flex align-items-center mb-3" role="alert">
133133
<i class="fas fa-info-circle fa-2x me-3"></i>
134134
<div>
135135
<h4 class="alert-heading">Commonhaus Foundation</h4>
@@ -140,8 +140,13 @@ Welcome to the RESTEasy community! We're a friendly group of developers building
140140
</div>
141141
</div>
142142

143-
## Release Notes
144-
145-
Stay up to date with the latest changes, improvements, and bug fixes:
146-
147-
- [Release Notes Archive](https://issues.redhat.com/jira/secure/ConfigureReleaseNote.jspa?projectId=12310560)
143+
<div class="alert alert-secondary d-flex align-items-center" role="alert">
144+
<i class="fas fa-gavel fa-2x me-3"></i>
145+
<div>
146+
<h4 class="alert-heading">Project Governance</h4>
147+
<p class="mb-0">
148+
RESTEasy follows a transparent governance model. Review our <a href="https://github.com/resteasy/.github/blob/main/GOVERNANCE.md" target="_blank" class="alert-link">Governance Document</a>
149+
to learn about project leadership, decision-making processes, and how you can get involved.
150+
</p>
151+
</div>
152+
</div>

content/docs.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ <h4 class="release-title">RESTEasy {detail.version} <small>({detail.date})</smal
3535
{/if}
3636
</ul>
3737
</div>
38-
<div>
38+
<div class="older-releases">
3939
<a href="{site.url('docs/all')}#{detail.version.replace('.','')}">Older Releases</a>
4040
</div>
4141
</div>

public/css/bootstrap-theme.css

Lines changed: 16 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,13 @@ body#project {
115115
margin-bottom: 0.25rem !important;
116116
}
117117

118+
/* Truncate banner logo on mobile instead of scaling */
119+
@media (max-width: 768px) {
120+
#banner {
121+
overflow: hidden !important;
122+
}
123+
}
124+
118125
#projectname {
119126
all: unset !important;
120127
display: block !important;
@@ -125,14 +132,6 @@ body#project {
125132
letter-spacing: -0.02em !important;
126133
}
127134

128-
#tagline {
129-
all: unset !important;
130-
display: block !important;
131-
font-size: 0.95rem !important;
132-
color: var(--resteasy-text-muted) !important;
133-
margin: 0 !important;
134-
}
135-
136135
/* ============================================
137136
NAVIGATION - Bootstrap Navbar Style
138137
============================================ */
@@ -946,19 +945,19 @@ table tbody tr:last-child td,
946945
margin-bottom: 1rem !important;
947946
}
948947

949-
.release > div:last-child {
948+
.release > div.older-releases {
950949
padding-top: 0.5rem !important;
951950
border-top: 1px solid var(--resteasy-border) !important;
952951
margin-top: 0.5rem !important;
953952
}
954953

955-
.release > div:last-child a {
954+
.release > div.older-releases a {
956955
color: var(--resteasy-text-muted) !important;
957956
font-size: 0.875rem !important;
958957
text-decoration: none !important;
959958
}
960959

961-
.release > div:last-child a:hover {
960+
.release > div.older-releases a:hover {
962961
color: var(--resteasy-primary) !important;
963962
text-decoration: underline !important;
964963
}
@@ -1011,15 +1010,15 @@ table tbody tr:last-child td,
10111010
color: var(--resteasy-accent-light) !important;
10121011
}
10131012

1014-
[data-bs-theme="dark"] .release > div:last-child {
1013+
[data-bs-theme="dark"] .release > div.older-releases {
10151014
border-top-color: var(--resteasy-border) !important;
10161015
}
10171016

1018-
[data-bs-theme="dark"] .release > div:last-child a {
1017+
[data-bs-theme="dark"] .release > div.older-releases a {
10191018
color: #8b949e !important;
10201019
}
10211020

1022-
[data-bs-theme="dark"] .release > div:last-child a:hover {
1021+
[data-bs-theme="dark"] .release > div.older-releases a:hover {
10231022
color: var(--resteasy-accent) !important;
10241023
}
10251024

@@ -1296,7 +1295,7 @@ table tbody tr:last-child td,
12961295
}
12971296

12981297
[data-bs-theme="dark"] .simpletablestyle tbody tr:nth-child(even) {
1299-
background-color: #161b22 !important;
1298+
background-color: #30363d !important;
13001299
}
13011300

13021301
[data-bs-theme="dark"] .simpletablestyle tbody tr:hover {
@@ -1552,7 +1551,7 @@ table tbody tr:last-child td,
15521551
margin: 0 !important;
15531552
line-height: 1.6 !important;
15541553
position: relative !important;
1555-
min-height: 1.6em !important;
1554+
min-height: 5em !important;
15561555
}
15571556

15581557
#proj_checklist ul li::before,
@@ -1752,7 +1751,6 @@ table tbody tr:last-child td,
17521751
[data-bs-theme="dark"] .simpletablestyle td,
17531752
[data-bs-theme="dark"] .wikimarkup td,
17541753
[data-bs-theme="dark"] .directory-listing td {
1755-
background-color: #0d1117 !important;
17561754
color: #c9d1d9 !important;
17571755
border-color: var(--resteasy-border) !important;
17581756
}
@@ -1775,7 +1773,7 @@ table tbody tr:last-child td,
17751773
[data-bs-theme="dark"] table tr:nth-child(even),
17761774
[data-bs-theme="dark"] .wikimarkup tr:nth-child(2n),
17771775
[data-bs-theme="dark"] .directory-listing tr:nth-child(even) {
1778-
background-color: #21262d !important;
1776+
background-color: #30363d !important;
17791777
padding-left: 6px !important;
17801778
}
17811779

templates/partials/footer.html

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,6 @@
1717
<li class="open">
1818
<a href="{site.url('/blogs').absolute}" class="menu-title">Blog</a>
1919
</li>
20-
<li class="open">
21-
<span class="notch">&nbsp;</span>
22-
<a href="{site.url('/build').absolute}" class="menu-title">Build</a>
23-
</li>
2420
</ul>
2521
</div><!-- end container -->
2622
</footer>

templates/partials/nav.html

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
<div class="container">
44
<a href="/"><img src="{site.url('/img/orgLayoutBody/resteasy-banner-1180px.png').absolute}"
55
onError="this.style.display='none'"/></a>
6-
<div id="tagline">Distributed peace of mind.</div>
76
</div>
87
</div>
98
<div id="proj_nav" class="">
@@ -33,10 +32,6 @@
3332
<span class="notch">&nbsp;</span>
3433
<a href="{site.url('/blogs').absolute}" class="menu-title">Blog</a>
3534
</li>
36-
<li id="buildmenu" class="open" data-nav="build">
37-
<span class="notch">&nbsp;</span>
38-
<a href="{site.url('/build').absolute}" class="menu-title">Build</a>
39-
</li>
4035
<li>
4136
<button id="theme-toggle" type="button" aria-label="Toggle theme">
4237
<i class="fas fa-moon"></i>

0 commit comments

Comments
 (0)