Skip to content

Commit e24a638

Browse files
committed
Enhance index page with improved styling and HTML cards
1 parent f9376dd commit e24a638

File tree

2 files changed

+83
-39
lines changed

2 files changed

+83
-39
lines changed

css/asciidoctor.css

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -434,3 +434,45 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b
434434
.print-only{display:block!important}
435435
.hide-for-print{display:none!important}
436436
.show-for-print{display:inherit!important}}
437+
438+
/* Custom overrides for better admonition styling */
439+
.admonitionblock td.content>.title {
440+
color: #f8a839 !important;
441+
font-style: normal !important;
442+
font-weight: 600 !important;
443+
font-family: "Open Sans", "DejaVu Sans", sans-serif !important;
444+
}
445+
446+
/* Dark theme cards */
447+
.bd-content .card {
448+
background-color: rgba(255, 255, 255, 0.05) !important;
449+
border: 1px solid rgba(248, 168, 57, 0.2) !important;
450+
transition: all 0.3s ease;
451+
}
452+
453+
.bd-content .card:hover {
454+
background-color: rgba(255, 255, 255, 0.08) !important;
455+
border-color: rgba(248, 168, 57, 0.4) !important;
456+
transform: translateY(-2px);
457+
box-shadow: 0 4px 12px rgba(248, 168, 57, 0.15);
458+
}
459+
460+
.bd-content .card-body {
461+
color: #fff;
462+
}
463+
464+
.bd-content .card-body a {
465+
color: #f8a839;
466+
font-size: 1.1rem;
467+
text-decoration: none;
468+
}
469+
470+
.bd-content .card-body a:hover {
471+
color: #ffc870;
472+
text-decoration: none;
473+
}
474+
475+
.bd-content .card-body p {
476+
color: rgba(255, 255, 255, 0.7);
477+
font-size: 0.9rem;
478+
}

docs/index.adoc

Lines changed: 41 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,14 @@ Welcome to RESTHeart v9! This documentation is organized to help you learn progr
1414

1515
New to RESTHeart? Start here:
1616

17-
[.btn.btn-lg.btn-primary.m-2]
17+
[.btn.btn-lg.m-2]
1818
link:/docs/foundations/quick-start[Quick Start →]
1919

2020
Get RESTHeart running in 5 minutes.
2121

2222
[NOTE]
2323
.Upgrading from RESTHeart v8 or earlier?
24+
2425
====
2526
📦 **RESTHeart v9 brings major improvements!** Java 25, OAuth 2.0 authentication, enhanced security, custom metrics, and more.
2627
@@ -261,44 +262,45 @@ API reference, migration guides, FAQ, examples, and resources.
261262

262263
== 🔗 Quick Links
263264

264-
[.row]
265-
====
266-
[.col-md-3.col-6.mb-3]
267-
--
268-
[.card.h-100]
269-
[.card-body]
270-
link:/docs/foundations/quick-start[⚡ *Quick Start*]
271-
272-
Get running in 5 minutes
273-
--
274-
275-
[.col-md-3.col-6.mb-3]
276-
--
277-
[.card.h-100]
278-
[.card-body]
279-
link:/docs/reference/faq[❓ *FAQ*]
280-
281-
Common questions answered
282-
--
283-
284-
[.col-md-3.col-6.mb-3]
285-
--
286-
[.card.h-100]
287-
[.card-body]
288-
link:/docs/reference/example-webapps[💡 *Examples*]
289-
290-
Sample applications
291-
--
292-
293-
[.col-md-3.col-6.mb-3]
294-
--
295-
[.card.h-100]
296-
[.card-body]
297-
link:/docs/mongodb-rest/demo-webapp.html[🎮 *Live Demo*]
298-
299-
Try the demo app
300-
--
301-
====
265+
++++
266+
<div class="row">
267+
<div class="col-md-3 col-6 mb-3">
268+
<div class="card h-100">
269+
<div class="card-body">
270+
<a href="/docs/foundations/quick-start">⚡ <strong>Quick Start</strong></a>
271+
<p class="mt-2 mb-0">Get running in 5 minutes</p>
272+
</div>
273+
</div>
274+
</div>
275+
276+
<div class="col-md-3 col-6 mb-3">
277+
<div class="card h-100">
278+
<div class="card-body">
279+
<a href="/docs/reference/faq">❓ <strong>FAQ</strong></a>
280+
<p class="mt-2 mb-0">Common questions answered</p>
281+
</div>
282+
</div>
283+
</div>
284+
285+
<div class="col-md-3 col-6 mb-3">
286+
<div class="card h-100">
287+
<div class="card-body">
288+
<a href="/docs/reference/example-webapps">💡 <strong>Examples</strong></a>
289+
<p class="mt-2 mb-0">Sample applications</p>
290+
</div>
291+
</div>
292+
</div>
293+
294+
<div class="col-md-3 col-6 mb-3">
295+
<div class="card h-100">
296+
<div class="card-body">
297+
<a href="/docs/mongodb-rest/demo-webapp.html">🎮 <strong>Live Demo</strong></a>
298+
<p class="mt-2 mb-0">Try the demo app</p>
299+
</div>
300+
</div>
301+
</div>
302+
</div>
303+
++++
302304

303305
== 🎓 Tutorials
304306

0 commit comments

Comments
 (0)