align EN training page styles with Docsy and fix its mobile UX#54826
align EN training page styles with Docsy and fix its mobile UX#54826Caesarsage wants to merge 2 commits intokubernetes:mainfrom
Conversation
✅ Pull request preview available for checkingBuilt without sensitive environment variables
To edit notification comments on pull requests, go to your Netlify project configuration. |
| cid: training | ||
| class: training | ||
| body_class: training | ||
| training_styles_migrated: true |
There was a problem hiding this comment.
| training_styles_migrated: true | |
| # Once all localizations have migrated, we can drop the training_styles_migrated | |
| # field and simplify the CSS code. | |
| training_styles_migrated: true |
assets/scss/_k8s_training.scss
Outdated
|
|
||
| body.training section.call-to-action { | ||
| color: #ffffff; | ||
| background-color: #326ce5; |
assets/scss/_k8s_training.scss
Outdated
| } | ||
|
|
||
| body.training .button:hover { | ||
| background-color: #2357b0; |
assets/scss/_k8s_training.scss
Outdated
| } | ||
|
|
||
| body.training .lighter-gray-bg { | ||
| background-color: #f4f4f4; |
|
LGTM label has been added. DetailsGit tree hash: f8539c3e7d79be9cd85d0632789439c4589704d3 |
assets/scss/_k8s_training.scss
Outdated
| display: flex; | ||
| flex-grow: 1; | ||
| width: 18%; | ||
| background-color: #f9f9f9; |
assets/scss/_k8s_training.scss
Outdated
| } | ||
|
|
||
| body.training .blue-bg { | ||
| background-color: #326ce5; |
content/en/training/_index.html
Outdated
| <section> | ||
| <div class="main-section padded"> | ||
| <center> | ||
| <div class="training-center"> |
There was a problem hiding this comment.
nit: we don't really need a class named training-center.
We can select based on eg body.training section > .main-section > … and not clash with other sections.
|
Thanks for the review, I will make the updates and make follow up localization PR |
|
New changes are detected. LGTM label has been removed. |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
This PR migrates the English Training page to Docsy-aligned styling via the SCSS pipeline, while preserving legacy styling for other locales.
other locales stay unchanged.
Includes mobile alignment fixes for CTA and training partner sections.
new:
existing:

similar changes with the kubestronaut program section
Follow-up PRs will migrate each locale individually by enabling training_styles_migrated per locale.
related to #41171