hugo-theme-wondermod/assets/css/profile-mode.css
Aditya Telange 8574c385cd
profile-mode: user set-able image size
- default 150

usage:
      profileMode:
        imageUrl: "/android-chrome-192x192.png"
        imageWidth: 120
        imageHeight: 120
2020-11-09 12:14:45 +05:30

56 lines
866 B
CSS

.main .profile {
position: absolute;
left: 0;
right: 0;
display: flex;
align-items: center;
justify-content: center;
height: 80%;
text-align: center;
}
.profile .profile_inner h1 {
padding: 12px 0;
}
.profile .profile_inner span {
padding: 10px 0;
font-size: 18px;
}
.profile img {
display: inline-table;
border-radius: 50%;
pointer-events: none;
}
@media screen and (max-width: 600px) {
.profile img {
transform: scale(0.85);
}
}
.buttons {
display: flex;
flex-wrap: wrap;
justify-content: center;
max-width: 400px;
margin: 0 auto;
}
.button {
background: var(--tertiary);
border-radius: var(--radius);
margin: 8px;
padding: 6px;
transition: transform 0.1s;
}
.button-inner {
padding: 0 8px;
}
.button:active {
transform: scale(0.96);
}