Skip to content

Commit ceab4c6

Browse files
committed
Remove whitespace from above and below the banner logo. Updated the features listing to remove cards-style layout.
Signed-off-by: James R. Perkins <jperkins@ibm.com>
1 parent 4b86646 commit ceab4c6

2 files changed

Lines changed: 23 additions & 110 deletions

File tree

public/css/bootstrap-theme.css

Lines changed: 17 additions & 105 deletions
Original file line numberDiff line numberDiff line change
@@ -165,15 +165,14 @@ h4 {
165165
#banner {
166166
all: unset !important;
167167
display: block !important;
168-
padding: 1rem 0 !important;
168+
padding: 0 !important;
169169
background: none !important;
170170
border-radius: 0 !important;
171171
height: auto !important;
172172
}
173173

174174
#banner img {
175175
width: auto !important;
176-
margin-bottom: 0.25rem !important;
177176
}
178177

179178
/* Truncate banner logo on mobile instead of scaling */
@@ -337,8 +336,8 @@ h4 {
337336
#proj_checklist ul {
338337
all: unset !important;
339338
display: grid !important;
340-
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
341-
gap: 0.75rem !important;
339+
grid-template-columns: repeat(2, 1fr) !important;
340+
gap: 0.75rem 2rem !important;
342341
list-style: none !important;
343342
padding: 0 !important;
344343
margin: 0 !important;
@@ -348,38 +347,23 @@ h4 {
348347

349348
#proj_checklist li {
350349
all: unset !important;
351-
display: flex !important;
352-
align-items: flex-start !important;
353-
padding: 0.75rem !important;
354-
background: var(--resteasy-bg-light) !important;
355-
border: 1px solid var(--resteasy-border) !important;
356-
border-radius: 0.375rem !important;
357-
transition: all 0.2s ease !important;
350+
display: block !important;
351+
position: relative !important;
352+
padding-left: 2rem !important;
353+
padding-right: 0.5rem !important;
354+
margin: 0 !important;
358355
font-size: 0.95rem !important;
359-
line-height: 1.5 !important;
360-
}
361-
362-
#proj_checklist li:hover {
363-
background: white !important;
364-
box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
365-
transform: translateY(-1px) !important;
366-
border-color: var(--resteasy-primary) !important;
356+
line-height: 1.6 !important;
357+
color: #212529 !important;
367358
}
368359

369360
#proj_checklist li::before {
370361
content: "✓" !important;
371-
flex-shrink: 0 !important;
372-
width: 20px !important;
373-
height: 20px !important;
374-
background: var(--resteasy-success) !important;
375-
color: white !important;
376-
border-radius: 50% !important;
377-
display: flex !important;
378-
align-items: center !important;
379-
justify-content: center !important;
362+
position: absolute !important;
363+
left: 0.5rem !important;
364+
color: var(--resteasy-success) !important;
380365
font-weight: bold !important;
381-
font-size: 12px !important;
382-
margin-right: 0.625rem !important;
366+
font-size: 1.1rem !important;
383367
}
384368

385369
/* ============================================
@@ -1573,75 +1557,6 @@ table tbody tr:last-child td,
15731557
color: #c9d1d9 !important;
15741558
}
15751559

1576-
/* ============================================
1577-
HOMEPAGE - Features Checklist
1578-
============================================ */
1579-
#proj_checklist,
1580-
.proj_checklist {
1581-
padding: 0 0 1.5rem 0 !important;
1582-
color: #212529 !important;
1583-
}
1584-
1585-
#proj_checklist h3,
1586-
.proj_checklist h3 {
1587-
color: var(--resteasy-primary-dark) !important;
1588-
font-size: 1.5rem !important;
1589-
font-weight: 600 !important;
1590-
margin-bottom: 1rem !important;
1591-
padding-bottom: 0.5rem !important;
1592-
border-bottom: 2px solid var(--resteasy-primary) !important;
1593-
}
1594-
1595-
#proj_checklist ul,
1596-
.proj_checklist ul {
1597-
display: grid !important;
1598-
grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)) !important;
1599-
gap: 0.75rem 2rem !important;
1600-
margin: 0 !important;
1601-
padding: 0 !important;
1602-
list-style: none !important;
1603-
}
1604-
1605-
#proj_checklist ul li,
1606-
.proj_checklist ul li {
1607-
list-style: none !important;
1608-
background: none !important;
1609-
background-image: none !important;
1610-
padding-left: 2rem !important;
1611-
padding-right: 0.5rem !important;
1612-
margin: 0 !important;
1613-
line-height: 1.6 !important;
1614-
position: relative !important;
1615-
min-height: 5em !important;
1616-
}
1617-
1618-
#proj_checklist ul li::before,
1619-
.proj_checklist ul li::before {
1620-
content: "✓" !important;
1621-
position: absolute !important;
1622-
left: 0.5rem !important;
1623-
color: #28a745 !important;
1624-
font-weight: bold !important;
1625-
font-size: 1.1rem !important;
1626-
}
1627-
1628-
/* Dark mode for checklist */
1629-
[data-bs-theme="dark"] #proj_checklist,
1630-
[data-bs-theme="dark"] .proj_checklist {
1631-
color: #c9d1d9 !important;
1632-
}
1633-
1634-
[data-bs-theme="dark"] #proj_checklist h3,
1635-
[data-bs-theme="dark"] .proj_checklist h3 {
1636-
color: #e6edf3 !important;
1637-
border-bottom-color: var(--resteasy-accent) !important;
1638-
}
1639-
1640-
[data-bs-theme="dark"] #proj_checklist ul li::before,
1641-
[data-bs-theme="dark"] .proj_checklist ul li::before {
1642-
color: var(--resteasy-accent) !important;
1643-
}
1644-
16451560
/* ============================================
16461561
BREADCRUMBS & RIGHT COLUMN
16471562
============================================ */
@@ -1738,14 +1653,11 @@ table tbody tr:last-child td,
17381653
}
17391654

17401655
[data-bs-theme="dark"] #proj_checklist li {
1741-
background: var(--resteasy-bg-light) !important;
1742-
border-color: var(--resteasy-border) !important;
1743-
color: #e6edf3 !important;
1656+
color: #c9d1d9 !important;
17441657
}
17451658

1746-
[data-bs-theme="dark"] #proj_checklist li:hover {
1747-
background: #242b32 !important;
1748-
border-color: var(--resteasy-accent) !important;
1659+
[data-bs-theme="dark"] #proj_checklist li::before {
1660+
color: var(--resteasy-accent) !important;
17491661
}
17501662

17511663
/* Dark mode sidebar styles - REMOVED (sidebar no longer used) */

templates/partials/main.html

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,10 @@ <h2 class="mb-3">RESTEasy</h2>
1111
<p>RESTEasy can run in any Servlet container, but tighter integration with <a href="https://wildfly.org/">WildFly</a>
1212
Application Server and <a href="https://quarkus.io/">Quarkus</a> is also available to make the
1313
user experience nicer in those environments.</p>
14-
<div id="proj_checklist"><h3>Features</h3>
14+
<div id="proj_checklist">
15+
<h3>Features</h3>
1516
<ul>
16-
<li>Implements Jakarta RESTful Web Services (JAX-RS)</li>
17+
<li>Implements Jakarta RESTful Web Services</li>
1718
<li>Portable to Tomcat and many other application servers</li>
1819
<li>Embeddable server implementation for JUnit testing</li>
1920
<li>Enhanced client framework</li>
@@ -30,13 +31,13 @@ <h2 class="mb-3">RESTEasy</h2>
3031
wrappers for maps, arrays, lists, and sets of JAXB Objects.
3132
</li>
3233
<li>GZIP content-encoding</li>
33-
<li>Asynchronous HTTP abstractions for Servlet 3</li>
34+
<li>Asynchronous HTTP abstractions for Jakarta Servlet</li>
3435
<li>Reactive support</li>
3536
<li>Asynchronous Job Service.</li>
3637
<li>Rich interceptor model.</li>
37-
<li>OAuth2 and Distributed SSO with JBoss AS7</li>
38+
<li>OAuth2 and Distributed SSO with WildFly</li>
3839
<li>Digital Signature and encryption support with S/MIME and DOSETA</li>
39-
<li>EJB, Seam, Guice, Spring, Spring MVC and Spring Boot integration</li>
40+
<li>EJB, Guice, Spring, Spring MVC and Spring Boot integration</li>
4041
</ul>
4142
</div>
4243
{#insert /}

0 commit comments

Comments
 (0)