From 6be9da45ab606f508023a5b43d39a9afcaa8c803 Mon Sep 17 00:00:00 2001 From: Aditya Telange <21258296+adityatelange@users.noreply.github.com> Date: Sun, 23 Aug 2020 18:19:41 +0530 Subject: profileMode : init usaage, in config add params: profileMode: title: "PaperMod" // or default will be site.title imageUrl: "" --- assets/css/profileMode.css | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 assets/css/profileMode.css (limited to 'assets/css/profileMode.css') 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; + } + +} -- cgit v1.2.3