Skip to content

Commit 109b4c3

Browse files
committed
Add styled button for landmark table in index.qmd
1 parent 52884b9 commit 109b4c3

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed

index.qmd

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,43 @@ A **coordinate system** is fully described by:
2929
2. The interpretation of the three axes
3030
3. The units in which measurements are expressed
3131

32+
33+
<style>
34+
/* Style the button to appear as a box */
35+
.centered-button {
36+
display: flex;
37+
justify-content: center;
38+
align-items: center;
39+
height: 20vh; /* Vertically center */
40+
margin: 0; /* Remove default margin */
41+
}
42+
43+
.button-box {
44+
background-color: #4CAF50; /* Replace with your desired color */
45+
color: white;
46+
padding: 15px 30px;
47+
text-align: center;
48+
text-decoration: none;
49+
font-size: 16px;
50+
font-weight: bold;
51+
border-radius: 8px;
52+
border: none;
53+
cursor: pointer;
54+
box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
55+
transition: background-color 0.3s, transform 0.3s;
56+
}
57+
58+
.button-box:hover {
59+
background-color: #45a049; /* Darker green on hover */
60+
transform: scale(1.05); /* Slightly enlarges on hover */
61+
}
62+
</style>
63+
64+
<div class="centered-button">
65+
<a href="subpage.html" class="button-box">Landmark table</a>
66+
</div>
67+
68+
3269
### Hierarchical Structure
3370

3471
Reference frames can have a hierarchical structure, where one frame is nested within another. For example:

0 commit comments

Comments
 (0)