Commit Graph

171 Commits

Author SHA1 Message Date
Sebastiaan van Stijn eaf40137dc
Remove "position: sticky" stickyfill polyfill
From the script's repository: https://github.com/wilddeer/stickyfill

> Stickyfill did a good job while the browsers were implementing position: sticky
> support. You can now safely use stickies without a polyfill, all modern browsers
> support them natively:
>
> https://caniuse.com/?search=position%3Asticky

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-10-12 13:27:15 +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
Alex Hokanson 3961a25364
remove height and color addition to nav-secondary on landscape
Signed-off-by: Alex Hokanson <571756+ingshtrom@users.noreply.github.com>
2020-09-17 09:29:09 -04:00
Alex Hokanson 5b734e70e7
search input on top navbar has consistent coloring
Signed-off-by: Alex Hokanson <571756+ingshtrom@users.noreply.github.com>
2020-09-17 09:21:43 -04:00
Alex Hokanson ea886946c4
make colors more consistent at all sizes
Signed-off-by: Alex Hokanson <571756+ingshtrom@users.noreply.github.com>
2020-09-16 12:27:56 -04:00
Alex Hokanson ac1e5e53e1
fix the background color of the sidebar on 'medium' sized devices 2020-09-16 10:38:38 -04:00
Usha Mandya 76a2be34db Remove the background color of the mini toc 2020-08-25 14:45:43 +01: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 796e6330df
Fix top-navigation color, and some small cleanups
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-07-24 14:59:36 +02:00
Sebastiaan van Stijn fbee311fe5
Rename $body-text-color variables
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-07-24 13:03:45 +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
Sebastiaan van Stijn ba85012f47
Remove scripts and assets related to archives
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-06-24 13:25:58 +02:00
Sebastiaan van Stijn 3bada40222
Merge pull request #10911 from jdrouet/archive-with-css
handle archive feature toggling with css
2020-06-09 15:38:39 +02:00
Jérémie Drouet d12154311b landing-page: display docker-con videos section
Signed-off-by: Jérémie Drouet <jeremie.drouet@gmail.com>
2020-06-08 14:28:35 +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
Jérémie Drouet 20ff61b942 handle archive feature toggling with css
Signed-off-by: Jérémie Drouet <jeremie.drouet@gmail.com>
2020-05-28 10:13:31 +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 b1df140e4f add docker icon on mobile
Signed-off-by: Jérémie Drouet <jeremie.drouet@gmail.com>
2020-05-26 11:12:22 +02:00
Jérémie Drouet 984b125ab4 align items to left in menu on mobile
Signed-off-by: Jérémie Drouet <jeremie.drouet@gmail.com>
2020-05-26 11:12:22 +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 fed0723f28
Landing page: reduce tab-width to prevent wrapping
The tabs on the "help by project" card were wrapping on
iPhone, so reducing the padding to prevent this.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-05-20 17:07:49 +02:00
Sebastiaan van Stijn ba7413baff
Landing page: left-align icon on small screen sizes
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-05-20 17:07:46 +02:00
Sebastiaan van Stijn 9d446cfd44
Landing page: apply icons using CSS, and remove duplication
This patch:

- removes the icon images from the landing page, instead setting
  them as a background-image through css.
- replaced the "community-resources" and "play-with-docker" styles
  in favor of a conditional style (based on cards linking to external
  websites)
- changes the minimal height of cards for mobile devices (there was
  a big amount of padding on the smallest size, which didn't add
  much value).

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-05-20 17:07:37 +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
Sebastiaan van Stijn 6d7de2ee14
landing page: set focus on search field
Also updates the CSS to reduce the "focus highlight" applied
by browsers.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-05-15 16:36:33 +02:00
Jérémie Drouet 1d3ac1092b landing-page: center navbar on desktop
Signed-off-by: Jérémie Drouet <jeremie.drouet@gmail.com>
2020-05-15 11:33:50 +02:00
Jérémie Drouet 98e7b3c545 landing-page: fix external link arrow
Signed-off-by: Jérémie Drouet <jeremie.drouet@gmail.com>
2020-05-13 14:41:40 +02:00
Jérémie Drouet 7e28261b01 landing-page: fix fonts
Signed-off-by: Jérémie Drouet <jeremie.drouet@gmail.com>
2020-05-13 14:41:40 +02:00
Jérémie Drouet 1a2f44ab05 landing-page: fix hero style
Signed-off-by: Jérémie Drouet <jeremie.drouet@gmail.com>
2020-05-13 14:41:40 +02:00
Jérémie Drouet 3ce6514066 landing-page: add link to docker-con register page
Signed-off-by: Jérémie Drouet <jeremie.drouet@gmail.com>
2020-05-12 15:22:39 +02:00
Jérémie Drouet 57aecd4e53 landing-page: update dark mode theme
Signed-off-by: Jérémie Drouet <jeremie.drouet@gmail.com>
2020-05-12 14:55:50 +02:00
Jérémie Drouet 46b913997b landing-page: add dockercon banner
Signed-off-by: Jérémie Drouet <jeremie.drouet@gmail.com>
2020-05-12 14:47:27 +02:00
Jérémie Drouet c03af2d11f landing-page: make header responsive
Signed-off-by: Jérémie Drouet <jeremie.drouet@gmail.com>
2020-05-12 14:11:39 +02:00
Jérémie Drouet 5389d768e0 landing-page: fix header spacing
Signed-off-by: Jérémie Drouet <jeremie.drouet@gmail.com>
2020-05-12 10:45:47 +02:00
Jérémie Drouet feb57a7eea landing page: change style
Signed-off-by: Jérémie Drouet <jeremie.drouet@gmail.com>
2020-05-05 16:53:50 +02:00
Sebastiaan van Stijn 5276ea1d9f
Re-enable "anchorlink" script
This allows for easier sharing of links to specific sections
on a page.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-02-13 12:48:12 +01:00
Adrian Plata a1875f4d56
Reworking glossary to a table and removing left-side ToC (#1387) (#9769)
* Reworking glossary to a table and removing left-side ToC

Signed-off-by: Adrian Plata <adrian.plata@docker.com>

* modifying CSS

* Fixing desktop links.

* Fixing swarm mode links.
2019-10-30 13:15:39 -07: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 7d695ae8c5 - Add redirect for UCP 3.0 readd DTR 2.5 reference files
Update related link for repo event auto-deletion
2018-12-20 20:19:16 -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
John Mulhausen 7cfe2e9da2
Fixing link-colored text in list items. 2017-11-08 03:06:39 -08:00
Gwendolynne Barr cfc6020a0a Test image background (#5082) 2017-10-24 15:10:00 -07:00
Josh south a74533976d Activate Night Mode (#4853)
* Activate Night Mode

- Add toggle for night mode
- Update base styles

* Update _night-mode.scss

* Fix first-line indenting and color differences
2017-10-09 16:42:07 -07:00
Misty Stanley-Jones 7c800e7054 Tweak formatting of options tables (#4730) 2017-09-29 17:38:46 -07:00
Nitesh Kumar Anand c3dd3ca01b Fixing a typo. (#4613)
Even though webkit-animation is overridden by animation property, thought of fixing the typo.
2017-09-13 16:52:03 -07:00
French Ben 4445f27581 Cleanup editions (#4350) 2017-08-25 12:13:07 -07:00
Victoria Bialas a922be3d0f Update admonitions CSS for consistency and better writer workflow (#4019) 2017-07-31 21:49:56 -07: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
Peter 472334230b reduce padding in nav, space items, remove font weight (#3187) 2017-05-19 15:05:01 -07:00
Victoria Bialas a45b42d19f admonitions with icons and FontAwesome (#3254)
* admonitions with icons and FontAwesome

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

* updated important and warning icons per review

Signed-off-by: Victoria Bialas <victoria.bialas@docker.com>
2017-05-13 20:20:03 -07:00
Victoria Bialas 7588f3c852 WIP: experiments with glyphicons in admonitions (notes) (#3231)
* experiments with glyphicons in admonitions (notes)

3 new admonition classes, re-write of test page

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

* copyedit on code formatting

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

* test Liquid admonitions with includes

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

* renamed notes.html, reviewed Liquid relationship to CSS

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

* added description of Liquid variables experiments

Signed-off-by: Victoria Bialas <victoria.bialas@docker.com>
2017-05-12 11:20:27 -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 03c6a6c335 Fix disappearing navbar with affix (#3099) 2017-04-28 20:43:34 +00:00
Joao Fernandes 85bf026404 Improve accessibility of notes (#2795) 2017-04-25 20:06:30 -07: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
Joao Fernandes b6ea27dfa6 Adds style for warnings and notes 2017-04-13 14:16:23 -07:00
John Mulhausen 455f904397 Removing redundant scrollbar lines that never activate with scrollbars. 2017-04-12 13:23:52 -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