Skip to content

Commit 085020e

Browse files
Merge pull request #18 from ibm-client-engineering/bo-updatesnew
Changes to the IBM Logo, navigation alignment, and author sections
2 parents b2c0a7b + 37ea26a commit 085020e

File tree

3 files changed

+34
-4
lines changed

3 files changed

+34
-4
lines changed

images/IBMlogo.png

-19.3 KB
Loading

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: 27 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
/* Navbar Logo Size */
2525
.navbar-logo {
2626
max-height: 75px; /* Restrict the height of the logo */
27-
margin-left: -20px;
27+
margin-left: 0px;
2828
}
2929

3030
/* Navbar Margin Sizing Target */
@@ -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 */
@@ -275,7 +299,7 @@ nav .nav-link i, nav .dropdown-item i {
275299
.nav-footer-left img {
276300
text-align: left;
277301
vertical-align: top; /* Aligns image to the top */
278-
margin-left: -10px; /* Aligns image to the IBM logo in the header */
302+
margin-left: -20px; /* Aligns image to the IBM logo in the header */
279303
}
280304

281305
/* Footer Center Section */

0 commit comments

Comments
 (0)