Skip to content

Commit 199c6d2

Browse files
committed
Make buttons look better
1 parent 98c8359 commit 199c6d2

File tree

2 files changed

+17
-14
lines changed

2 files changed

+17
-14
lines changed

doc/Caterva2.rst

Lines changed: 7 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ On demand access to remote Blosc2 data repositories.
1212
Getting Started
1313
^^^^^^^^^^^^^^^
1414

15-
New to Caterva2? Check out the getting started guides. They contain an
15+
New to Caterva2? Check out the getting started guide. They contain an
1616
introduction to Caterva2 main concepts.
1717

1818
+++
@@ -22,7 +22,7 @@ On demand access to remote Blosc2 data repositories.
2222
:color: dark
2323
:click-parent:
2424

25-
To the getting started guide
25+
Get started!
2626

2727
.. grid-item-card::
2828
:img-top: _static/index_user_guide.svg
@@ -51,19 +51,12 @@ On demand access to remote Blosc2 data repositories.
5151

5252
+++
5353

54-
.. button-ref:: reference/index
55-
:expand:
56-
:color: dark
57-
:click-parent:
58-
59-
To the Python API reference
60-
61-
.. button-ref:: reference/rest_api
62-
:expand:
63-
:color: dark
64-
:click-parent:
54+
.. raw:: html
6555

66-
To the REST API reference
56+
<div class="button-container">
57+
<a class="sd-btn sd-btn-dark left-button" href="reference/index.html">Python API</a>
58+
<a class="sd-btn sd-btn-dark right-button" href="reference/rest_api.html">REST API</a>
59+
</div>
6760

6861
.. grid-item-card::
6962
:img-top: _static/index_contribute.svg

doc/_static/css/custom.css

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,3 +121,13 @@ html[data-theme=dark] h1 {
121121
html[data-theme=dark] h3 {
122122
color: #0a6774;
123123
}
124+
125+
.left-button {
126+
float: left;
127+
width: 48%;
128+
}
129+
130+
.right-button {
131+
float: right;
132+
width: 48%;
133+
}

0 commit comments

Comments
 (0)