Changes for page Sandbox Test Page 3
Last modified by Jareth Carpenter on 2026/08/20 22:29
From version 35.1
edited by Jareth Carpenter
on 2026/08/17 16:33
on 2026/08/17 16:33
Change comment:
There is no comment for this version
To version 48.1
edited by Jareth Carpenter
on 2026/08/17 22:25
on 2026/08/17 22:25
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1,298 +1,345 @@ 1 1 {{html clean="false"}} 2 + 2 2 <!-- 3 -============================================================ 4 -FirstDigital - Learning Center Menu (XWiki fragment) 5 -============================================================ 4 + ============================================================ 5 + FirstDigital - Learning Center Menu (XWiki fragment) 6 + ============================================================ 6 6 7 -HOW TO USE 8 -1. Edit the wiki page in SOURCE / WIKI mode (never WYSIWYG). 9 -2. Select all existing page content and delete it. 10 -3. Paste: 8 + HOW TO USE 9 + 1. Edit the wiki page in SOURCE / WIKI mode (never WYSIWYG). 10 + 2. Select all existing page content and delete it. 11 + 3. Paste: 11 11 12 - 4.Save&View.13 + ...everything in this file... 13 13 14 -IMPORTANT 15 -- This file is a FRAGMENT. It deliberately contains no DOCTYPE 16 - declaration and no html / head / body elements. Everything is 17 - scoped inside .fdm-hub so it cannot leak into the wiki theme. 18 -- After saving, only ever re-edit this page in SOURCE mode. 19 - Opening it in the WYSIWYG editor and saving can duplicate the 20 - content, because XWiki may expand the macro output into the page 21 - body while also keeping the macro itself. 22 -- All six links are unchanged from your original page, including 23 - the ?oidc.skipped= parameters on the two footer links. 24 -- Product logos still load from your wiki. The five photographs 25 - are embedded (base64) from the Brand Guide 2025, p.13, so they 26 - need no hosting. To swap one for a hosted image instead, replace 27 - that img's src="data:image/jpeg;base64,..." with a URL. 28 -============================================================--> 15 + 4. Save & View. 16 + 17 + IMPORTANT 18 + - This file is a FRAGMENT. It deliberately contains no DOCTYPE 19 + declaration and no html / head / body elements. Everything is 20 + scoped inside .fdm-hub so it cannot leak into the wiki theme. 21 + - After saving, only ever re-edit this page in SOURCE mode. 22 + Opening it in the WYSIWYG editor and saving can duplicate the 23 + content, because XWiki may expand the macro output into the page 24 + body while also keeping the macro itself. 25 + - All six links are unchanged from your original page, including 26 + the ?oidc.skipped= parameters on the two footer links. 27 + - Product logos still load from your wiki. The five photographs 28 + are embedded (base64) from the Brand Guide 2025, p.13, so they 29 + need no hosting. To swap one for a hosted image instead, replace 30 + that img's src="data:image/jpeg;base64,..." with a URL. 31 + ============================================================ 32 +--> 33 + 29 29 <style> 30 30 @import url('https://fonts.googleapis.com/css2?family=Host+Grotesk:wght@300;400;600;800&display=swap'); 31 -/* Safety net: if the wiki ever renders this block twice, show only the first copy. */ 32 -.fdm-hub { display: none !important; } 33 -/* ---- FirstDigital brand tokens (Brand Guide 2025, p.11) ---- */ 34 -.fdm-hub { 35 - --fd-navy: #003366; /* headlines, backgrounds, icons */ 36 - --fd-blue: #307ab2; /* headlines, backgrounds, icons */ 37 - --fd-blue-bright: #38b2e3; /* stand-out headlines, icons */ 38 - --fd-red: #cf333d; /* accents - use selectively */ 39 - --fd-body: #2e404d; /* paragraph text */ 40 - --fd-secondary: #8f9499; /* secondary text */ 41 - --fd-bg-mid: #dedede; /* backgrounds */ 42 - --fd-bg-light: #f0f0f0; /* backgrounds */ 43 - --fd-white: #ffffff; 44 - --ms-azure: #0078d4; /* Microsoft's own brand blue */ 45 -} 46 -.fdm-hub, .fdm-hub * { box-sizing: border-box; } 47 -.fdm-hub { 48 - font-family: 'Host Grotesk', 'Segoe UI', -apple-system, BlinkMacSystemFont, Arial, sans-serif; 49 - font-weight: 300; 50 - color: var(--fd-body); 51 - background: var(--fd-white); 52 - max-width: 1000px; 53 - margin: 0 auto; 54 - padding: 0 20px 28px; 55 - -webkit-font-smoothing: antialiased; 56 -} 57 -/* ---- Masthead: full-colour logo on white (Logo Rules, p.10) ---- */ 58 -.fdm-masthead { 59 - display: flex; 60 - align-items: center; 61 - justify-content: space-between; 62 - gap: 20px; 63 - flex-wrap: wrap; 64 - padding: 22px 0 18px; 65 - border-bottom: 1px solid var(--fd-bg-mid); 66 -} 67 -.fdm-masthead img { height: 46px; width: auto; display: block; } 68 -.fdm-masthead-label { 69 - font-size: 12px; 70 - font-weight: 600; 71 - letter-spacing: 0.16em; 72 - text-transform: uppercase; 73 - color: var(--fd-secondary); 74 - white-space: nowrap; 75 -} 76 -/* ---- Hero ---- */ 77 -.fdm-hero { 78 - position: relative; 79 - margin-top: 22px; 80 - border-radius: 6px; 81 - overflow: hidden; 82 - min-height: 250px; 83 - display: flex; 84 - align-items: flex-end; 85 -} 86 -.fdm-hero-img { 87 - position: absolute; 88 - top: 0; right: 0; bottom: 0; left: 0; 89 - width: 100%; height: 100%; 90 - object-fit: cover; 91 - display: block; 92 -} 93 -/* explicit offsets, not the inset shorthand, for wider support */ 94 -.fdm-hero::after { 95 - content: ""; 96 - position: absolute; 97 - top: 0; right: 0; bottom: 0; left: 0; 98 - background: linear-gradient(100deg, 99 - rgba(0,51,102,0.94) 0%, 100 - rgba(0,51,102,0.86) 42%, 101 - rgba(0,51,102,0.30) 100%); 102 -} 103 -.fdm-hero-inner { 104 - position: relative; 105 - z-index: 1; 106 - padding: 32px 32px 30px; 107 - max-width: 600px; 108 -} 109 -/* red rule = brand accent motif (Brand Guide p.4) */ 110 -.fdm-rule { 111 - width: 62px; height: 4px; 112 - background: var(--fd-red); 113 - border: 0; 114 - margin: 0 0 16px; 115 -} 116 -.fdm-eyebrow { 117 - font-size: 12px; 118 - font-weight: 600; 119 - letter-spacing: 0.18em; 120 - text-transform: uppercase; 121 - color: var(--fd-blue-bright); 122 - margin-bottom: 9px; 123 -} 124 -.fdm-hero h1 { 125 - font-size: clamp(26px, 3.6vw, 36px); 126 - font-weight: 800; 127 - line-height: 1.14; 128 - letter-spacing: -0.01em; 129 - color: var(--fd-white); 130 - margin: 0 0 11px; 131 -} 132 -.fdm-hero p { 133 - font-size: 15px; 134 - font-weight: 300; 135 - line-height: 1.6; 136 - color: #dbe6ef; 137 - margin: 0; 138 - max-width: 470px; 139 -} 140 -/* ---- Card grid ---- */ 141 -.fdm-grid { 142 - display: grid; 143 - grid-template-columns: repeat(2, 1fr); 144 - gap: 22px; 145 - margin-top: 24px; 146 -} 147 -.fdm-card { 148 - display: flex; 149 - flex-direction: column; 150 - background: var(--fd-white); 151 - border: 1px solid var(--fd-bg-mid); 152 - border-radius: 6px; 153 - overflow: hidden; 154 - text-decoration: none !important; 155 - color: inherit; 156 - height: 100%; 157 - transition: transform .2s ease, box-shadow .2s ease, border-color.2s ease; 158 -} 159 -.fdm-card:hover { 160 - transform: translateY(-3px); 161 - border-color: var(--fd-blue-bright); 162 - box-shadow: 0 12px 26px rgba(0,51,102,0.14); 163 -} 164 -.fdm-card:focus-visible { 165 - outline: 3px solid var(--fd-blue-bright); 166 - outline-offset: 2px; 167 -} 168 -.fdm-media { 169 - position: relative; 170 - height: 132px; 171 - background: var(--fd-bg-light); 172 - flex: 0 0 auto; 173 - /* no overflow:hidden here - the logo badge overhangs the bottom 174 - edge on purpose. The photo is already clipped by object-fit, 175 - and .fdm-card's own overflow:hidden keeps the rounded corners. */ 176 -} 177 -.fdm-media img { 178 - width: 100%; height: 100%; 179 - object-fit: cover; 180 - display: block; 181 -} 182 -.fdm-media::after { 183 - content: ""; 184 - position: absolute; 185 - top: 0; right: 0; bottom: 0; left: 0; 186 - background: linear-gradient(180deg, 187 - rgba(0,51,102,0.06) 0%, rgba(0,40,79,0.52) 100%); 188 -} 189 -/* white badge keeps every logo brand-legal over a photo (p.10) */ 190 -.fdm-badge { 191 - position: absolute; 192 - left: 18px; 193 - bottom: 0; 194 - z-index: 1; 195 - transform: translateY(50%); 196 - width: 58px; height: 58px; 197 - border-radius: 8px; 198 - background: var(--fd-white); 199 - box-shadow: 0 5px 14px rgba(0,0,0,0.18); 200 - display: flex; 201 - align-items: center; 202 - justify-content: center; 203 - overflow: hidden; 204 -} 205 -.fdm-badge img { object-fit: contain; display: block; } 206 -.fdm-logo-webex { width: 74%; height: auto; } 207 -.fdm-logo-teams { width: 64%; height: auto; } 208 -.fdm-logo-firstdigital { width: 84%; height: auto; } 209 -/* icons: dark-blue stroke, bright-blue accent (Brand Guide p.14) */ 210 -.fdm-badge svg { 211 - width: 26px; height: 26px; 212 - fill: none; 213 - stroke: var(--fd-navy); 214 - stroke-width: 1.7; 215 - stroke-linecap: round; 216 - stroke-linejoin: round; 217 -} 218 -.fdm-badge svg .accent { stroke: var(--fd-blue-bright); } 219 -.fdm-body { 220 - padding: 38px 22px 22px; 221 - display: flex; 222 - flex-direction: column; 223 - flex: 1 1 auto; 224 -} 225 -.fdm-title { 226 - display: block; 227 - font-size: 16.5px; 228 - font-weight: 800; 229 - line-height: 1.28; 230 - color: var(--fd-navy); 231 -} 232 -.fdm-sub { 233 - display: block; 234 - font-size: 13.5px; 235 - font-weight: 300; 236 - line-height: 1.55; 237 - color: var(--fd-body); 238 - margin-top: 5px; 239 -} 240 -.fdm-cta { 241 - display: flex; 242 - align-items: center; 243 - gap: 7px; 244 - margin-top: auto; 245 - padding-top: 16px; 246 - font-size: 13px; 247 - font-weight: 600; 248 - color: var(--fd-red); 249 -} 250 -.fdm-cta svg { 251 - width: 15px; height: 15px; 252 - fill: none; 253 - stroke: var(--fd-red); 254 - stroke-width: 2; 255 - stroke-linecap: round; 256 - stroke-linejoin: round; 257 - transition: transform .2s ease; 258 -} 259 -.fdm-card:hover .fdm-cta svg { transform: translateX(4px); } 260 -/* ---- Footer ---- */ 261 -.fdm-footer { 262 - margin-top: 32px; 263 - padding-top: 18px; 264 - border-top: 1px solid var(--fd-bg-mid); 265 - display: flex; 266 - justify-content: center; 267 - align-items: center; 268 - flex-wrap: wrap; 269 - gap: 14px; 270 - font-size: 13px; 271 -} 272 -.fdm-footer a { 273 - font-weight: 600; 274 - text-decoration: none !important; 275 - color: var(--fd-blue); 276 -} 277 -.fdm-footer a:hover { text-decoration: underline !important; } 278 -.fdm-footer a:focus-visible { 279 - outline: 2px solid var(--fd-blue-bright); 280 - outline-offset: 3px; 281 -} 282 -.fdm-brand-first { color: var(--fd-blue); } 283 -.fdm-brand-second { color: var(--fd-navy); } 284 -.fdm-azure { color: var(--ms-azure); } 285 -.fdm-divider { color: var(--fd-bg-mid); font-weight: 300; } 286 -@media (max-width: 768px) { 287 - .fdm-grid { grid-template-columns: 1fr; } 288 - .fdm-hub { padding: 0 12px 22px; } 289 - .fdm-masthead img { height: 38px; } 290 - .fdm-hero { min-height: 220px; } 291 - .fdm-hero-inner { padding: 24px 22px 22px; } 292 -} 293 -@media (prefers-reduced-motion: reduce) { 294 - .fdm-card, .fdm-cta svg { transition: none; } 295 -} 36 + 37 + /* Safety net: if the wiki ever renders this block twice, 38 + show only the first copy. */ 39 + .fdm-hub ~ .fdm-hub { display: none !important; } 40 + 41 + /* ---- FirstDigital brand tokens (Brand Guide 2025, p.11) ---- */ 42 + .fdm-hub { 43 + --fd-navy: #003366; /* headlines, backgrounds, icons */ 44 + --fd-blue: #307ab2; /* headlines, backgrounds, icons */ 45 + --fd-blue-bright: #38b2e3; /* stand-out headlines, icons */ 46 + --fd-red: #cf333d; /* accents - use selectively */ 47 + --fd-body: #2e404d; /* paragraph text */ 48 + --fd-secondary: #8f9499; /* secondary text */ 49 + --fd-bg-mid: #dedede; /* backgrounds */ 50 + --fd-bg-light: #f0f0f0; /* backgrounds */ 51 + --fd-white: #ffffff; 52 + --ms-azure: #0078d4; /* Microsoft's own brand blue */ 53 + } 54 + 55 + .fdm-hub, .fdm-hub * { box-sizing: border-box; } 56 + 57 + .fdm-hub { 58 + font-family: 'Host Grotesk', 'Segoe UI', -apple-system, BlinkMacSystemFont, Arial, sans-serif; 59 + font-weight: 300; 60 + color: var(--fd-body); 61 + background: var(--fd-white); 62 + max-width: 1000px; 63 + margin: 0 auto; 64 + padding: 0 20px 28px; 65 + -webkit-font-smoothing: antialiased; 66 + } 67 + 68 + /* ---- Masthead: full-colour logo on white (Logo Rules, p.10) ---- */ 69 + .fdm-masthead { 70 + display: flex; 71 + align-items: center; 72 + justify-content: space-between; 73 + gap: 20px; 74 + flex-wrap: wrap; 75 + padding: 22px 0 18px; 76 + border-bottom: 1px solid var(--fd-bg-mid); 77 + } 78 + 79 + .fdm-masthead img { height: 46px; width: auto; display: block; } 80 + 81 + .fdm-masthead-label { 82 + font-size: 12px; 83 + font-weight: 600; 84 + letter-spacing: 0.16em; 85 + text-transform: uppercase; 86 + color: var(--fd-secondary); 87 + white-space: nowrap; 88 + } 89 + 90 + /* ---- Hero ---- */ 91 + .fdm-hero { 92 + position: relative; 93 + margin-top: 22px; 94 + border-radius: 6px; 95 + overflow: hidden; 96 + min-height: 250px; 97 + display: flex; 98 + align-items: flex-end; 99 + } 100 + 101 + .fdm-hero-img { 102 + position: absolute; 103 + top: 0; right: 0; bottom: 0; left: 0; 104 + width: 100%; height: 100%; 105 + object-fit: cover; 106 + display: block; 107 + } 108 + 109 + /* explicit offsets, not the inset shorthand, for wider support */ 110 + .fdm-hero::after { 111 + content: ""; 112 + position: absolute; 113 + top: 0; right: 0; bottom: 0; left: 0; 114 + background: linear-gradient(100deg, 115 + rgba(0,51,102,0.94) 0%, 116 + rgba(0,51,102,0.86) 42%, 117 + rgba(0,51,102,0.30) 100%); 118 + } 119 + 120 + .fdm-hero-inner { 121 + position: relative; 122 + z-index: 1; 123 + padding: 32px 32px 30px; 124 + max-width: 600px; 125 + } 126 + 127 + /* red rule = brand accent motif (Brand Guide p.4) */ 128 + .fdm-rule { 129 + width: 62px; height: 4px; 130 + background: var(--fd-red); 131 + border: 0; 132 + margin: 0 0 16px; 133 + } 134 + 135 + .fdm-eyebrow { 136 + font-size: 12px; 137 + font-weight: 600; 138 + letter-spacing: 0.18em; 139 + text-transform: uppercase; 140 + color: var(--fd-blue-bright); 141 + margin-bottom: 9px; 142 + } 143 + 144 + .fdm-hero h1 { 145 + font-size: clamp(26px, 3.6vw, 36px); 146 + font-weight: 800; 147 + line-height: 1.14; 148 + letter-spacing: -0.01em; 149 + color: var(--fd-white); 150 + margin: 0 0 11px; 151 + } 152 + 153 + .fdm-hero p { 154 + font-size: 15px; 155 + font-weight: 300; 156 + line-height: 1.6; 157 + color: #dbe6ef; 158 + margin: 0; 159 + max-width: 470px; 160 + } 161 + 162 + /* ---- Card grid ---- */ 163 + .fdm-grid { 164 + display: grid; 165 + grid-template-columns: repeat(2, 1fr); 166 + gap: 22px; 167 + margin-top: 24px; 168 + } 169 + 170 + .fdm-card { 171 + display: flex; 172 + flex-direction: column; 173 + background: var(--fd-white); 174 + border: 1px solid var(--fd-bg-mid); 175 + border-radius: 6px; 176 + overflow: hidden; 177 + text-decoration: none !important; 178 + color: inherit; 179 + height: 100%; 180 + transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; 181 + } 182 + 183 + .fdm-card:hover { 184 + transform: translateY(-3px); 185 + border-color: var(--fd-blue-bright); 186 + box-shadow: 0 12px 26px rgba(0,51,102,0.14); 187 + } 188 + 189 + .fdm-card:focus-visible { 190 + outline: 3px solid var(--fd-blue-bright); 191 + outline-offset: 2px; 192 + } 193 + 194 + .fdm-media { 195 + position: relative; 196 + height: 132px; 197 + background: var(--fd-bg-light); 198 + flex: 0 0 auto; 199 + /* no overflow:hidden here - the logo badge overhangs the bottom 200 + edge on purpose. The photo is already clipped by object-fit, 201 + and .fdm-card's own overflow:hidden keeps the rounded corners. */ 202 + } 203 + 204 + .fdm-media img { 205 + width: 100%; height: 100%; 206 + object-fit: cover; 207 + display: block; 208 + } 209 + 210 + .fdm-media::after { 211 + content: ""; 212 + position: absolute; 213 + top: 0; right: 0; bottom: 0; left: 0; 214 + background: linear-gradient(180deg, 215 + rgba(0,51,102,0.06) 0%, rgba(0,40,79,0.52) 100%); 216 + } 217 + 218 + /* white badge keeps every logo brand-legal over a photo (p.10) */ 219 + .fdm-badge { 220 + position: absolute; 221 + left: 18px; 222 + bottom: 0; 223 + z-index: 1; 224 + transform: translateY(50%); 225 + width: 58px; height: 58px; 226 + border-radius: 8px; 227 + background: var(--fd-white); 228 + box-shadow: 0 5px 14px rgba(0,0,0,0.18); 229 + display: flex; 230 + align-items: center; 231 + justify-content: center; 232 + overflow: hidden; 233 + } 234 + 235 + .fdm-badge img { object-fit: contain; display: block; } 236 + 237 + .fdm-logo-webex { width: 74%; height: auto; } 238 + .fdm-logo-teams { width: 64%; height: auto; } 239 + .fdm-logo-firstdigital { width: 84%; height: auto; } 240 + 241 + /* icons: dark-blue stroke, bright-blue accent (Brand Guide p.14) */ 242 + .fdm-badge svg { 243 + width: 26px; height: 26px; 244 + fill: none; 245 + stroke: var(--fd-navy); 246 + stroke-width: 1.7; 247 + stroke-linecap: round; 248 + stroke-linejoin: round; 249 + } 250 + 251 + .fdm-badge svg .accent { stroke: var(--fd-blue-bright); } 252 + 253 + .fdm-body { 254 + padding: 38px 22px 22px; 255 + display: flex; 256 + flex-direction: column; 257 + flex: 1 1 auto; 258 + } 259 + 260 + .fdm-title { 261 + display: block; 262 + font-size: 16.5px; 263 + font-weight: 800; 264 + line-height: 1.28; 265 + color: var(--fd-navy); 266 + } 267 + 268 + .fdm-sub { 269 + display: block; 270 + font-size: 13.5px; 271 + font-weight: 300; 272 + line-height: 1.55; 273 + color: var(--fd-body); 274 + margin-top: 5px; 275 + } 276 + 277 + .fdm-cta { 278 + display: flex; 279 + align-items: center; 280 + gap: 7px; 281 + margin-top: auto; 282 + padding-top: 16px; 283 + font-size: 13px; 284 + font-weight: 600; 285 + color: var(--fd-red); 286 + } 287 + 288 + .fdm-cta svg { 289 + width: 15px; height: 15px; 290 + fill: none; 291 + stroke: var(--fd-red); 292 + stroke-width: 2; 293 + stroke-linecap: round; 294 + stroke-linejoin: round; 295 + transition: transform .2s ease; 296 + } 297 + 298 + .fdm-card:hover .fdm-cta svg { transform: translateX(4px); } 299 + 300 + /* ---- Footer ---- */ 301 + .fdm-footer { 302 + margin-top: 32px; 303 + padding-top: 18px; 304 + border-top: 1px solid var(--fd-bg-mid); 305 + display: flex; 306 + justify-content: center; 307 + align-items: center; 308 + flex-wrap: wrap; 309 + gap: 14px; 310 + font-size: 13px; 311 + } 312 + 313 + .fdm-footer a { 314 + font-weight: 600; 315 + text-decoration: none !important; 316 + color: var(--fd-blue); 317 + } 318 + 319 + .fdm-footer a:hover { text-decoration: underline !important; } 320 + 321 + .fdm-footer a:focus-visible { 322 + outline: 2px solid var(--fd-blue-bright); 323 + outline-offset: 3px; 324 + } 325 + 326 + .fdm-brand-first { color: var(--fd-blue); } 327 + .fdm-brand-second { color: var(--fd-navy); } 328 + .fdm-azure { color: var(--ms-azure); } 329 + .fdm-divider { color: var(--fd-bg-mid); font-weight: 300; } 330 + 331 + @media (max-width: 768px) { 332 + .fdm-grid { grid-template-columns: 1fr; } 333 + .fdm-hub { padding: 0 12px 22px; } 334 + .fdm-masthead img { height: 38px; } 335 + .fdm-hero { min-height: 220px; } 336 + .fdm-hero-inner { padding: 24px 22px 22px; } 337 + } 338 + 339 + @media (prefers-reduced-motion: reduce) { 340 + .fdm-card, .fdm-cta svg { transition: none; } 341 + } 342 + 296 296 </style> 297 297 298 298 <div class="fdm-hub">