mirror of
https://github.com/adityatelange/hugo-PaperMod.git
synced 2023-12-21 10:22:58 +01:00
6be9da45ab
usaage, in config add params: profileMode: title: "PaperMod" // or default will be site.title imageUrl: "<image_link>"
30 lines
400 B
CSS
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;
|
|
}
|
|
|
|
}
|