Skip to content

Commit 07315d4

Browse files
Merge pull request #14 from ibm-client-engineering/bo-updates
Bo updates
2 parents 2177caf + c7e4c22 commit 07315d4

File tree

4 files changed

+78
-21
lines changed

4 files changed

+78
-21
lines changed

landing_page.qmd

Lines changed: 0 additions & 18 deletions
This file was deleted.

src/custom.scss

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
/* Navbar Logo Size */
2525
.navbar-logo {
2626
max-height: 75px; /* Restrict the height of the logo */
27+
margin-left: -20px;
2728
}
2829

2930
/* Navbar Margin Sizing Target */
@@ -187,7 +188,7 @@ nav .nav-link i, nav .dropdown-item i {
187188

188189
/* Only apply hover effect to nav items with content */
189190
.nav-page:has(a):hover {
190-
background-color: #c6c3c3;
191+
background-color: #E8E8E8;
191192
}
192193

193194
/* Remove hover effect from empty nav items */
@@ -221,7 +222,7 @@ nav .nav-link i, nav .dropdown-item i {
221222
/* Media Query for Grid Layout on Larger Screens */
222223
@media (min-width: 992px) {
223224
#quarto-content.page-columns {
224-
grid-template-columns: 2.5em [screen-start] 1.5em [screen-start-inset page-start] minmax(50px, 100px) [page-start-inset] 50px [body-start-outset] 150px [body-start] minmax(1.5em, var(--margin-max-width)) [body-content-start] minmax(500px, calc(1000px - 3em)) [body-content-end] minmax(1.5em, var(--margin-max-width)) [body-end] 50px [body-end-outset] minmax(50px, 100px) [page-end-inset] 50px [page-end] 5fr [screen-end-inset] 1.5em [screen-end];
225+
grid-template-columns: 1.5em [screen-start] 1.5em [screen-start-inset page-start] minmax(50px, 100px) [page-start-inset] 50px [body-start-outset] 150px [body-start] minmax(1.5em, var(--margin-max-width)) [body-content-start] minmax(500px, calc(1000px - 3em)) [body-content-end] minmax(1.5em, var(--margin-max-width)) [body-end] 50px [body-end-outset] minmax(50px, 100px) [page-end-inset] 50px [page-end] 5fr [screen-end-inset] 1.5em [screen-end];
225226
}
226227
}
227228

@@ -298,4 +299,4 @@ a[role=listitem] {
298299
.footerLogo {
299300
color: #f7f2f2; /* Light gray logo color */
300301
vertical-align: top; /* Aligns logo to the top */
301-
}
302+
}

src/landing_page/landing_page.qmd

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
---
2+
format:
3+
html:
4+
theme: [src/custom.scss , landing_page.scss]
5+
6+
---
7+
8+
# Project Name
9+
10+
Subtitle
11+
12+
:::: {.columns}
13+
14+
::: {.column width="40%"}
15+
<button onclick="window.location.href='problem_statement.qmd';" class = "btn btn-our-doc">Our Documentation </button>
16+
:::
17+
18+
::: {.column width="60%"}
19+
![](images/IBMlogo.png){width=400}
20+
:::
21+
22+
::::
23+
24+
### Next Steps
25+
26+
:::: {.columns}
27+
28+
::: {.column width="50%"}
29+
<button onclick="window.location.href='problem_statement.qmd';" class = "btn btn-external-link">L ink 1</button>
30+
:::
31+
32+
::: {.column width="50%"}
33+
<button onclick="window.location.href='problem_statement.qmd';" class = "btn btn-external-link">Link 2</button>
34+
:::
35+
36+
::::
37+

src/landing_page/landing_page.scss

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
/*-- scss:rules --*/
2+
.btn-our-doc {
3+
cursor: pointer;
4+
background: #0f62fe !important; /* IBM primary blue color */
5+
color: white;
6+
border-radius: 999em;
7+
align-items: center;
8+
gap: .5em;
9+
font-size: 16px;
10+
padding: 1.5rem;
11+
margin-top: 110px;
12+
}
13+
14+
15+
.btn-external-link {
16+
display: grid;
17+
grid-template-columns: 1fr auto;
18+
gap: .5rem;
19+
border-radius: .5em;
20+
padding: 1rem;
21+
box-shadow: blue;
22+
position: relative;
23+
border-color: #e4e4e7;
24+
padding-right: 200px;
25+
}
26+
27+
@media (min-width: 1200px) {
28+
h1, .h1 {
29+
font-size: 3.5rem;
30+
}
31+
}
32+
33+
@media (min-width: 1200px) {
34+
h3, .h3 {
35+
font-size: 2rem;
36+
}
37+
}

0 commit comments

Comments
 (0)