Commit Graph

33 Commits

Author SHA1 Message Date
Allie Sadler fef904be8d
Align with Design System (#16201)
* add DDS colors to docs and change main variables and style.scss sheet

* find and replace colors from color-palette-2 and deprecate palette 2

* find and replace colors from color-palette-3 and deprecate palette 3

* more alignment with colors

* change typography

* typography tweaks

* fix fonts

* dark mode and accessibility

* review changes

* icons

* icons

* icons

* accessibility fix on footer

* review comments
2022-11-30 15:57:19 +00:00
CrazyMax 6d431bde49
display reading time and tags in toc nav
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-11-07 15:19:25 +01:00
CrazyMax 69f422b662
jekyll: remove polldaddy
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-10-25 21:16:56 +02:00
Allie Sadler cc9fd1e02f
changes to left toc (#15672) 2022-09-16 14:04:38 +01:00
Allie Sadler 33d555137d
ENGDOCS-967 (#15552) 2022-09-02 14:13:00 +01:00
Usha Mandya 7b7be1c2bd Fix spacing in Nero ratings display
Signed-off-by: Usha Mandya <usha.mandya@docker.com>
2022-02-07 22:42:07 +00:00
Usha Mandya 20b05d429b Update the docs page ratings display
Signed-off-by: Usha Mandya <usha.mandya@docker.com>
2022-02-02 18:53:29 +00:00
Sebastiaan van Stijn 165bb13623
_scss: fix some styling in the TOC
- fix margin at the top
- fix left-hand border from disappearing when hovering over the link
- fix indentation for active link (compensate for border-width)

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-09-01 12:18:32 +02:00
Sebastiaan van Stijn 3631769979
_scss: cleanup navigation styles
This fixes various inconsistencies between the landing page and the
other pages by sharing more styles between both:

- fix homepage using a different color for the active tab
- fix homepage not having "hover" styles for the top navigation

I addition, this:

- fixes unwanted whitespace in the hamburger-menu on mobile
- fixes "active" menu item not being highlighted on mobile
- fixes left-side aligning of left-hand menu on desktop

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-08-17 14:00:46 +02:00
Sebastiaan van Stijn 7c184a1bd7
Add breadcrumbs
Some works still to be done:

- styling may need some tweaking
- if we don't have breadcrumbs for a page, positioning of other elements should
  be adjusted

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-05-10 17:06:38 +02:00
Sebastiaan van Stijn b9395f0d68
_scss: reduce overrides to make styling easier and more consistent
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-10-22 17:08:02 +02:00
Sebastiaan van Stijn 204d4df024
_scss: reformat _variables.scss, and unify colors in variables file
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-10-19 21:56:05 +02:00
Sebastiaan van Stijn e3e280c54a
_scss: remove unused styles, and combine some
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-10-15 15:06:25 +02:00
Sebastiaan van Stijn a12ac448d2
_scss: cleanup and reformat comments, remove commented styles
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-10-14 14:52:24 +02:00
Sebastiaan van Stijn 6328addbd1
Adjust links and other elements to match header color
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-07-24 16:42:33 +02:00
Sebastiaan van Stijn c7c926d74a
remove unused header color animation
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-07-24 12:24:54 +02:00
Jérémie Drouet 1ba7ce7b47
fix divider size in menu
Co-authored-by: Sebastiaan van Stijn <thaJeztah@users.noreply.github.com>
2020-05-26 13:18:04 +02:00
Jérémie Drouet dcaf916b9f increase padding in menu on mobile
Signed-off-by: Jérémie Drouet <jeremie.drouet@gmail.com>
2020-05-26 11:12:52 +02:00
Jérémie Drouet dbe4953982 move navbar to burger menu on mobile
Signed-off-by: Jérémie Drouet <jeremie.drouet@gmail.com>
2020-05-26 11:12:22 +02:00
Sebastiaan van Stijn e9547a8397
scss: various small fixes and linting issues
- Add generic font classes where missing (except for FontAwesome cfonts)
- Combined some rules with their shorthand form
- Removed unneeded units (0px -> 0)
- Fix some invalid values
- Commented out empty styles in _github.scss

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-05-20 17:07:08 +02:00
Maria Bermudez 27b909795e
Merge pull request #7492 from artywhite/fix-navsidebar-hover-cursor-pointer
Nav sidebar links hover cursor fix
2019-01-04 16:08:02 -08:00
Maria Bermudez 0a360151e4
Update _navigation.scss 2018-12-12 16:49:08 -08:00
Maria Bermudez fc6969b03e
Move update to sidebar section 2018-12-12 16:46:23 -08:00
Abhinandu V Nair 077b391ef1
Update navigation.css
Updated cursor pointer for collapsed navigation links with content inside them
2018-12-10 21:10:26 +05:30
AS1 e0afc86189 Nav sidebar links hover cursor fix 2018-10-11 21:01:33 +03:00
Josh south c02ffd661d CSS fixes for version selector, removing animations, and more (#5574)
This commit squashes 21 commits. Leaving the commit messages here for posterity.

* Activate Night Mode

- Add toggle for night mode
- Update base styles

* remove font-size

* Update _night-mode.scss

* Fix first-line indenting and color differences

* Fix rescale bug

* stuff

* Add menu fixs

* Update core pallette - light/dark mode

* Toc link padding

* Remove color cycle
Remove temp.css

* update secondary nav bg

* remove paddin-top ul left nav on med viewport
2018-01-18 12:11:07 -08:00
Josh south 822d52a4c7 Fix overflow issue (#3132)
- fix menu overflow
- add docker con baner
2017-05-01 19:28:55 +00:00
Vladimir Jimenez f466f24742 Fix sidebar scrolling (#2860)
* Simplify both left and right sidebars

- Rewrite the sidebars to use the same CSS class instead of having two
  very similar classes. This involves removing all affix related
  attributes and functionality from the sidebars and replaced them with
  `position: sticky`.
- The table of content elements should not be floated
- Removed unused CSS rules related to the sidebars
- Remove JavaScript used to resize the sidebars

* Improve the mobile menu to be fixed

- Simply JS used to hide/display the navigation bar on mobile viewports
- The mobile menu should be fixed so it can be viewable from the bottom
  of the page. Before this change, you would have to scroll up to see
  the menu that `position: absolute`

* Fix disappearing top navbar on homepage

- Change the calculation of the affix offset for the navbar on the home
  page to ensure the navbar never leaves the viewport. This change also
  takes into account the change of how the sidebars' offsets are used

* Fix auto scrolling on overflow

* Add polyfill for 'position: sticky' on IE

* Fix hamburger menu at incorrect breakpoint

* Fix left nav hidden after expanding from mobile

If you expand and collapse the left nav while on mobile and expand to a
desktop view, the left nav would be hidden; this has been fixed

* Unify navbar on homepage with rest of website
2017-04-21 11:04:19 -05:00
Josh south ffc32f301f #2627 (#2804)
- Fix right sidebar overflow on rescale
2017-04-16 19:38:30 -07:00
John Mulhausen add2f680e8 Default highlight.js off, dockerfile > conf highlighting, pygments (#2757)
* Default highlight.js off, dockerfile > conf highlighting, pygments

* Address feedback, style changes, markdownify reductions

* Getting rid of more markdownify

* Fix for right-hand nav spacing
2017-04-13 17:10:29 -07:00
John Mulhausen f60c5305f5 Add Hackathon details to docs site (#2613)
* First pass

* Pass 2

* Docs hackathon rules

* Restoring night mode css
2017-04-05 09:34:27 -07:00
John Mulhausen 9121aec97a Fix for menus not indenting 2017-04-03 10:47:42 -07:00
Josh south 492074c717 Various post-launch fixes (#2549)
* WIP #2052

- Adding sass
- Test components
- Night mode
- docker con banner
- archive legacy css

* add compressed css

* Update branding for cloud api docs

* split out global header

* rescale mods

* adjust viewport rescaling

* sync

* test

* testing deploy

* john rules, please update man

* test: removing all styles

* trying to make netlify work

* add min-height to sidebars

* testing

* Update style.css

manually add css

* testing

* test

* Update style.css

* adding dockercon svg

* add svgs

add svgs

* remove css

* re-add

* s/container-fluid/container
2017-03-31 16:07:37 -07:00