update profile image

use dark background photo and style img with border
This commit is contained in:
ray 2020-02-16 20:25:04 +00:00
parent 8098506343
commit f468c22683
3 changed files with 12 additions and 5 deletions

View File

@ -15,7 +15,7 @@ publishDir = "blog"
author = "Ray Elliott" author = "Ray Elliott"
info = "Hello World!" info = "Hello World!"
avatarurl = "/images/profile--desat.jpg" avatarurl = "/images/profile--bg-darker.jpg"
favicon_32 = "/images/favicon-32x32.png" favicon_32 = "/images/favicon-32x32.png"
favicon_16 = "/images/favicon-16x16.png" favicon_16 = "/images/favicon-16x16.png"

View File

@ -2,13 +2,20 @@
text-transform: none; text-transform: none;
} }
body.colorscheme-light .avatar img { .about .avatar img {
border-radius: 31%; width: 14rem;
border: 3px solid #044958;
padding: 2px;
} }
@media (prefers-color-scheme: light) { body.colorscheme-dark .avatar img {
border: 2px solid #002e34;
padding: 0;
}
@media (prefers-color-scheme: dark) {
body.colorscheme-auto .avatar img { body.colorscheme-auto .avatar img {
border-radius: 31%; border: 2px solid #002e34;
} }
} }

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB