Commit Graph

99 Commits

Author SHA1 Message Date
Martin Taillefer 5c2798267e Caption text was a little too chunky. 2017-05-26 08:51:28 -07:00
Martin Taillefer 103225cd41 Switch site to using normal font weight throughout for better readability.
Also, turn off one of the HTML compression options. It went a bit too far and caused
rendering to be altered in some pages.
2017-05-26 08:33:37 -07:00
Martin Taillefer af1425911e A couple site fixes.
- Enable compression options to shrink our HTML file sizes. I didn't realize the
compressor had options when I added it a few weeks ago. Tweaking the options
lets us get rid of more spaces, comments, and sundry other things.

- Fix font weight of all table content on the site. Whereas normal page content
has a weight of 300, table content was at 400 making it all look a little bolded.
Now it's all 300.
2017-05-26 07:00:03 -07:00
LisaFC 92f347c585 Further improve list formatting (#340)
...so we don't get inconsistent padding when Markdown inexplicably decides to add the random paragraph element to just *one* list item
2017-05-25 10:38:15 -07:00
Martin Taillefer 96f48195f6 Remove superfluous spaces in PRE blocks, making Copy not work as intended. 2017-05-23 23:13:23 -07:00
ryangrahamnc 05737366b8 fixed browser chrome covering the down arrow on mobile browsers (#323) 2017-05-23 15:33:02 -07:00
ryangrahamnc 60c5aa734c made the landing heading a full page on mobile (devices of height 550-770px). other times it defaults to a regular height (#321) 2017-05-23 14:54:14 -07:00
ryangrahamnc bc4a4315bd switched font size to 30px for headings and 14px for body, as requested by design (#319) 2017-05-23 13:54:19 -07:00
ryangrahamnc 2e59c99045 wrapped prismjs code blocks in a div so we can do overflow:auto without it breaking the shadows (#318) 2017-05-23 13:53:19 -07:00
ryangrahamnc 9153574815 made header logo only disappear on landing page (#316) 2017-05-23 11:17:30 -07:00
ryangrahamnc 4cf4c69e8d fixed leftnav not responding on mobile (#309) 2017-05-23 08:25:58 -07:00
ryangrahamnc c758f72bc1 167 index design updates (#306)
* updated designs to match mockups

* hid header logo on landing page. made the down array clickable on landing page. scrolls to first section on click
2017-05-22 15:40:22 -07:00
Martin Taillefer 87f00f97d2 Fix image sizes on mobile community page. 2017-05-22 15:03:25 -07:00
ryangrahamnc b8b7cba8bc 292 mobile left nav (#303)
* added links for expandable headings for each of clicking on ipads (touch events try to jump to the nearest <a> tag, so trying to click the expand section would often trigger clicking the first link under it)

* fixed jumping back and forth of left nav when initial pageload has short width
2017-05-22 16:51:06 -04:00
ryangrahamnc 07eab3de86 updated designs to match mockups (#302) 2017-05-22 16:50:29 -04:00
ryangrahamnc eef8cbbd6c updated index for different screen sizes. focused on changes to desktop layout, as smaller sizes looked fine. changed sizing of images, vertically aligned items inside each group, and tested flowing of content (#297) 2017-05-22 10:18:54 -07:00
ryangrahamnc 19215a5b1e wrapped a div around the non-toc contents of the docs pages. used position:relative and zindex to make toc overlap other content (#296) 2017-05-22 10:17:54 -07:00
Martin Taillefer 5dcee28bac Various clean up items. 2017-05-21 08:55:45 -07:00
Martin Taillefer d464c77b5b A few formatting fixes.
- The welcome screen now uses the same layout as all the non-docs pages so it looks more
'normal'

- The TOC's right margin has been shrunk to be consistent with the left margin.

- The community page now uses the color Twitter and GitHub images.

- Move a few things around to maintain order in the web site support stuff.
2017-05-21 00:27:20 -07:00
Martin Taillefer 5350ba49fc A few format fixes.
- Made the PRE block Copy button be on a solid blue background to stand out more and
avoid looking bad when it overlaps text from the PRE block.

- Trim the margin around the right-hand TOC. It's now slimmer and even around all edges.

- Disable the Jekyll syntax highlighter since we're now using PrismJS for that instead.
2017-05-20 14:45:20 -07:00
Martin Taillefer a873e50386 Revert fix for overlapping TOC since it broke text blocks in general. 2017-05-20 10:52:26 -07:00
ryangrahamnc e76db4b9a3 fixed code segments overlapping on toc in http://localhost:4000/docs/reference/commands/istioctl.html (#287) 2017-05-19 12:51:09 -07:00
ryangrahamnc 9cd741e2c5 moved the rss icon to the top-right, directly under the header, and aligned with the right of the content (#285) 2017-05-19 13:18:32 -04:00
LisaFC 6d294d01e3 Improve list formatting 2017-05-19 08:30:56 -07:00
Martin Taillefer 936031aebc Impose a max height to pre blocks so we get scroll bars after a certain limit. 2017-05-19 05:54:04 -07:00
Martin Taillefer 4d7f17a09c Spruce up our code blocks.
- Use different rendering style for code blocks.
- Define a default language so stuff always looks right.
- Add a bit more info to the writing-a-topic guide.
2017-05-18 07:08:36 -07:00
Martin Taillefer 98d642b164 Remove a few leftovers. 2017-05-17 22:05:01 -07:00
Martin Taillefer 0e52a7af34 Replace Jekyll's syntax highlighter with Prism. It handles YAML much better.
Prism also includes its own Copy to clipboard functionality, so remove our home
grown version.
2017-05-17 21:54:47 -07:00
Martin Taillefer fbf0f45d1d Fix formatting issues introduced by the use of the figure.html include. 2017-05-17 16:29:40 -07:00
Kuat dc86a6a6cf Update _colors.scss (#266) 2017-05-17 15:42:25 -07:00
Dave ab1fe1699c Fixes #248 - copy button no longer working (#261) 2017-05-17 15:20:37 -07:00
Kuat b08425228e Use darker red for syntax (#259) 2017-05-17 14:05:57 -07:00
Kuat 6df1285472 Update _nav.scss (#258) 2017-05-17 13:52:45 -07:00
Kuat 31d7aa5d6f Update _colors.scss (#257) 2017-05-17 13:47:35 -07:00
Martin Taillefer 32ee9107b3 Update community content. 2017-05-17 07:12:09 -07:00
Dave 31a2f09892 remove manual setting of sidebar height and shift border (#237)
* remove manual setting of sidebar height and shift border to content container. refactor

* fix size of copy button font and move button above code blocks
2017-05-16 20:56:29 -07:00
Martin Taillefer d9f519fa70 Add link to istio-announce mailing list.
Add a few missing CSS styles that dropped off in a recent refactor.
2017-05-15 22:28:24 -07:00
Martin Taillefer bc3b899ccc Move everything back out of the src directory since its make GitHub Pages unhappy. 2017-05-15 21:53:10 -07:00
Martin Taillefer 065e7a5c71 Move site content into the src directory.
This clearly separates site content from other repo state.
2017-05-15 19:22:30 -07:00
Dave ce63a064e7 Improve mobile layout
* Change search box size on mobile displays

*Aalways set body class to docs, set container to layout type

* partial for #213

* fix shifting text on mobile displays with blog page
2017-05-15 09:20:40 -07:00
Dave 08391389b9 Fix footer for mobile (#212) 2017-05-14 19:12:19 -07:00
Dave f090ed164d make header same size on all pages (#211) 2017-05-14 19:09:06 -07:00
Martin Taillefer 5dae46c479 Cleanup items. 2017-05-13 12:17:17 -07:00
Martin Taillefer cbdce1472b Enable syntax highlighting for PRE blocks. 2017-05-13 10:39:50 -07:00
Martin Taillefer 853dd8b506 Improve contrast in the footer and formatting on the landing page. 2017-05-11 13:51:20 -07:00
Martin Taillefer 560e418125 Simplify landing page. 2017-05-11 13:07:51 -07:00
Martin Taillefer 3dde957f88 Use a carousel on the landing page. 2017-05-11 09:11:03 -07:00
Martin Taillefer 0612ea417d Fix formatting of auto-generated index pages. 2017-05-10 06:53:43 -07:00
Martin Taillefer 8912e072fc Get rid of the pencil and add instead an Edit this Page link in the footer. 2017-05-10 06:24:39 -07:00
Martin Taillefer 3363f7bcda Remove the distracting icon that was getting displayed for external links. 2017-05-10 05:40:45 -07:00