Commit Graph

114 Commits (502d8c61c1b001815e73502a6296f8f9003c263f)

Author SHA1 Message Date
alok0277 4e0c6cbf9b
Fix banner image scaling on Case Studies pages (#43056)
* image flow is synchronized with the responsive design.

* Update single.html

* Update quote.html

* fixed banner image
2023-10-09 12:23:07 +02:00
Sarthak Patel 6f4039bcef
Add KCSA Certification to Training page (#43318)
* Add KCSA certification to Training page

Co-Authored-By: Tim Bannister <tim@scalefactory.com>

* Change CSS for training

Account for the addition of KCSA.

Co-Authored-By: Tim Bannister <tim@scalefactory.com>

---------

Co-authored-by: Tim Bannister <tim@scalefactory.com>
2023-10-08 16:24:51 +08:00
Satyam Soni 41b672941e
added hover effect on blue buttons of all the pages #fixes42893 (#42929) 2023-09-23 06:42:41 +08:00
Christoph Mewes 8f5daeaead
add optional dark mode to API docs (#43084) 2023-09-21 10:54:43 +08:00
Christoph Mewes 0dc0a52b87 improve scrolling in API ref docs 2023-09-17 09:20:32 +02:00
niranjandarshann 05d49918d6 added hover effect on the video link. 2023-09-01 10:40:58 +05:30
michelle951 8b1a3c47c7 add DaoCloud case study 2023-06-09 11:14:11 +08:00
Dipesh Rawat 273672454d
Fix announcement banner text color (#40137)
* Updated banner text color

* CSS change to stop the override for announcement
2023-03-21 03:25:09 -07:00
jpanda 04e30709f9
Fix hyperlink to CNCF on https://k8s.io/docs/home/ (#33038)
* [bugfix/fix-cncf-hyperlink-on-home] fix🐛: Explicitly set the margin-top property

* [bugfix/fix-cncf-hyperlink-on-home] fix🐛:  remove important

* [bugfix/fix-cncf-hyperlink-on-home] format🥚:  Add comments to indicate the role of css
2022-04-21 22:02:12 -07:00
Tim Bannister afc338c0bf Update and restyle community page
- Use new styles (and remove inline CSS)
- Fix some hyperlinks
- Wording tweaks
- Link to Server Fault, not Stack Overflow
2022-02-20 16:11:33 +00:00
Tim Bannister e993de5dc6 Tidy styles for community section
This change enables an opt-in switch to new styles for /community
It is opt-in to enable localizations to migrate to the new page on their
own timeline.
2022-02-20 16:11:31 +00:00
Ravi Kiran Raju c530a8c914 Fixed wrong footer rendering on community page 2022-01-31 19:55:00 +01:00
Tim Bannister 688c246882 Fix footer rendering
The community page had the wrong rendering for the page footer.
Ensure that the footer is as wide as the viewport.
2022-01-10 23:34:53 +00:00
Shannon Kularathna 3a19cabbe6 Modify CSS to wrap 2 icons at a time 2021-10-14 22:36:09 +00:00
Tim Bannister c02410db24 Move announcement styles into Sass 2021-01-07 08:44:16 +00:00
M. Habib Rosyad 4ba449d527
Switch New York Times case study to use youtube shortcode 2020-11-20 14:32:12 +07:00
Kubernetes Prow Robot 17f418f6d0
Merge pull request #25087 from sftim/20201117_add_cks_training
Add CKS to training page
2020-11-18 09:50:07 -08:00
Tim Bannister 938d569e8e Add CKS to training page
CKS is a two-hour, performance-based certification exam that provides
assurance that a certificant has the skills, knowledge, and competence on
a broad range of best practices for securing container-based applications
and Kubernetes platforms during build, deployment, and runtime. And now
it's live.
2020-11-18 17:38:31 +00:00
Arhell 6953047371 fix "read more" button 2020-11-17 00:24:37 +02:00
M. Habib Rosyad 4d9ee76ace Improve maintainability of Case Studies styling
- Add quote and lead shortcode
- Add case study metadata in front matter (to generate page)
- Allow case study page to inherit similar styles from a centralised CSS file.
2020-10-19 10:10:45 +07:00
Karen Bradshaw be9e8e9ad8 update tooltip styling to bootstrap 2020-10-05 12:05:02 -04:00
Karen Bradshaw ced6db30d7 remove more jquery css 2020-09-30 12:03:21 -04:00
Karen Bradshaw e84e0c0b75 update tab component, remove jquery-ui 2020-09-30 12:03:20 -04:00
Kubernetes Prow Robot 5371b7fd8e
Merge pull request #23185 from sftim/20200816_do_not_print_announcements
Suppress printing any announcements
2020-09-03 15:59:40 -07:00
Tim Bannister b5beb4cded Suppress printing any announcements
When people print the documentation, omit any configured announcement.

Co-authored-by: Celeste Horgan <celeste@cncf.io>
2020-09-03 21:30:18 +01:00
Celeste Horgan 6ec2f71e58 Remove base_fonts.css
Signed-off-by: Celeste Horgan <celeste@cncf.io>
2020-09-02 16:41:06 -07:00
Celeste Horgan fcb5d5adef Remove roboto from /community, /training
Signed-off-by: Celeste Horgan <celeste@cncf.io>
2020-09-02 16:02:45 -07:00
Celeste Horgan c186b6d1d7 Remove Roboto from case study pages
Signed-off-by: Celeste Horgan <celeste@cncf.io>
2020-09-02 15:53:27 -07:00
Celeste Horgan 0815480036 Remove blog.css as it is no longer used
Signed-off-by: Celeste Horgan <celeste@cncf.io>
2020-09-02 10:30:43 -07:00
Tim Bannister 4febf7471d Improve styling for callouts
Update styles for callouts (warning, caution, note); also avoid applying
callout-specific styles to general block quotes.
2020-08-27 00:04:26 +01:00
Kubernetes Prow Robot 6783d77353
Merge pull request #23032 from sftim/20200808_show_deprecation_warning
Tidy & fix deprecation warnings
2020-08-18 09:13:31 -07:00
Kubernetes Prow Robot 52c1f12166
Merge pull request #21884 from sftim/20200618_reduce_header_sizes_announcement
Reduce header height when announcement shown
2020-08-17 11:45:30 -07:00
Tim Bannister 7e23f0f875 Tidy & fix deprecation warnings
Co-Authored-By: Karen Bradshaw <kbhawkey@gmail.com>
2020-08-16 18:34:09 +01:00
TAKAHASHI Shuuji 130822d3d6 Clean up case study images. 2020-07-22 14:24:04 +09:00
Kubernetes Prow Robot fbfd725ff5
Merge pull request #22417 from Arhell/tooltip
fix tooltip overflows
2020-07-14 09:21:21 -07:00
Arhell 896f046d18 fix glossary page link 2020-07-14 00:26:53 +03:00
Tim Bannister 8dc0106ac3 Reduce header height when announcement shown
If there's an announcement showing, adjust the page header to use less
vertical space.

Also reduce the height of the announcement itself.
2020-07-09 21:27:55 +01:00
Kubernetes Prow Robot d585261231
Merge pull request #22183 from ZhiFeng1993/Clean-up-style-user-journeys-css-file
Clean up style user joutneys css file
2020-07-09 10:22:34 -07:00
Arhell 1822626398
fix tooltip overflows 2020-07-08 00:38:22 +03:00
Qiming Teng bb07d99f08 Address review feedbacks 2020-07-06 06:52:46 +08:00
Qiming Teng 162e5edb39 Clean up shared assets for API reference
This PR promotes the CSS, JS and FONTS files used by API reference to
the `static/css`, `static/js` and `static/fonts` directories
respectively. The intent is that for future releases, when generating
API reference docs, only the `index.html` and `navData.js` files need to
be copied from the generator tools.

Details of changes:

- `jquery-3.2.1.min.js` file is replaced by `jquery-3.3.1.min.js` to
  align with the version used by Docsy. We can investigate in the future
  whether this can be shared. Converging to the same version at least
  can reduce the risks of compatibility.
- `jquery.scrollTo.min.js` moved to `static/js` file and renamed to
  `jquery.scrollTo-2.1.2.min.js` so we know the version from file name.
- `scroll.js` moved to `static/js` and renamed to `scroll-apiref.js` to
  siginify that it is used by API reference.
- A `README.md` file is added to `static/js` directory for describing
  the purposes of the these files.
- `bootstrap.min.css` moved to `static/css` and renamed to
  `bootstrap-4.3.1.min.css` so that it can be shared and its version can
  be easily discovered.
- `font-awesome.min.css` moved to `static/css` and renamed to
  `fontawesome-4.7.0.min.css` for the same reason.
- `stylesheet.css` moved to `static/css` and renamed to
  `style_apiref.css` to siginify its purpose.
- A `README.md` file is added to `static/css` directory for describing
  the purposes of the these files.
- FontAwesome fonts files moved to `static/fonts` so that they can be
  shared across API reference versions.
- Current API reference (1.18) is modified to reference the relocated
  files. Upstream generator change on the way
  (kubernetes-sigs/reference-tools/#161).

Related: #22016, #22023, #22041, #22024, #22064
2020-07-05 13:43:03 +08:00
ZhiFeng1993 5f48a54bcd Clean up style user joutneys css file 2020-06-29 22:33:00 -07:00
Tim Bannister 6a94d9838b Mark front page announcements as <aside> elements
This matches the HTML used on the rest of the site. It helps avoid
search engines treating the aside as the primary content of the web
page.
2020-06-24 22:35:00 +01:00
Aidan Ranney 0625ced466
Revise the Kubernetes website to use Docsy (#20874)
* Add Docsy, required packages and config

* Apply Docsy integration work to k8s website

This encompasses significant changes to the style system, layout files,
as well as changes to some of the static assets. To examine this work
and the iterations that were performed, the original repository can be
found at https://github.com/gearbox-built/kubernetes-hugo.git

* Address issues found in review

The styling and positioning of the header, footer, some shortcodes and
main container elements are improved. A new partial is added for
favicons. The sidebars, as well as inner table of contents, have been
altered for better positioning and rendering of content. Localization
has also been addressed.

* Enable announcements

The recent Black Lives Matter announcement surfaced issues which have
been addressed.
2020-06-15 12:09:57 -07:00
Kubernetes Prow Robot 56ac16543b
Merge pull request #19926 from Arhell/fix-menu-blog-page
Fix navigation menu
2020-06-14 06:11:55 -07:00
Kubernetes Prow Robot e0e543c3d0
Merge pull request #20851 from Arhell/fix-community-banner
fix community page banner
2020-06-10 11:02:52 -07:00
Celeste Horgan 9b9ce1f942
Reimplement announcements (#21586)
* Reimplement announcements

Signed-off-by: Celeste Horgan <celeste@cncf.io>

Address deprecation-warning styling

Signed-off-by: Celeste Horgan <celeste@cncf.io>

Use partial only

Signed-off-by: Celeste Horgan <celeste@cncf.io>

Refine

Signed-off-by: Celeste Horgan <celeste@cncf.io>

* Turn on announcements for preview only

Signed-off-by: Celeste Horgan <celeste@cncf.io>

* Update config.toml

Co-authored-by: Celeste Horgan <celeste@cncf.io>

Co-authored-by: Zach Corleissen <zacharysarah@users.noreply.github.com>
2020-06-09 13:46:05 -07:00
Celeste Horgan 4d297ebdef style announcement link
Signed-off-by: Celeste Horgan <celeste@cncf.io>
2020-06-04 16:48:07 -07:00
Celeste Horgan 9caa83d75b Improve announcements implementation
Signed-off-by: Celeste Horgan <celeste@cncf.io>

Co-authored-by: Tim Bannister <tim@scalefactory.com>
2020-06-04 14:20:47 -07:00
Arhell d36e57aedd
update navigation menu 2020-05-15 18:39:47 +03:00