Skip to content

Commit a895577

Browse files
committed
navigation alignment changed and Author bubbles added
1 parent b2c0a7b commit a895577

File tree

2 files changed

+32
-2
lines changed

2 files changed

+32
-2
lines changed

index.qmd

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,13 @@ title: "Project Name"
44
subtitle: "Subtitle"
55
format: html
66
---
7-
7+
```{=html}
8+
<span class="dot">SL</span> &ensp;Samuel Lee&ensp;
9+
```
10+
```{=html}
11+
<span class="dot">BK</span> &ensp;Bo Kulbacki&ensp;
12+
```
13+
<br>
814
---
915
Description: "Project Name"
1016
---

src/custom.scss

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,8 +198,33 @@ nav .nav-link i, nav .dropdown-item i {
198198
align-items: center; /* Align arrow with text */
199199
text-decoration: none;
200200
width: 100%; /* Take full width of container */
201+
justify-content: inherit;
201202
}
202203

204+
/* Style the navigation next button - right align */
205+
.nav-page-next{
206+
justify-content: end; /* Justifies the navigation links to the end */
207+
}
208+
209+
/* Style the navigation previous button - left align */
210+
.nav-page-previous {
211+
justify-content: start; /* Justifies the navigation links to the start */
212+
}
213+
214+
/* Style the dot for the authors section */
215+
.dot {
216+
height: 25px;
217+
width: 25px;
218+
background-color: #bbb;
219+
border-radius: 50%;
220+
display: inline-block;
221+
text-align: center;
222+
color: white;
223+
background-color: #0072C3;
224+
font-size: 12pt
225+
}
226+
227+
203228
/* Only apply hover effect to nav items with content */
204229
.nav-page:has(a):hover {
205230
background-color: #E8E8E8;
@@ -241,7 +266,6 @@ nav .nav-link i, nav .dropdown-item i {
241266
}
242267

243268

244-
245269
/* Footer Styling */
246270
.footer {
247271
font-size: 1rem; /* Base font size */

0 commit comments

Comments
 (0)