Commit Graph

126 Commits (0904bf6f19952b84f0ed6b462e9f7338476d5829)

Author SHA1 Message Date
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
mohamed chiheb ben jemaa 73ef2c557b adjust and center Blog links (#15541) 2019-08-15 20:28:33 -07:00
Luc Perkins 654db85168 Use Hugo extended for Sass/CSS (#13113) 2019-06-09 06:31:07 -07:00
Alex Contini ee82d89a96 fix broken image link on community page (#14065)
* update image link

* Update newcommunity.css
2019-04-29 15:53:36 -07:00
Chris Abraham 4e35312a7f New Community page, as designed by @alexcontini (#13046)
* new community page

* update
2019-04-26 12:40:05 -07:00
Sai Adarsh S cec547a509 Fixed Footer Nav (#13165) 2019-04-05 08:45:22 -07:00
Kevin Simper b0b38b0b81 Make website responsive and don't force min-width (#13417) 2019-03-25 20:19:16 -07:00
Alex Contini 230dfa1400 add AppDirect case study (#13338)
* add AppDirect case study

* Update index.html

* updates

* Update style_case_studies.css
2019-03-25 15:36:17 -07:00
Damini Satya 47c64a908a Fix #12506 - Misalignment of the community logos (#12507) 2019-03-19 13:56:22 -07:00
Karen Bradshaw b1c288926b fix contrib button, blog footer (#13188)
fix the font-size for the contrib button in blog footer
2019-03-18 16:52:20 -07:00
Dani Comnea 56021dc671 Reorganize Federation tasks so we have it group and under one topic (#12900)
* Reorganize Federation tasks so we have it group and under one topic

* Intended replacement
2019-03-12 13:38:39 -07:00
Luc Perkins 0650b70742 Fix sticky footer issue (#10681)
* Fix sticky footer issue

* Fix merge conflict

* Aesthetic changes to 404 page
2019-02-27 20:07:42 -08:00
Luc Perkins f0ce633de5 Adjust button text size (#12505) 2019-02-05 08:34:57 -08:00
Andrew Chen b3ed053c82 Refactor home page (#10795)
* Fix docs home subnav link name

* change linkTitle to Home

* accept fix from master

* refactor docs home template

* bump

* test

* switch layout to basic

* swap in cards

* test card css

* add launch-cards and launch-card classes

* swap in content

* use different layout name to not affect user journeys

* revert file naming

* revert docsportal.html

* remove main, add kubeadm link

* documentation -> docs

* change kubeadm link
2019-01-23 18:36:23 -08:00
Luc Perkins 49dfdd8c0a Convert all Sass to line spacing (#11463) 2019-01-16 10:13:05 -08:00
Karen Bradshaw 5422655bed fix link color in ui-widget-content (#11845) 2019-01-07 01:57:45 -08:00
Iko 53f797b5d1 Fix "typo" and clearing CSS (#10246)
* Dev: clearing and fixing typo

* Def: fixing "Typo"

* Update style_user_journeys.css

Change ".docscoltitle" padding-top:0%; to padding-top:0;

* (Fix Minor) Fix writing space in @media.

* Update style_case_studies.css

Clearing white space

* (Fix Minor)Improving spaces inside *.CSS. (prettier)
2018-12-17 16:59:46 -08:00
Lucas Käldström 551489f196 kubeadm GA blog post (#11462)
* kubeadm GA blog post

* Change file name and add post metadata

* Update CSS for blog post tables

* More formatting and wording changes

* Change build process to allow for displaying future blog posts

* Add links to command documentation

* Change blog post date and address PR feedback

* More wording updates
2018-12-04 08:44:17 -08:00
Luc Perkins 4a6a022e61 Update Git info CSS (#10496) 2018-11-24 08:03:52 -08:00
Kayce Basques 59c4712807 add feedback widget to bottom of docs (#11037) 2018-11-20 05:44:49 -08:00
Karen Bradshaw f7d235cf64 update ol ul li bullet to disc (#10714)
* update ol ul li bullet to disc

- update ol ul li bullet to disc
- move note out of list so that list numbers are correct
- fix typo

* futher clean-up
2018-11-16 14:38:29 -08:00
Takuya N 62608749e1 Fix customized CSS for case study (#10531)
Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
2018-11-16 11:21:09 -08:00
James George b30e28e2c6 Minor UI fix (#10729)
* Fixes 👍

* Minor fix 👍
2018-10-25 10:08:57 -07:00
James George 9cd91a59e5 Fixes 👍 (#10688) 2018-10-24 06:25:14 -07:00
Karen Bradshaw f0bcb80dd4 [WIP] css updates for ol,ul,li (#10684) 2018-10-23 07:23:35 -07:00
bsky 4b9882f84c Fix tryKubernetes button (#10642) 2018-10-17 07:32:07 -07:00
Takuya N ad54de449f Improve mobile user experience on pages under /docs (#10072)
Force #docs #vendorStrip elements to use overflow-x: scroll in CSS.

Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
2018-10-16 04:34:55 -07:00
Chris Keele 49ee537481 Added CSS height property to #oceanNodes main to fix spacing in Firefox (#10169)
* Changed CSS property for browser consistency.

* Moved height property into tablet media query to fix issue on smaller screens.

* Add changed to two more .content files.

* Updated generated resources files, this time using Hugo extended.
2018-10-15 14:17:13 -07:00
LiuDui 1f8d278456 Remove redundant symbols (#10556) 2018-10-09 04:48:45 -07:00
Takuya N b45fd9cca4 Fix CSS for case study (#10463)
Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
2018-10-03 17:13:12 -07:00
Luc Perkins 977cab9252 Fix spacing error in CSS (#10478) 2018-10-03 17:09:31 -07:00
Luc Perkins 4c2b56625c Temporarily remove Hugo Pipes Sass conversion (#10373)
* Add new Sass generation system

* Remove resources folder

* Add develop Sass command and sourcemaps

* Add Hugo version shortcode for use in docs

* Add OWNERS file to ./sass folder
2018-10-01 13:38:01 -07:00
Luc Perkins 9ce0cd0906 Add AnchorJS logic for header links (#10155)
* Add AnchorJS JavaScript

* Remove existing inpage_heading logic

* Remove underline from anchor tags

* Use single icon and add touch visibility

* Use paragraph link icon for AnchorJS

* Update Sass to use code formatting in docsContent headers

* Update header size coverage to H3-H6
2018-09-10 13:09:36 -07:00
Luc Perkins e25a377509 Use local assets over CDN assets (#10153)
* Use local assets over CDN assets

* Add versions to JS filenames
2018-08-30 20:24:28 -07:00
Misty Linville f8e4d35c5f Add JS to linkify in-page H1-H6 (#9751) 2018-08-18 07:36:42 -07:00
Alex Contini 966843c4e1 add SlingTV and Workiva case studies (#9769)
* add SlingTV and Workiva case studies

* update

* updates

* update
2018-08-06 18:20:45 -07:00
lucperkins 548736d5c7 Fix homepage image loading issue 2018-07-26 15:18:26 -07:00
Kaitlyn Barnard 7c9a1987a5 Add CNCF logo to homepage (#9375)
* add CNCF logo on homepage

* edits
2018-07-18 16:36:43 -07:00
Kaitlyn Barnard 3ecba1eea1 changing button spacing (#8963) 2018-07-18 13:29:22 -07:00
Misty Linville 85e3040dfa Use static content for code of conduct (#9355)
Move the code of conduct page under /community
Add redirect
Use text from CNCF COC and note the revision we imported it at
Add note to top of imported file not to edit it directly
2018-07-09 12:12:17 -07:00
Alex Contini 30acbfad12 add Capital One and ING case studies (#9371)
* add Capital One and ING case studies

* updates to styling

* fixes to feature image sizing and link on ING case study

* updates to spacing

* updates
2018-07-06 12:52:20 -07:00
Misty Linville f53bc94d85 Fix CSS for edit buttons and page history (#9360) 2018-07-02 17:56:17 -07:00
Misty Linville 1b914f4ac7 Add Git info to per-page template (#9309)
* Add per-page Git commit info

* Try moving the buttons down below the page TOC

* Add page history to page footer
2018-07-02 16:17:19 -07:00
Kaitlyn Barnard de59a85534 Updating case studies on homepage (#9303)
* updating case studies on homepage

* updated images
2018-06-28 22:17:21 -07:00
Chandan Kumar 77f05f6174 Fix k8s logo in Blog (#9113)
- Modify `style.css` and add `id` for Blog

Signed-off-by: chandan kumar <chandan.kr404@gmail.com>
2018-06-20 16:00:06 -07:00
Jesse Stuart 131964d59a [css] Remove bullet styling from "tab-nav" components. (#9020)
* [docs] Fix syntax formatting in HA-setup doc.

Attempts to fix an unformatted code block; whatever markdown parser is being used seems to have gotten tripped up, and as a result the inline `yaml` in the script is interpreted as bullet points... it looks [pretty yucky](http://jstu.art/sAjc). I'm wondering if this is something specific to the Hugo toolchain? Because GH itself recognizes the block as valid, even with the `none` syntax type.

If this doesn't trigger a CI build preview, I can test locally to verify.

* [css] Don't display ul/li bullets on UI 'tabs-nav' components.

* [docs] Revert HA docs changes.

This reverts commit f5cf5c7e4f.
2018-06-15 13:42:28 -07:00
Zach Arnold c49b3f4d74 fix the spastic buttons (#8949) 2018-06-07 10:36:23 -07:00
Misty Stanley-Jones 12581a0428 Fix list examples and CSS (#8622)
* Address CSS issues

Signed-off-by: Misty Stanley-Jones <mistyhacks@google.com>

* Address feedback
2018-06-06 15:18:25 -07:00
Zach Arnold f0179aeb0d Fix video overlay bug and other CSS issues with case studies (#8954)
* fix css for ny times case study

* fix for bla bla car
2018-06-06 14:11:24 -07:00
T N 3c1c581de6 Fix responsive around sidebar on blog (#8610) 2018-06-05 03:52:54 -07:00
Kaitlyn Barnard e859e827ce changing homepage images (#8806) 2018-06-01 08:49:56 -07:00
Alex Contini 3417aa98a7 add The New York Times case study (#8556)
* add The New York Times case study

* fix image links

* fixes to bottom banner
2018-05-22 14:57:25 -07:00
weipeng1213 4d68d58911 fix-typo: accomodate->accommodate (#8590) 2018-05-19 21:34:50 -07:00
Bjørn Erik Pedersen 7f3b633aa0 Convert site to Hugo (#8316)
This commit converts content and layout to use Hugo.
2018-05-05 09:00:51 -07:00