Skip to content

Commit

Permalink
docs: replace screenshots after redesign (#612)
Browse files Browse the repository at this point in the history
  • Loading branch information
xoxys authored Apr 19, 2023
1 parent 2de61e2 commit fb924d5
Show file tree
Hide file tree
Showing 11 changed files with 18 additions and 24 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion exampleSite/content/en/features/theming/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ title: Theming

If you want to customize the theme's color scheme to give it your individual touch, you are only a few lines of CSS away. Generally, you need to override the default settings. The easiest way to do this is to create a file named `static/custom.css` right at the root of your site.

All the necessary CSS customization properties are listed below. If you want to customize elements that don't use these properties, you can always look up the class name and override it directly. For inspiration, you can also take a look at [https://www.color-hex.com/color-palettes/](https://www.color-hex.com/). In this simple example, we'll use the [_Beach_](https://www.color-hex.com/color-palette/895) color palette.
All the necessary CSS customization properties are listed below. If you want to customize elements that don't use these properties, you can always look up the class name and override it directly. For inspiration, you can also take a look at [https://www.color-hex.com](https://www.color-hex.com/color-palettes/). In this simple example, we'll use the [_Beach_](https://www.color-hex.com/color-palette/895) color palette.

[![Beach Color Palette](images/theme-example.png)](images/theme-example.png)

Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 0 additions & 6 deletions exampleSite/content/en/usage/menus.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@ content/
└── level-2-2.md
```

[![Example file-tree menu](/media/file-tree.png)](/media/file-tree.png)

## Bundle menu

This type of navigation needs to be enabled first by setting `geekdocMenuBundle` to `true` in your [site configuration](/usage/configuration/#site-configuration). After you have activated the bundle menu, you start with an empty navigation. This is intentional because bundle menus have to be defined manually in a data file. While this increases the effort it also offers maximum flexibility in the design. The data file needs to be written in YAML and placed at `data/menu/main.yaml`.
Expand Down Expand Up @@ -68,8 +66,6 @@ main:
As an advantage you can add [icons](/features/icon-sets/) to your menu entries e.g. `icon: "gdoc_notification"`.

[![Example bundle menu](/media/bundle-menu.png)](/media/bundle-menu.png)

### More menu

{{< hint type=tip >}}
Expand Down Expand Up @@ -97,8 +93,6 @@ more:
icon: "gdoc_github"
```

[![Example bundle menu](/media/more-menu.png)](/media/more-menu.png)

## Extra Header Menu

If you want to customize the header menu, this can be achieved by using a data file written in YAML and placed at `data/menu/extra.yaml`.
Expand Down
34 changes: 17 additions & 17 deletions exampleSite/static/custom.css.example
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@
--link-color: #518169;
--link-color-visited: #c54e8a;

--code-background: #f8f9fa;
--code-background: #f5f6f8;
--code-accent-color: #e3e7eb;
--code-accent-color-lite: #eff1f3;
--code-font-color: #5f5f5f;

--code-copy-background: #f8f9fa;
--code-copy-background: #f5f6f8;
--code-copy-font-color: #6b7784;
--code-copy-border-color: #adb4bc;
--code-copy-success-color: #00c853;
Expand All @@ -36,10 +36,10 @@

--control-icons: #b2bac1;

--footer-background: #efefef;
--footer-font-color: #efefef;
--footer-link-color: #efefef;
--footer-link-color-visited: #efefef;
--footer-background: #2f333e;
--footer-font-color: #ffffff;
--footer-link-color: #ffcc5c;
--footer-link-color-visited: #ffcc5c;
}
@media (prefers-color-scheme: light) {
:root {
Expand All @@ -57,12 +57,12 @@
--link-color: #518169;
--link-color-visited: #c54e8a;

--code-background: #f8f9fa;
--code-background: #f5f6f8;
--code-accent-color: #e3e7eb;
--code-accent-color-lite: #eff1f3;
--code-font-color: #5f5f5f;

--code-copy-background: #f8f9fa;
--code-copy-background: #f5f6f8;
--code-copy-font-color: #6b7784;
--code-copy-border-color: #adb4bc;
--code-copy-success-color: #00c853;
Expand All @@ -72,10 +72,10 @@

--control-icons: #b2bac1;

--footer-background: #112b3c;
--footer-background: #2f333e;
--footer-font-color: #ffffff;
--footer-link-color: #f66b0e;
--footer-link-color-visited: #f66b0e;
--footer-link-color: #ffcc5c;
--footer-link-color-visited: #ffcc5c;
}
}

Expand Down Expand Up @@ -110,10 +110,10 @@

--control-icons: #b2bac1;

--footer-background: #112b3c;
--footer-background: #2f333e;
--footer-font-color: #ffffff;
--footer-link-color: #f66b0e;
--footer-link-color-visited: #f66b0e;
--footer-link-color: #ffcc5c;
--footer-link-color-visited: #ffcc5c;
}
@media (prefers-color-scheme: dark) {
:root {
Expand Down Expand Up @@ -146,9 +146,9 @@

--control-icons: #b2bac1;

--footer-background: #112b3c;
--footer-background: #2f333e;
--footer-font-color: #ffffff;
--footer-link-color: #f66b0e;
--footer-link-color-visited: #f66b0e;
--footer-link-color: #ffcc5c;
--footer-link-color-visited: #ffcc5c;
}
}
Binary file removed exampleSite/static/media/bundle-menu.png
Binary file not shown.
Binary file removed exampleSite/static/media/file-tree.png
Binary file not shown.
Binary file removed exampleSite/static/media/more-menu.png
Binary file not shown.
Binary file modified exampleSite/static/socialmedia2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit fb924d5

Please sign in to comment.