mirror of
https://gitlab.waag.org/make/fablab/interns/2025/sam.git
synced 2025-08-03 11:54:58 +00:00
added image and imagemagick command
This commit is contained in:
BIN
docs/assets/customising_mkdocs.jpg
Normal file
BIN
docs/assets/customising_mkdocs.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 20 KiB |
@@ -4,6 +4,12 @@
|
||||
```bash
|
||||
magick source.jpg -strip -interlace Plane -gaussian-blur 0.05 -quality 85% result.jpg
|
||||
```
|
||||
|
||||
* Also resizes the image to 800 width
|
||||
```bash
|
||||
magick customising_mkdocs.jpg -strip -interlace Plane -gaussian-blur 0.05 -quality 85% -resize 800x customising_mkdocs.jpg
|
||||
```
|
||||
|
||||
* [command source](https://stackoverflow.com/questions/7261855/recommendation-for-compressing-jpg-files-with-imagemagick)
|
||||
* [image resizing](https://legacy.imagemagick.org/Usage/resize/)
|
||||
|
||||
|
@@ -2,8 +2,7 @@
|
||||
|
||||
I wanna customise my mkdocs theme. So I can have a dark mode. Because it currently looks like this.
|
||||
|
||||

|
||||
|
||||

|
||||
|
||||
## Issues
|
||||
|
||||
@@ -30,7 +29,7 @@ extra_css: [extra.css]
|
||||
### Attempt 2
|
||||
After I read the documentation thoroughly i found out that the css file needs to be relative to the `docs` folder and not the `mkdocs.yml`. After that it showed the css and I could finaly customise the theme.
|
||||
|
||||

|
||||
|
||||
|
||||
## Customising Material theme
|
||||
I decided to switch to material theme because its easier to configure and you can add all sorts of modules onto it making it super customisable.
|
||||
|
Reference in New Issue
Block a user