Commit Graph

23 Commits

Author SHA1 Message Date
Viktor Chernodub 096f37eb85
styles: adjust centering of social links (#16829) 2023-03-06 11:15:20 +00:00
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
David Karlsson dc5261ebf8 increased sidenav width (+2em) 2022-11-02 14:14:22 +01:00
Allie Sadler cc9fd1e02f
changes to left toc (#15672) 2022-09-16 14:04:38 +01: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 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 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 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
Usha Mandya 76a2be34db Remove the background color of the mini toc 2020-08-25 14:45:43 +01: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 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 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 feb57a7eea landing page: change style
Signed-off-by: Jérémie Drouet <jeremie.drouet@gmail.com>
2020-05-05 16:53:50 +02: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
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 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
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
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