Skip to content

Commit ede9928

Browse files
committed
docs: add styled callout for References & Links with external links opening in new tab
1 parent b9aa528 commit ede9928

File tree

2 files changed

+22
-2
lines changed

2 files changed

+22
-2
lines changed

docs/assets/css/custom.css

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,19 @@
55
line-height: 1.3 !important;
66
text-align: center !important;
77
padding: 0.5rem !important;
8+
}
9+
10+
.callout {
11+
border-left: 4px solid #0ea5e9; /* cyan */
12+
background: #f8fafc; /* very light slate */
13+
padding: 0.85rem 1rem;
14+
margin: 1.25rem 0;
15+
border-radius: 8px;
16+
}
17+
.callout .title {
18+
font-weight: 700;
19+
margin-bottom: 0.35rem;
20+
}
21+
.callout.learn-more {
22+
border-left-color: #2563eb; /* blue-600 */
823
}

docs/index.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,5 +81,10 @@ Generated wrappers can be found under:
8181

8282
## 📂 References & Links
8383

84-
- 🌐 [GitHub Repository](https://github.com/bsayli/spring-boot-openapi-generics-clients)
85-
- 📘 [Medium Article — Type-Safe Generic API Responses](https://medium.com/@baris.sayli/type-safe-generic-api-responses-with-spring-boot-3-4-openapi-generator-and-custom-templates-ccd93405fb04)
84+
<div class="callout learn-more">
85+
<div class="title">🔗 References & Links</div>
86+
<ul>
87+
<li>🌐 <a href="https://github.com/bsayli/spring-boot-openapi-generics-clients" target="_blank" rel="noopener">GitHub Repository</a></li>
88+
<li>📘 <a href="https://medium.com/@baris.sayli/type-safe-generic-api-responses-with-spring-boot-3-4-openapi-generator-and-custom-templates-ccd93405fb04" target="_blank" rel="noopener">Medium Article — Type-Safe Generic API Responses</a></li>
89+
</ul>
90+
</div>

0 commit comments

Comments
 (0)