Add image css

This commit is contained in:
Michal Vanko 2020-04-04 23:01:53 +02:00
parent eccf2c5e54
commit 6fe6a7783e
2 changed files with 12 additions and 1 deletions

View File

@ -153,7 +153,7 @@ But to sum up what I did it was pretty simple:
2. Set the number of RGB diodes in `/keyboards/redox/keymaps/default/config.h` 2. Set the number of RGB diodes in `/keyboards/redox/keymaps/default/config.h`
3. Made my own keyboard layout over: https://config.qmk.fm/#/redox/rev1/LAYOUT 3. Made my own keyboard layout over: https://config.qmk.fm/#/redox/rev1/LAYOUT
4. Burn it `make redox/rev1:default:avrdude` 4. Burn it `make redox/rev1:default:avrdude`
- Of course I've strugled a little bit with this part. I've ended up with running this command as I wasn't able to set some stuff described here: https://docs.qmk.fm/#/faq_build?id=can39t-program-on-linux - Of course I've strugled a little bit with this part. I've ended up with running this command with `sudo` as I wasn't able to set some stuff described here: https://docs.qmk.fm/#/faq_build?id=can39t-program-on-linux
In case you want to check out my configuration you can download it here and upload it in the configurator. I've added some multimedia keys in a third layout and much more. In case you want to check out my configuration you can download it here and upload it in the configurator. I've added some multimedia keys in a third layout and much more.

View File

@ -47,6 +47,17 @@
.content :global(li) { .content :global(li) {
margin: 0 0 0.5em 0; margin: 0 0 0.5em 0;
} }
.content :global(img) {
max-width: 100%;
border-radius: 5px;
box-shadow: 0px 0px 8px 1px #2d3935;
}
.content :global(img:only-child) {
display: block;
margin: 0 auto;
}
</style> </style>
<svelte:head> <svelte:head>