Skip to content

Commit 376bde8

Browse files
committed
make links more noticable in admonitions and wording
1 parent 0613301 commit 376bde8

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

docs/develop/introduction.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ pagination_next: null
3232
<a class="hub-card__link" target="_blank" href="https://bee-js.ethswarm.org/docs/getting-started/#installation">
3333
<h3 class="hub-card__title">Connect Your App</h3>
3434
<p class="hub-card__desc">
35-
Use the official <code>bee-js</code> SDK to integrate storage, feeds, and more into your app.
35+
Use the official <code>bee-js</code> SDK to connect your app to your Bee node and integrate Swarm based storage, feeds, and more.
3636
</p>
3737
<span class="hub-card__cta">Connect dApp</span>
3838
</a>

src/css/custom.css

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -286,6 +286,21 @@ pre, code, .codeBlockLines_node_modules-\@docusaurus-theme-classic-lib-theme-Cod
286286
border-color: #F30000;
287287
}
288288

289+
/* Style links inside admonitions */
290+
.theme-admonition a {
291+
font-weight: 600; /* slightly bold, not as heavy as 700 */
292+
text-decoration: none; /* remove default underline */
293+
border-bottom: 2px solid currentColor; /* underline effect using border */
294+
padding-bottom: 1px; /* spacing so border doesn’t touch text */
295+
}
296+
297+
/* Hover/focus state for better interactivity */
298+
.theme-admonition a:hover,
299+
.theme-admonition a:focus {
300+
color: var(--ifm-color-primary); /* matches your orange accent */
301+
border-bottom-color: var(--ifm-color-primary);
302+
}
303+
289304

290305
/**
291306
* Prevent redocusaurus from displaying html before its styles are fully

0 commit comments

Comments
 (0)