hugo-PaperMod/assets/css/common/profile-mode.css
NexusXe 60938f3e19
Fix improper image border scaling
Previously, the rounded image border would not scale properly with different aspect ratios as the img object changed its own aspect ratio
2022-06-24 18:07:56 -05:00

51 lines
867 B
CSS

.buttons,
.main .profile {
display: flex;
justify-content: center;
}
.main .profile {
align-items: center;
min-height: calc(100vh - var(--header-height) - var(--footer-height) - (var(--gap) * 2));
text-align: center;
}
.profile .profile_inner h1 {
padding: 12px 0;
}
.profile img {
display: inline-table;
border-radius: 50%;
pointer-events: none;
width: auto;
height: auto;
border-radius: 50%;
pointer-events: none;
-webkit-border-radius: 50%;
-moz-border-radius: 50%;
overflow: hidden;
}
.buttons {
flex-wrap: wrap;
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);
}