mirror of
https://github.com/Wonderfall/hugo-WonderMod.git
synced 2024-11-25 03:51:37 +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;
|
|
}
|
|
|
|
}
|