hugo-WonderMod/assets/css/profile-mode.css
Aditya Telange f9fbdc9963
profile-mode: improvements
- update css logic
- rm redundant code
- reduce image size, it looks big imo
2020-11-09 11:12:52 +05:30

57 lines
874 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;
width: 150px;
border-radius: 50%;
pointer-events: none;
}
@media screen and (max-width: 600px) {
.profile img {
width: 120px;
}
}
.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);
}