Commit Graph

23 Commits

Author SHA1 Message Date
Martin Taillefer 894b0b6b5a
CSS fixes (#2229)
Improve long-standing hack that makes link anchors and a sticky nav header
work together. The improved hack deals correctly with varying font sizes,
removing the need for custom hackery for the FAQ and Glossary pages.

Fixes a slight rendering discrepency when printing pages.
2018-08-12 05:46:57 -07:00
Martin Taillefer 6ac9175b3a
Fix scroll offset when linking to a FAQ entry (#2208) 2018-08-10 13:58:03 -07:00
Martin Taillefer 5d6c5c1e5c
Refresh the glossary and attribute vocabulary based on current reality. (#2142) 2018-08-06 13:44:05 -07:00
mtail 06980e3b1f Fix accidental CSS change, leading to a missing border on TOCs. 2018-08-06 13:22:00 -07:00
mtail 387e54c299 Make the big boxes on the home page clickable. 2018-08-03 16:08:14 -07:00
Martin Taillefer 26bd62e408
Final release material (#2028)
- New landing page layout and content.

- 1.0 announcement blog post

- New "what is istio" page
2018-07-30 21:37:03 -07:00
Martin Taillefer e904354a05
Improve FAQ page design (#2025) 2018-07-27 15:07:51 -07:00
Martin Taillefer 9d56f3dbe7
Various design changes. (#1976)
- Increase the size of the Copy button in preformatted blocks to make it stand out since it is the
most common used button.

- Shift the copy/download/print buttons in PRE blocks towards the left so they don't overlap the
scroll bar in large text blocks.

- Switch to new fonts.

- Instead of underlining <H2> headers, we now draw a blue bar above them.

- Add an "up level" button at the top of pages.

- Streamline the appearance of the next/previous page links at the bottom of most pages.

- Remove the right pointing arrows from index pages and see also sections. They were just
confusing.

- Add icons to the main pages.

- Slightly change the layout of the glossary page, more to come here.
2018-07-26 06:14:32 -07:00
Martin Taillefer de8893a255
Add a Media Resources page. (#1832) 2018-07-16 15:54:17 -07:00
Martin Taillefer 8d43a50c8c
Add some cool arrows on section index pages and see also sections. (#1734) 2018-07-10 21:46:34 -07:00
Martin Taillefer 3d511f5a70
Various site fixes. (#1701)
- Prevent See Also sections from showing up on index pages.

- Clean up and simplify some JavaScript & CSS.

- Set a height for the idea and warning icons in order to prevent
screen flicker when loading pages with these icons.
2018-07-08 17:12:12 -07:00
Martin Taillefer 072abae8ce
Improve name selection process for the new PRE block download feature. (#1693)
- If an explicit downloadas filename is not supplied in markdown, it is
now derived from the document title, with a proper extension based on the
content syntax.

- Made things work correctly for PRE blocks introduced with normal markdown
``` instead of our magic {{< text >}} sequences.
2018-07-06 18:59:46 -07:00
Martin Taillefer 512fdb5b61
Add download & print buttons to all PRE blocks. (#1680)
Also, replaced the text in the Copy button with an icon instead.
2018-07-06 05:30:35 -07:00
mtail 0c11b76949 Use cards for See Also section 2018-06-30 19:22:12 -07:00
Martin Taillefer c5ca64e5f2
Improve how we render section index pages. (#1643)
Instead of using a boring flat list of pages, we now render
modern-looking cards for each subsection.
2018-06-29 20:53:00 -07:00
Martin Taillefer d818d4713b
A few rendering fixes. (#1626)
- Workaround the fact some of the styles for code blocks were being overriden by
Bootstrap.

- Align table indent and code indent so things look nicer.

- Fix missing "sidebar button" when on mobile in the help and about sections. I forgot to set a
variable to trigger the thing to be present in those cases.

- Improve footer layout for mobile.

- Get a nicer looking light bulb icon.
2018-06-29 06:52:07 -07:00
mtail 4b0216e3bb Add the promotion CSS style for promo banners. 2018-06-26 23:29:47 -07:00
mtail 329984475b A bit of refactoring to improve clarity. 2018-06-26 11:10:03 -07:00
mtail c72a8257b8 TOC improvements.
- Make "See also" show up in the TOC.

- When inlining the TOC at the top of a page, surround it with a pair of <hr> tags to get a line on the screen

- Fix rendering bug with TOC when specific characters showed up in section titles.

- Fix extra indent in the TOC in certain cases.

- Rename "See Also" to "See also" to follow our naming guidelines.
2018-06-19 06:39:37 -07:00
mtail e406513c0b Change the border color around the dropdown menu so it shows up. 2018-06-16 22:44:47 -07:00
Martin Taillefer efce7c3a4e Workaround bug in Firefox causing bad formatting in some code blocks. (#1379)
- Fixed syntax highlighting of code blocks with multiple commands.
Each command is now run through the syntax highlighter separately, instead
of mushing all commands into one go. The leading $ is also excluded which
helps the highlighter.

- Fixed the CSS source maps which couldn't be found due to a path problem. Running with Firefox
alerted me to that.

- Add missing JS source maps while I was there.
2018-05-29 22:21:28 -07:00
Martin Taillefer ba0cf03b36 A number of visual improvements. (#1366)
- The privacy link in the footer is now actually visible and uses the same coloring as the rest of the
text in the footer.

- The gear menu in the top right now actually looks like a real menu instead of a panel of links. Highlights behave as expected and
visuals are cleaner.

- The :before hack to cause proper scrolling in the face of our header is now more selective. It's only applied to
header items instead of all items that have an id attribute. This is more surgical in nature and avoids
potential issues such as was worked around by a counter-hack for tables. The counter hack is no longer
needed.

- Don't show the Edit This Pages on GitHub menu items for pages that are generated outside of the main doc process
(reference pages mainly). This won't kick in until I regenerate the reference docs, at which point they'll
gain the 'generated' front-matter entry, which will trigger the removal of the menu item.

- Apply a number of script improvements suggested by my editor.
2018-05-29 21:07:13 -04:00
mtail 951a8ed9f4 Switch from Jekyll to Hugo. 2018-05-25 20:02:32 -07:00