Skip to content

Commit 2087ca0

Browse files
authored
Merge branch 'main' into dev-751-update-readme
2 parents 0da808e + c0a24d7 commit 2087ca0

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

79 files changed

+2812
-1368
lines changed

.github/config/wordlist.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -446,3 +446,4 @@ openssl
446446
csr
447447
verifiers
448448
cryptographically
449+
svg

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,5 @@ public/
77
/.project
88
hugo_stats.json
99
.DS_Store
10-
tmp/*
10+
tmp/*
11+
.clinerules

assets/js/custom.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
// Minimal custom JS - testing if complex sidebar logic is still needed
2-
console.log('=== MINIMAL CUSTOM JS LOADED ===');
1+
// Minimal custom JS - testing if complex sidebar logic is still needed
2+
console.log('=== MINIMAL CUSTOM JS LOADED ===');

assets/scss/common/_base.scss

Lines changed: 79 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7,30 +7,42 @@
77
* 2. Basic image adjustments
88
*/
99

10+
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');
11+
@import url('https://rsms.me/inter/inter.css'); /* Inter variable font – OpenMFP and Platform Mesh sites */
12+
13+
html, body {
14+
font-family: 'Inter var', 'Inter', system-ui, sans-serif;
15+
font-optical-sizing: auto;
16+
}
1017
/* FULL-WIDTH CONTAINER
1118
* --------------------
1219
* .container-fw = Full Width Container
1320
* If a page has the class .container-fw, the content is stretched to full width.
1421
* Important for landing pages or wide documentation pages.
1522
*/
1623
.container-fw {
17-
max-width: 100%; /* Uses the full available width */
18-
padding-left: 1rem; /* Minimal left padding */
24+
max-width: 100%;
25+
/* Uses the full available width */
26+
padding-left: 1rem;
27+
/* Minimal left padding */
1928

2029
/* Main content (docs-content) in full-width mode */
2130
.docs-content {
22-
margin-left: 0rem !important; /* Removes standard margins */
23-
margin-right: 0rem !important; /* so the content can use the full */
24-
padding-right: 0rem !important; /* width */
31+
margin-left: 0rem !important;
32+
/* Removes standard margins */
33+
margin-right: 0rem !important;
34+
/* so the content can use the full */
35+
padding-right: 0rem !important;
36+
/* width */
2537
padding-left: 0rem !important;
2638
}
2739

2840
/* Table of contents (TOC) in full-width mode */
2941
.docs-toc {
30-
margin-left: 3rem !important; /* Spacing to main content */
31-
margin-right: 0rem !important; /* No right margin */
32-
padding-right: 0rem !important; /* No right padding */
33-
padding-left: 0rem !important; /* or left */
42+
margin-left: 3rem !important; /* slightly increased separation from main content */
43+
margin-right: 0rem !important; /* no extra right margin */
44+
padding-right: 0rem !important; /* no extra right padding */
45+
padding-left: 0rem !important; /* keep left padding neutral */
3446
}
3547
}
3648

@@ -40,6 +52,61 @@
4052
* They automatically fit the width of their container.
4153
*/
4254
.content img {
43-
max-width: 100%; /* Image never wider than its container */
44-
height: auto; /* Height scales proportionally */
45-
}
55+
max-width: 100%;
56+
/* Image never wider than its container */
57+
height: auto;
58+
/* Height scales proportionally */
59+
}
60+
61+
/* Limit overall content container width and align with navbar padding */
62+
.wrap {
63+
max-width: 1920px;
64+
margin-inline: auto;
65+
padding-inline: 24px; /* align horizontal content padding with header */
66+
}
67+
68+
/* WORD WRAPPING
69+
* -------------
70+
* Used to wrap individual words in spans for styling or animation.
71+
*/
72+
.word {
73+
display: inline-block;
74+
margin-right: 0.25em;
75+
/* Add space between words wrapped in spans */
76+
77+
&:last-child {
78+
margin-right: 0;
79+
}
80+
}
81+
82+
/* Prevent sticky header from overlapping page content on non-home pages
83+
* The non-home layout wraps content in .wrap .content (baseof.html).
84+
* Ensure there's always at least the header height above the content.
85+
*/
86+
.wrap .content {
87+
border-top: none; /* avoid double thickness; rely on header border for the horizontal divider */
88+
padding-top: 0; /* shift the offset into the columns so the vertical divider aligns */
89+
}
90+
91+
/* Shift content and TOC down to clear the sticky header while keeping the top divider flush.
92+
Sidebar itself is sticky and already offset via top: var(--nav-height), so do not add extra padding there. */
93+
.row.flex-xl-nowrap > .docs-content,
94+
.row.flex-xl-nowrap > .docs-toc {
95+
padding-top: var(--nav-height);
96+
}
97+
98+
/* Ensure the first content element aligns directly under the header divider (no gap) */
99+
.wrap .content > *:first-child {
100+
margin-top: 0;
101+
}
102+
103+
/* If the first element is an HR or a dedicated divider, remove its top margin as well */
104+
.wrap .content > hr:first-child,
105+
.docs-content > hr:first-child {
106+
margin-top: 0;
107+
}
108+
109+
/* Also normalize top margin for the first element inside docs-content */
110+
.docs-content > *:first-child {
111+
margin-top: 0;
112+
}

assets/scss/common/_branding.scss

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,12 @@
1-
// Import Quicksand font for OCM logo - ONLY the weight we actually use
1+
/*
2+
* Logo and branding styles.
3+
*
4+
* Features:
5+
* - Quicksand font for OCM logo
6+
* - SVG logo sizing and colors
7+
* - Theme-dependent logo colors
8+
*/
9+
210
@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300&display=swap');
311

412
.font-logo {
@@ -43,4 +51,4 @@ header.navbar .ocm-logo-text svg,
4351

4452
[data-bs-theme="light"] .font-logo {
4553
color: #111111 !important; // Dark text in light mode
46-
}
54+
}

0 commit comments

Comments
 (0)