Commit Graph

211 Commits (cadcebac2525d08e9e1a6f101786e14df1ef7701)

Author SHA1 Message Date
Tim Bannister 724698d793 Use right shade of blue
Use the shade of blue specified in k/kubenetes.
Per https://github.com/kubernetes/kubernetes/blob/1dc30bf/logo/colors.md
the RGB blue color is #326CE5.

Use that.
2024-05-07 00:36:28 +01:00
Kubernetes Prow Robot 121671a3c8
Merge pull request #45893 from garritfra/bugfix/feedback-button-color
Fix documentation feedback button style
2024-05-03 18:21:37 -07:00
Kubernetes Prow Robot 0347c7469f
Merge pull request #45915 from garritfra/bugfix/search-bar-border
Fixed selected search bar border styling
2024-05-03 18:19:26 -07:00
Kubernetes Prow Robot 7200e457cb
Merge pull request #45872 from sftim/20240414_vanillaify_content_community
Ready community pages for vanilla Docsy
2024-04-25 18:12:05 -07:00
Tim Bannister f8bd5568c7 Revise appearance for feature-state shortcode
Co-authored-by: Dipesh Rawat <rawat.dipesh@gmail.com>
2024-04-24 09:52:42 +01:00
Tim Bannister ebfc1eaeae Ready community pages for vanilla Docsy
Align how we style the community section to work more the way Docsy expects
it to.
2024-04-23 16:11:18 +01:00
Garrit Franke 20d404e2f8
Fix documentation feedback button color
Add id anchor to feedback section in docs

Move :hover selector to button class
2024-04-19 09:01:12 +02:00
Kubernetes Prow Robot b1479aa8ea
Merge pull request #42206 from sftim/20230725_update_owners
Switch to finer controls on approver access
2024-04-18 09:19:17 -07:00
Garrit Franke ac84da5dc6
Fix selected search bar border styling 2024-04-18 12:42:27 +02:00
Tim Bannister 215e9ee38a Ready partners page for vanilla Docsy
Align how we style the partners page to work more the way Docsy expects
it to.
2024-04-14 21:54:29 +01:00
Tim Bannister 6e83b0902e Set labels and reviewers for website assets 2024-04-05 00:46:07 +01:00
John.C df0239c548
Fix navbar Search text visibility and background color on scroll (#45594)
* Fix search text

* Fix search text

* Fix search text
2024-03-19 09:35:47 -07:00
Kubernetes Prow Robot eb5414743b
Merge pull request #44574 from coder12git/sur/search
Show a way to search even when page scrolled
2024-03-17 17:43:21 -07:00
Gauravpadam d234b6c57d Added script for managing state of announcement banner
Script for dismissing the banners

Integration of the script

Some optimizations for the script

Reverting test changes for scheduled.yaml

rebase commit

Enhanced code readability
2024-03-13 18:34:37 +00:00
Tim Bannister 9fdb0eb76b Avoid two <h1> elements for blog section
Change the layouts so that pages in the blog section don't have two <h1>
elements.

Co-authored-by: Gaurav Padam <gauravpadam2@gmail.com>
2024-01-12 14:06:16 +00:00
Suruchi Kumari 9698b89fa0 change font-color
Signed-off-by: Suruchi Kumari <suruchikumarimfp4@gmail.com>
2023-12-30 06:32:31 +00:00
Suruchi Kumari 5424db7d1d make css fore specific
Signed-off-by: Suruchi Kumari <suruchikumarimfp4@gmail.com>
2023-12-30 04:24:39 +00:00
Suruchi Kumari cb7449b18b adjusted viewports
Signed-off-by: Suruchi Kumari <suruchikumarimfp4@gmail.com>
2023-12-29 17:24:28 +00:00
Suruchi Kumari 467f672988 add search button
Signed-off-by: Suruchi Kumari <suruchikumarimfp4@gmail.com>
2023-12-29 14:44:26 +00:00
Subhajit009iitr 38fee27aa5 Move CSS changes to _custom.scss 2023-12-27 20:38:38 +05:30
Neko Ayaka 3aeff30a8e
Improve readabilities by restricting X (Twitter) widget width and height in /community page
1. Limit embedded X (Twitter) widget iframe with
   - 600px of width with data-width attribute,
   - 800px of height with data-height attribute.
2. Adjusted the styles of the container of X (Twitter) widget for better UI/UX with centered elements.

Signed-off-by: Neko Ayaka <neko@ayaka.moe>
2023-11-01 11:15:16 +08:00
James Hunt 52857c56e8 Update Bing Search to use Bing APIs not Cognitive Services
Signed-off-by: James Hunt <10615884+thetwopct@users.noreply.github.com>
2023-10-29 21:28:48 +07:00
Sarthak Patel a542d9d8c6 Fix Kubeadm install layout break for mobile device 2023-10-24 09:37:39 +05:30
Meenu Yadav 0c63fb814b
fix:Mismatch of footer colour at Case-Study pages (#43021) 2023-10-09 18:17:27 +08:00
Kubernetes Prow Robot 7986211eb5
Merge pull request #43166 from Gauravpadam/docs-homepage-SCSS-changes
Changes to make the docs homepage cards look consistent
2023-10-05 08:58:16 +02:00
Gauravpadam 0b4c196e7b Changes for docs home page card layout
Reduced padding to make text compatible

Some amendments ; bg removed

Buttons left aligned

Grid is more suitable for context

added a wrapper div with flex
2023-09-27 16:42:42 +05:30
Rituraj Dey d00e01d8be
Added hover effects on buttons 2023-09-23 13:40:58 +05:30
Satyam Soni 41b672941e
added hover effect on blue buttons of all the pages #fixes42893 (#42929) 2023-09-23 06:42:41 +08:00
Tim Bannister 5cce5a59e0 Revert CSS changes for launch cards
Reverting an unintended merge.
2023-09-22 15:09:37 +01:00
Gauravpadam 64ae09ea32 Docs home page card layout is now consistent 2023-09-22 19:06:07 +05:30
Gaurav Padam 71cd6ca203
Implemented a single columned list for the kubernetes metrics reference page (#42823)
* Single column css and documentation.md

* Wrapper class added & SCSS adjusted accordingly

* some label fixes

* Wrapper class is now metric only

* Final fixes for labels and padding in mobile devices
2023-09-08 09:36:18 -07:00
Kubernetes Prow Robot c818b277f0
Merge pull request #42394 from Gauravpadam/metrics-change
Improved the current styling of the metrics table
2023-08-07 21:42:13 -07:00
Abhigya Dufare 5ef1c2c1d0
Amend card structure for Features section on Homepage (#42093)
* Fixing issue #38958

* restoring package-lock.json
2023-08-07 06:10:31 -07:00
Gauravpadam 7e7571bb19 table.metrics selector added 2023-08-06 18:41:54 +05:30
Gauravpadam 6cc095bf81 Improves current appearence 2023-08-06 14:45:05 +05:30
Gauravpadam e135f05006 indexing for readers ; Improved formatting 2023-08-05 15:56:13 +05:30
Gauravpadam efd907b5a6 Removed css dependency to modify the page 2023-08-05 12:47:17 +05:30
Gauravpadam cae4e1b509 Implemented single column list for metrics page 2023-08-05 00:34:31 +05:30
Tim Bannister 1d4ea15236
Add styles for complex layout tables
When there are tables that have rowspan header cells, avoid making those
tables stripy (override Docsy here). Also customize how the table is
laid out.
2023-04-29 21:40:49 +01:00
mostafahanafi 8095fdb540 changed selection color to kubernetes blue 2023-04-21 05:46:57 +01:00
TAKAHASHI Shuuji a2273be492
Adjust CSS for Bing search result page 2023-02-08 17:51:04 +09:00
sp7infinity b6f3d7914d Fixed overlap of nav-links with other content in certain screen sizes 2023-01-04 19:54:20 +05:30
Steven Powell b92e946ece Fix tabs shortcode CSS 2022-12-28 14:07:35 -08:00
Yoji Kojio bcbb0492bf 🐛 Fixes horizontal scroll on yaml code blocks
Removes overflow:hidden from block to prevent the content from being cut off.
2022-10-22 13:14:04 -03:00
David Hay 325f7d0eab
Consistent spacing for yaml example code (#36850)
* Consistent spacing for yaml example code

* consistent spacing for yaml example code when copying

* ending newline added

* target language-yaml class

* reverting to first

* fixed bracket
2022-10-04 22:30:04 -07:00
Shivansh Yadav d75f302c1f
fix: CSS inconsistencies between docs/tutorials/kubernetes-basics and… (#34188)
* fix: CSS inconsistencies between docs/tutorials/kubernetes-basics and the rest of the pages

* fix: remove blank lines
2022-10-02 09:40:13 -07:00
Nabarun Pal 6d7a573eb1
release: move markdown tables to shortcode
also, add i18n definitions for terms in the patch release page

Signed-off-by: Nabarun Pal <pal.nabarun95@gmail.com>
2022-09-15 12:57:16 +05:30
Tim Bannister 59fb055140
Update banner styles
Allow text to be any color, not just white. Leave white text as the
default.
2022-05-13 14:03:50 +01:00
Kubernetes Prow Robot e7af510fde
Merge pull request #31658 from sftim/20220207_revise_community_page_and_styles
Revise community page and styles
2022-03-24 17:19:50 -07:00
Jordan Liggitt a61da6510d Soften language about older articles 2022-02-27 17:23:36 -05:00
Tim Allclair 198ae37902
Rewrite PodSecurityPolicy migration guide (#31782) 2022-02-24 18:07:56 -08: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
Kubernetes Prow Robot ca8f4f1b7d
Merge pull request #31056 from sftim/20211221_mermaid_improvements
Improvements for Mermaid support
2022-02-19 14:22:09 -08:00
Kubernetes Prow Robot 78f6ae073e
Merge pull request #31623 from sftim/20220204_tweak_blog_outdated_warning
Recolor warning about old blog articles
2022-02-11 08:52:24 -08:00
Tim Bannister 56d4b26a24 Fix permissions for two Sass files
Sass should not be executable. Update permissions to reflect this.
2022-02-06 21:14:27 +00:00
Tim Bannister fbc529ce0a Recolor warning about old blog articles
Use white on blue. This color combination is on-brand and stands out,
whilst looking less alarming than the black on yellow for old
documentation versions.
2022-02-04 15:37:59 +00:00
Ravi Kiran Raju c530a8c914 Fixed wrong footer rendering on community page 2022-01-31 19:55:00 +01:00
Kubernetes Prow Robot 561cb83a26
Merge pull request #31456 from gaoliang/main
Sticky table of contents
2022-01-25 07:56:30 -08:00
gaoliang 2ba08d6cb8 Make TOC sticky 2022-01-22 02:36:08 +08: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
Tim Bannister e66d19ff6e Improve message shown for Mermaid when JS not enabled 2021-12-21 18:54:46 +00:00
Tim Bannister cf88ca5658 Custom style for release logos
You can now use a figure shortcode to mark a release logo and get
appropriate styles.
2021-12-08 00:30:21 +00:00
Kubernetes Prow Robot 4d7746fc1b
Merge pull request #29901 from sftim/20211003_fix_announcement_background
Fix gradient background rendering for announcements
2021-12-05 15:22:32 -08:00
Tim Bannister 4dc09070ee Improve recent release list
- fix unwanted trailing separator
- better styling for the items
- more semantic markup (also enables improved CSS)
2021-11-27 18:42:11 +00:00
Webber Takken 123e57390e
Fix layout issue in docs pages, like jobs
See #30470 for more details.
2021-11-15 14:29:30 +01:00
Kubernetes Prow Robot 098501ebfd
Merge pull request #30082 from sftim/20211013_revise_header_style
Revise page header styles
2021-11-12 20:00:46 -08:00
Kubernetes Prow Robot 1a8c641d79
Merge pull request #25299 from sftim/20201129_revise_api_reference
Revise “Kubernetes API Concepts”
2021-11-01 09:47:20 -07:00
Kubernetes Prow Robot 99e49b2751
Merge pull request #30068 from sftim/20211013_use_docsy_alerts
Use Docsy alert classes
2021-10-26 18:01:41 -07:00
Tim Bannister 3fc2bcbbd0 Add left indent for definition lists
Use padding to make the lists stand out from surrounding text.
2021-10-24 14:34:48 +01:00
Kubernetes Prow Robot 286db402a2
Merge pull request #30123 from sftim/20211017_more_responsive_figure_sizing
Make  figure sizing more responsive
2021-10-21 17:10:37 -07:00
afro-coder f4bea11f53
Added css to improve user experience with docs 2021-10-19 18:12:48 +05:30
Tim Bannister 1fe561a4de Style diagrams based on intended size 2021-10-17 21:31:27 +01:00
Tim Bannister 1e436f4587 Revise page header styles
- more compact headers when announcements are showing
- when no announcement showing, top level docs sections
  (eg Concepts, Tasks, Reference) have a heading in the top nav
- when announcement is showing, rely on the breadcrumb trail plus
  page introduction text for each top level section
- switch from plain black docs header to match other sections
2021-10-13 22:47:29 +01:00
Tim Bannister 4a57e58ab4 Use Docsy alert classes
Update the Kubernetes overrides from the Docsy theme to diverge less,
specifically in the areas of callouts (alerts) and pageinfo blocks.
2021-10-13 01:10:58 +01:00
Tim Bannister 5f6c6877bb Fix gradient background rendering for announcements
When an announcement uses a gradient background, the inherited
background looks wrong. Instead, make the child element's background
transparent.
2021-10-03 16:33:15 +01:00
Tim Bannister bab43543f0 Set custom color for third-party-content alert 2021-10-02 17:01:11 +01:00
Tim Bannister feb2785238 Highlight third party content disclaimer
When the (new) third party content disclaimer is the current target,
highlight it with a flash of yellow that fades to a yellow background,
rather than the usual gray.
2021-10-02 16:53:59 +01:00
Tim Bannister 968dbbaaad Restrict width of blog figures for wide viewports
Docsy uses Bootstrap to restrict the width of text paragraphs when the
viewport is very wide. Also apply that to <figure> elements within blog
articles.
2021-09-28 18:44:42 +01:00
Kubernetes Prow Robot c44acaba89
Merge pull request #27689 from shuuji3/shuuji3/add-search-to-blog-pages-20895
Add the search box and the toggle section navigation
2021-05-16 05:49:59 -07:00
Kubernetes Prow Robot b1818fd1b5
Merge pull request #27406 from bpmct/fix-align-tablet
Fix image positioning on homepage, tablet
2021-05-10 05:40:51 -07:00
TAKAHASHI Shuuji af860986bd Add the search box and the toggle section navigation (for mobile) 2021-04-28 12:20:24 +00:00
Qiming Teng a149f9c2d2 Tune code style in tables
This is a follow up of #26595 and kubernetes-sigs/reference-docs#220.
2021-04-07 15:58:04 +08:00
Ben Potter 5baf9fb48a
fix image positioning: homepage, tablet 2021-04-04 18:24:00 -04:00
Henry Liu 2c530c295a
Improve "look and feel" of tabs to make it clearer where they start/end (#26828)
* improve "look and feel" of tabs to make it clearer where they start/end

* add border-radius to tab-pane

* remove the .td-content .hightlight margin when inside the tab-content
2021-03-27 01:50:43 -07:00
Taylor Chaparro 9adf2c1b31
Fix search input overlapping site nav 2021-01-26 08:38:41 -08:00
Tim Bannister c02410db24 Move announcement styles into Sass 2021-01-07 08:44:16 +00:00
TAKAHASHI Shuuji b5c0e5ea14 Replace the diagram on authentication page with the one by mermaid. 2020-11-23 14:12:21 +09:00
TAKAHASHI Shuuji 36d5fe6d3d Apply the common blue style to buttons under .main class. 2020-11-05 20:45:11 +09:00
Kubernetes Prow Robot 18634747c9
Merge pull request #23820 from kbhawkey/kb-adjust-table-margin
adjust table margin bottom
2020-10-20 15:30:21 -07: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
Kubernetes Prow Robot 3d23e421d2
Merge pull request #24233 from sftim/20200929_tweak_front_page_first_paragraph_heading
Revise style of site front page
2020-10-07 04:50:42 -07:00
Karen Bradshaw be9e8e9ad8 update tooltip styling to bootstrap 2020-10-05 12:05:02 -04:00
Tim Bannister f77650a4f6 Revise style of site front page
On the front page of the site, the first paragraph was actually a
heading. Replace that with a text paragraph that has a similar style.
2020-09-29 23:00:00 +01:00
Tim Bannister 61fdeb79bf
Switch Mermaid scrollbar to automatic 2020-09-22 18:46:53 +01:00
Celeste Horgan ed749d19f6 Add overflow CSS for mermaid.js diagrams 2020-09-22 17:10:45 +01:00
Arhell 4c1e3492a9 fix toggle button 2020-09-18 01:20:47 +03:00
Karen Bradshaw 43c987054e adjust table margin bottom 2020-09-11 21:35:20 -04:00
Tim Bannister 928c038559 Tidy 404 Not Found error page 2020-09-08 19:36:54 +01:00
Karen Bradshaw 71303db06b use docsy page edit/issue setup
setting feedback buttons, primary color setting

update i18n with issue string

remove local edit page string
2020-09-03 16:35:56 -04:00
Kubernetes Prow Robot 35650aa48f
Merge pull request #23038 from shuuji3/en/place-default-search-keywords
Retain the current search keywords in the search input form
2020-09-03 10:37:41 -07:00