Commit Graph

140 Commits

Author SHA1 Message Date
Allie Sadler d9db26dfae
extensions banner (#15056)
* extensions banner

* typo fix

* typo fix

* typo fix
2022-07-05 11:28:20 +01:00
Usha Mandya e77783ca57
Merge pull request #14595 from mark-dr/update-color-palette
Update color palette, fix link visibility in dark theme
2022-05-03 09:54:56 +01:00
Mark H 51a49dc4bf Fix alerts on bind mounts page 2022-04-25 11:08:55 +01:00
Mark H 1f7312dd86 Convert alerts to new color palette 2022-04-22 20:54:05 +01:00
Mark H 036b5f02ae Add v3 color palette 2022-04-22 20:54:05 +01:00
Mark H 2525c2790a Deprecate old palette, remove unused colors 2022-04-22 20:54:05 +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
Shadi Mokhtar 767f9a3606
Apply suggestions from code review
Co-authored-by: Mark H <70579116+mark-dr@users.noreply.github.com>
2021-11-10 19:34:13 +01:00
smokhtar1 6847e77ecb fixing a typo and removing Geomanist font from landing 2021-11-10 17:21:54 +01:00
smokhtar1 0f12ac76e8 changing the check icon in notes and alerts 2021-11-08 14:58:18 +01:00
smokhtar1 7ca066106e css changes, reverting the line-height back to it's original value 2021-11-08 14:40:40 +01:00
smokhtar1 5ef901a55d changing the defaut font-family and font-weight for headings from Geomanist Book to Open sans 2021-11-08 14:38:27 +01:00
smokhtar1 5e01630e77 changing light mode colors to use color-palette variables 2021-11-03 16:37:54 +01:00
smokhtar1 2d457d7f8c adding color and icon changes to Alerts banners 2021-11-03 11:11:54 +01:00
Sebastiaan van Stijn a5da30abed
_scss: minor changes to styles for "get docker" blocks
Make the rule more specific, reduce margin around tiles, and remove
unneeded float.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-09-02 13:53:03 +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 e41e522c13
_scss: tweak white-space / margins
- Reduce white-space after headings, so that the section content groups
  better with the heading
- Increase white-space before headings, so that sections are more separated
  from the previous sections.
- Reduce indentation of bullet-lists and numbered-lists. These lists are
  still indented slightly (5px), but reducing the indentation to make the
  layout a bit less "busy", and to give list-items slightly more width
  before content is wrapped.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-09-01 12:56:49 +02: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 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
Usha Mandya 63e9e09a9e Update the dark-mode font to white
Signed-off-by: Usha Mandya <usha.mandya@docker.com>
2021-07-16 16:53:53 +01:00
Mark H 86b24990ee Update styles for dark mode, add general bootstrap overrides 2021-07-13 09:53:30 +01:00
Mark H c45879262e Improve upgrade CTA for dark mode, remove some now-unused variables from notes restyles 2021-07-12 12:00:44 +01:00
Usha Mandya 0e3f31e807
Merge pull request #13158 from mark-dr/restyle-alerts
Restyle notification banners
2021-07-12 10:49:06 +01:00
Mark H c84baca51c Add upgrade CTA mixin 2021-07-12 09:47:27 +01:00
Mark H c12de0a87a Add color palette definitions 2021-07-12 09:07:16 +01:00
Mark H a23f70d048 Remove redundant SASS module reference 2021-07-09 17:01:20 +01:00
Mark H 79a6e2879d Swap ad-hoc colours for palette colours 2021-07-09 16:58:53 +01:00
Mark H 1655359a98 Add new purple alert type 2021-07-09 16:58:53 +01:00
Mark H d67f803770 Define new theme for notifications 2021-07-09 16:58:53 +01:00
Mark H 79e36c14a0 _notes.scss: Refactor how different note styles are defined 2021-07-09 16:58:53 +01:00
Mark H 8441af3931 _notes.scss: Simplify handling of legacy notes 2021-07-09 16:58:53 +01:00
Mark H 7f1fd5c52c Add color palette definitions 2021-07-09 16:58:53 +01: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 55c95836dd
_scss: don't use "all caps" for H4
Change H4's to not be presented in "all caps". To compensate, the font
size is increased from 16px to 18px (otherwise it would be the same size
as H5 headings).

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-04-28 14:38:01 +02:00
Sebastiaan van Stijn bd6a07bbb6
_scss: only disable text-selection in "console" code blocks
We don't want users to copy the prompt and process output in
"console" blocks, but for other code blocks (bash scripts, yaml)
copying comments should not be disabled.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-04-20 15:16:55 +02:00
Sebastiaan van Stijn 428305eb77
Fix button styling on get-started
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-04-13 16:33:57 +02:00
Sebastiaan van Stijn a608900fe6
update primary-btn style, and use more variables for colors
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-04-13 16:33:12 +02:00
Usha Mandya e0ca2efeed Add a new class for download buttons
Signed-off-by: Usha Mandya <usha.mandya@docker.com>
2021-04-12 22:39:44 +01:00
Sebastiaan van Stijn 19b3b40f5b
_scss: show regular "text" cursor for prompt
Show a "text" cursor for the prompt. Even though the prompt itself is not
selectable, make it appear as if it is, so that users don't get confused
when they try to select an example for copying.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-03-02 16:08:17 +01:00
Sebastiaan van Stijn a987f04d05
highlighting: make comments, prompt and command-output non-selectable
Prevent selecting comments, command-output and command-prompt in shell
examples that use the "console" lexer/highlighter to allow easier copying.
See https://github.com/rouge-ruby/rouge/issues/1023

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-03-02 15:02:25 +01:00
Usha Mandya b755b5c65a Add a new icon for language-specific guides
Signed-off-by: Usha Mandya <usha.mandya@docker.com>
2021-03-01 23:53:35 +00:00
Aayush Kumar Sahu 42d6de3262 Fix iframe mobile view 2021-02-16 19:05:04 +05:30
Usha Mandya ba395bed07 Add reference architecture docs
Signed-off-by: Usha Mandya <usha.mandya@docker.com>
2021-01-18 12:07:55 +00:00
Sebastiaan van Stijn 3ab44b9cd6
_scss: some refactoring of landing-page cta-banners
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-10-27 12:35:54 +01:00
Sebastiaan van Stijn fbc8a83ab8
_scss: define variable for landing footer color
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-10-27 12:34:42 +01:00
Sebastiaan van Stijn c1ae02526f
_scss: tweak inconsistencies in hue
Changes should be mostly invisible, except for a very slight increase in
contrast in the "night" theme between the body-background and left/right
navigation blocks.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-10-27 12:33:26 +01:00
Sebastiaan van Stijn 869640f7d1
_scss: change colors to HSL
While more verbose, HSL colors (Hue, Saturation, Lightness) allow
for easier selecting color variations that only differ in lightness,
but have the same hue.

This conversion also reveals some slight differences in hue between
existing color-variations that I'll address in a follow-up commit.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-10-27 12:33:24 +01:00
Sebastiaan van Stijn d36d519d57
_scss: remove more unused variables
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-10-27 12:33:20 +01:00