Commit Graph

28 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 69f422b662
jekyll: remove polldaddy
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-10-25 21:16:56 +02:00
Craig Osterhout e93bab0178
Nested lists (#15731)
* style update for nested lists
2022-09-28 10:41:45 -07:00
CrazyMax bec4dc830c
jekyll: github_issue utility
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-09-10 23:39:25 +02:00
CrazyMax 96321ace2b
jekyll: release-date utility
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-09-10 22:42:23 +02:00
CrazyMax cc0fc46783
jekyll(assets): move images to assets folder
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-09-05 15:49:23 +02:00
Sebastiaan van Stijn 1bdbd47e4a
fix vertical size of "get docker" blocks
This attempts to fix the problem where (on smaller windows), the text
flows out of the blocks.

This uses one of the solutions mentioned in https://stackoverflow.com/a/19695851/1811501,
with some additonal style changes.

Unfortunately, it introduces another issue, where (just before a break-point; after
the right-hand navigation is hidden, but before we switch to "mobile" / "small",
the blocks are wrapped, but no longer have equal _widths_.

See https://github.com/docker/docker.github.io/pull/13433#issuecomment-910843789

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-09-02 13:50:47 +02:00
Sebastiaan van Stijn 8c302969af Update download-links
Adjust text, add modal pop-up for browsers with JavaScript enabled, and show
EULA inline for browsers without JavaScript.

Added configuration options in the _config.json to set the correct URLs
once known.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-08-31 14:35:20 +00: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 91425c3708
Small changes to reading time to prevent redraws
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-10-22 17:07:56 +02:00
Sebastiaan van Stijn 0bb9a7ff8f
js/search.js: rewrite local search autocomplete and update styling
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-10-15 17:20:28 +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 034c23319b
_scss: combine some overlapping rules, and move some to the right section
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-10-15 15:06:23 +02:00
Sebastiaan van Stijn 5cdbdac592
_scss: remove unneeded vendor-prefixes, and combine some styles
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-10-15 15:06:21 +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 2993c55840
move ratings script to end of body, remove inline styles
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-10-09 01:12:01 +02:00
Jérémie Drouet bc502c0c7f autocomplete: change cursor on result
Signed-off-by: Jérémie Drouet <jeremie.drouet@gmail.com>
2020-06-02 13:26:52 +02:00
Jérémie Drouet c06813538c implement autocomplete on landing page
Signed-off-by: Jérémie Drouet <jeremie.drouet@gmail.com>
2020-05-28 10:31:16 +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
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
Victoria Bialas 2ee1a61d8c fixed CSS padding on search autocompleteList (#4059)
Signed-off-by: Victoria Bialas <victoria.bialas@docker.com>
2017-07-31 18:53:44 -07:00
Victoria Bialas 7ab454f1d5 used proper css tag for accordion background color (#4016)
Signed-off-by: Victoria Bialas <victoria.bialas@docker.com>
2017-07-28 14:23:35 -07:00
Victoria Bialas eb25815fb9 Better examples to show Compose file structure, expand/collapse accordion (#3967)
* better examples to show Compose file structure

Signed-off-by: Victoria Bialas <victoria.bialas@docker.com>

* cleaned up leading spaces in Compose file example

Signed-off-by: Victoria Bialas <victoria.bialas@docker.com>

* cleaned up leading spaces, added a test file

Signed-off-by: Victoria Bialas <victoria.bialas@docker.com>

* expand/collapse accordion full implementation, explanation in test.md

Signed-off-by: Victoria Bialas <victoria.bialas@docker.com>

* delete temporary test file from PR

Signed-off-by: Victoria Bialas <victoria.bialas@docker.com>

* fix accordion to work on mobile (cursor style)

Signed-off-by: Victoria Bialas <victoria.bialas@docker.com>

* verified fix for mobile worked, added same to test.md, updated notes and content

Signed-off-by: Victoria Bialas <victoria.bialas@docker.com>

* Clarifed details on test page, fixed references for FontAwesome icons

Signed-off-by: Victoria Bialas <victoria.bialas@docker.com>
2017-07-28 12:32:53 -07:00
Victoria Bialas d2cf85be8a Add CSS for option to create inline images (like whale menu) (#3877)
* add CSS tests for Josh

Signed-off-by: Victoria Bialas <victoria.bialas@docker.com>

* new class inline for images, updated docs to call class

Signed-off-by: Victoria Bialas <victoria.bialas@docker.com>

* removing last test paragraph

Signed-off-by: Victoria Bialas <victoria.bialas@docker.com>
2017-07-13 16:07:43 -07: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
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