diff options
| author | Aditya Telange <21258296+adityatelange@users.noreply.github.com> | 2020-08-23 18:19:41 +0530 |
|---|---|---|
| committer | Aditya Telange <21258296+adityatelange@users.noreply.github.com> | 2020-08-23 18:19:41 +0530 |
| commit | 6be9da45ab606f508023a5b43d39a9afcaa8c803 (patch) | |
| tree | 6b494e8bc93c40a6d3780387e49fc75575bac090 /assets/css/profileMode.css | |
| parent | 8af56e302db940012e25a8d9279da41c1d6718c0 (diff) | |
profileMode : init
usaage, in config add
params:
profileMode:
title: "PaperMod" // or default will be site.title
imageUrl: "<image_link>"
Diffstat (limited to 'assets/css/profileMode.css')
| -rw-r--r-- | assets/css/profileMode.css | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/assets/css/profileMode.css b/assets/css/profileMode.css new file mode 100644 index 0000000..04cf698 --- /dev/null +++ b/assets/css/profileMode.css @@ -0,0 +1,29 @@ +.main { + text-align: center; + display: table; +} + +.main>.profile { + display: table-cell; + vertical-align: middle; + +} + +.main>.profile>.profile_inner { + transform: translate(0, -20%); +} + +img { + display: inline-block; + width: 200px; + border-radius: 50%; + pointer-events: none; + margin: 5px; +} + +@media screen and (max-width: 600px) { + img { + width: 150px; + } + +} |
