Skip to content

Commit 38c4030

Browse files
committed
Merge branch 'main' into ross-updates
2 parents 5463074 + 743dff5 commit 38c4030

File tree

5 files changed

+68
-21
lines changed

5 files changed

+68
-21
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@ If the command line install does not work, you can download quarto here: https:/
1616

1717
## How do I use it?
1818
1. Change line 9 of the `_quarto.yml` file to the appropriate Project Name of the solution doc.
19-
2. Change line 19 of the `_quarto.yml` file to the reflect the link to the repo of the newly created solution doc. Ex. https://github.com/ibm-client-engineering/[repo-name]
19+
2. Change line 21 of the `_quarto.yml` file to the reflect the link to the repo of the newly created solution doc. Ex. https://github.com/ibm-client-engineering/[repo-name]
2020
3. Assuming that Quarto is already installed, navigate to the appropriate directory with the cloned solution doc repository and run `quarto preview index.qmd` to preview your build locally.

_quarto.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ language:
66
search-text-placeholder: Search
77

88
website:
9-
title: Project Name
9+
title: Solutions Hub
1010
favicon: images/bee.png
1111
page-navigation: true
1212
search:

images/IBMlogo.png

37 Bytes
Loading

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: 59 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -60,16 +60,6 @@ div.sidebar-item-container .active, div.sidebar-item-container .show > .nav-link
6060
margin-left: -0.75rem; /* Adjust alignment with the left margin */
6161
}
6262

63-
/* Bold Top-Level Headings in Sidebar */
64-
.sidebar nav[role=doc-toc] ul>li>a {
65-
font-weight: 800; /* Bold font weight for primary headings */
66-
}
67-
68-
/* Normal Font Weight for Subheadings */
69-
.sidebar nav[role=doc-toc] ul>li>ul>li>a {
70-
font-weight: 100; /* Normal font weight for subheadings */
71-
}
72-
7363
/* General Sidebar Item Padding */
7464
.sidebar-item {
7565
padding: .2rem; /* Adds padding for better spacing */
@@ -88,9 +78,26 @@ div.sidebar-item-container .active, div.sidebar-item-container .show > .nav-link
8878
/* Navbar Brand Text Styling */
8979
.navbar-brand {
9080
color: black; /* Default color */
91-
font-size: 18pt; /* Large font size */
81+
font-weight: 600;
82+
position: relative;
83+
display: block;
84+
-webkit-padding-start: 1rem;
85+
padding-inline-start: 1rem;
9286
}
9387

88+
.navbar-brand:not(.navbar-brand-logo):before {
89+
position: absolute;
90+
display: block;
91+
background-color: #DEE2E6;
92+
block-size: 2rem;
93+
content: "";
94+
inline-size: .0625rem;
95+
inset-block-start: 50%;
96+
inset-inline-start: 0;
97+
transform: translateY(-50%);
98+
}
99+
100+
94101
/* Navbar Brand Hover State */
95102
.navbar-brand:hover {
96103
color: black; /* Prevents color change on hover */
@@ -102,19 +109,25 @@ div.sidebar-item-container .active, div.sidebar-item-container .show > .nav-link
102109
}
103110

104111
/* Remove Border and Padding for Sidebar TOC Links */
112+
.sidebar nav[role=doc-toc] {
113+
opacity: .8;
114+
font-weight: 400;
115+
font-size: .925rem;
116+
line-height: 17px;
117+
padding: 0.5rem 0.75rem; /* Internal padding for spacing */
118+
}
119+
105120
.sidebar nav[role=doc-toc] ul>li>ul>li>a, .sidebar nav[role=doc-toc]>ul a {
106121
border-left: none; /* Removes border from TOC links */
107-
padding-left: 0; /* No extra padding on the left */
122+
padding-left: calc(1rem + 4px);
108123
}
109124

110125
/* Highlight Active State in Sidebar TOC */
111126
.sidebar nav[role=doc-toc] ul>li>a.active, .sidebar nav[role=doc-toc] ul>li>ul>li>a.active {
112127
border-left: 4px solid #0f62fe; /* Thin blue left border */
113-
color: #0f62fe !important; /* Blue text color */
114-
background-color: #E9E9E9; /* Light blue background */
115128
border-radius: 0 4px 4px 0; /* Rounded right corners */
116-
padding: 0.50em 0.75rem; /* Internal spacing */
117-
margin-left: -0.75rem; /* Aligns active items to the left */
129+
padding-left: 1rem;
130+
color: black !important;
118131
}
119132

120133
/* Autocomplete Search Form Width */
@@ -153,7 +166,7 @@ nav .nav-link i, nav .dropdown-item i {
153166
}
154167
/* Specific styling for brand icons */
155168
.bi-linkedin {
156-
color: #0077B5; /* LinkedIn icon in blue */
169+
color: black; /* LinkedIn icon in blue */
157170
font-size: 24px !important;
158171
height: 50px; /* Icon height */
159172
width: 50px; /* Icon width */
@@ -184,8 +197,37 @@ nav .nav-link i, nav .dropdown-item i {
184197
align-items: center; /* Align arrow with text */
185198
text-decoration: none;
186199
width: 100%; /* Take full width of container */
200+
justify-content: inherit;
187201
}
188202

203+
/* Style the navigation next button - right align */
204+
.nav-page-next{
205+
justify-content: end; /* Justifies the navigation links to the end */
206+
}
207+
208+
/* Style the navigation previous button - left align */
209+
.nav-page-previous {
210+
justify-content: start; /* Justifies the navigation links to the start */
211+
}
212+
213+
/* Style the dot for the authors section */
214+
.dot {
215+
height: 25px;
216+
width: 25px;
217+
background-color: #bbb;
218+
border-radius: 50%;
219+
display: inline-block;
220+
text-align: center;
221+
color: white;
222+
background-color: #0072C3;
223+
font-size: 9pt;
224+
align-items: center;
225+
vertical-align: bottom;
226+
justify-content: center;
227+
display: inline-flex;
228+
}
229+
230+
189231
/* Only apply hover effect to nav items with content */
190232
.nav-page:has(a):hover {
191233
background-color: #E8E8E8;

0 commit comments

Comments
 (0)