Commit Graph

103 Commits (76e78444ef662f6369ad270e3dce44dfc8b844ec)

Author SHA1 Message Date
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
Alex Contini 836907c43a add Denso case study and fix svg images at top of case study landing page 2020-05-13 13:10:55 -04:00
Arhell 108c61cca6
fix community page banner 2020-05-09 01:37:50 +03:00
Arhell 7868348a87
remove white bar on the blog page 2020-05-08 00:33:43 +03:00
Arhell b6449353e6
fix docs home page on mobile renders poorly 2020-04-05 20:58:16 +03:00
Celeste Horgan 43f5d0124a Add logos to training page
Signed-off-by: Celeste Horgan <celeste@cncf.io>
2020-04-02 12:26:11 -07:00
Kubernetes Prow Robot 67c0fb987e
Training page in the top nav (#19214)
* Create new page and add to top nav

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

* The basics

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

* A bit of inline css

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

* Fix CSS

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

* Fix link + Add to bottom row

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

* Address feedback in PR

* Address feedback from elsewhere

* Fix button alignment

* Add training partners

* Simplify css

* Apply suggestions from review

Co-Authored-By: Zach Corleissen <zacharysarah@users.noreply.github.com>

* Fix landscape + text block widths

Co-authored-by: Zach Corleissen <zacharysarah@users.noreply.github.com>
2020-03-04 11:01:48 -08:00
jkld11 8121d3ea8c Add adidas case study (#17569)
* create index.html for adidas

* add adidas images and logo

* add adidas logo

* Delete adidas-featured.svg

* Update index.html

* Update case-studies-gradient.css

* Update index.html

* Update case-studies-gradient.css

* Update index.html

* Update index.html

* Update case-studies-gradient.css
2020-01-08 15:53:40 -08:00
Alex Contini 76787f76e4 Add new case study stylesheet (#17334)
* Add new case study stylesheet

We will be adding a bunch of new case studies with an updated design (a lot of it is just simplified). I created this new file, and for the new case studies we will add
this updated code at the top from now on:

---
case_study_styles: true
cid: caseStudies
css: /css/new_case_studies.css
---

So just replacing the old css file with this one. Let me know if that is not going to work the way I think it will, thank you!

* update name

* update file name
2019-11-07 13:19:43 -08:00
Chaitanya 6a4238aa71 Accessibility updates - main landmark roles (#17106)
* Removed multiple main tags from home page

Signed-off-by: chaitanyakaranam <chaitanya.karanam@yahoo.com>

* Removed multiple occurances of main in case-studies page

Signed-off-by: chaitanyakaranam <chaitanya.karanam@yahoo.com>

* Replaced css for main tag with .main-section class

Signed-off-by: ChaitanyaKaranam <karanam.krishna.25@gmail.com>

* Added main landmark role for all the pages

Signed-off-by: ChaitanyaKaranam <karanam.krishna.25@gmail.com>

* Force checks.

request-checks: true
2019-10-27 04:43:24 -07:00
aimeeu d549942636 Add announcement shortcode and partial (#16210)
Add shortcode, partial, and css so we can display an accouncement
site-wide.
Create a shortcode for use in content/en/ _index.html so
announcement is displayed on website landing page.
Create a partial for use in layouts/docs/baseof.html so
announcement is displaye on every page in '<url>/docs/home'
directory.
Add two values to config.toml: announcement (boolean) for toggling
display of announcement; announcement_message, which is the actual
message.

Signed-off-by: Aimee Ukasick <aimeeu.opensource@gmail.com>
2019-09-09 14:22:55 -07:00
mohamed chiheb ben jemaa 63eb064d96 update sweetAlert and fix scrolling after copy (#15542) 2019-08-21 17:20:32 -07:00