Skip to content

Commit d399b6d

Browse files
committed
navigation alignment changed and Author bubbles added
1 parent 4e7be04 commit d399b6d

File tree

2 files changed

+33
-2
lines changed

2 files changed

+33
-2
lines changed

index.qmd

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,15 @@
22
---
33
title: "Project Name"
44
subtitle: "Subtitle"
5-
author: List Authors
65
format: html
76
---
8-
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>
914
---
1015
Description: "Project Name"
1116
---

src/custom.scss

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,8 +184,33 @@ nav .nav-link i, nav .dropdown-item i {
184184
align-items: center; /* Align arrow with text */
185185
text-decoration: none;
186186
width: 100%; /* Take full width of container */
187+
justify-content: inherit;
187188
}
188189

190+
/* Style the navigation next button - right align */
191+
.nav-page-next{
192+
justify-content: end; /* Justifies the navigation links to the end */
193+
}
194+
195+
/* Style the navigation previous button - left align */
196+
.nav-page-previous {
197+
justify-content: start; /* Justifies the navigation links to the start */
198+
}
199+
200+
/* Style the dot for the authors section */
201+
.dot {
202+
height: 25px;
203+
width: 25px;
204+
background-color: #bbb;
205+
border-radius: 50%;
206+
display: inline-block;
207+
text-align: center;
208+
color: white;
209+
background-color: #0072C3;
210+
font-size: 12pt
211+
}
212+
213+
189214
/* Only apply hover effect to nav items with content */
190215
.nav-page:has(a):hover {
191216
background-color: #E8E8E8;
@@ -226,6 +251,7 @@ nav .nav-link i, nav .dropdown-item i {
226251
}
227252
}
228253

254+
229255
/* Footer Styling */
230256
.footer {
231257
font-size: 1rem; /* Base font size */

0 commit comments

Comments
 (0)