hugo-PaperMod/assets/css/profileMode.css
Aditya Telange 6be9da45ab
profileMode : init
usaage, in config add
params:
    profileMode:
      title: "PaperMod" // or default will be site.title
      imageUrl: "<image_link>"
2020-08-23 18:19:41 +05:30

30 lines
400 B
CSS

.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;
}
}