hugo-PaperMod/assets/css/profile-mode.css
2021-01-13 23:35:54 +05:30

64 lines
923 B
CSS

.buttons,
.main .profile {
display: flex;
justify-content: center
}
.main .profile {
position: absolute;
left: 0;
right: 0;
align-items: 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(.85)
}
}
.buttons {
flex-wrap: wrap;
max-width: 400px;
margin: 0 auto
}
.button {
background: var(--tertiary);
border-radius: var(--radius);
margin: 8px;
padding: 6px;
transition: transform .1s
}
.button-inner {
padding: 0 8px
}
.button:active {
transform: scale(.96)
}
@media (prefers-reduced-motion) {
.button:active {
transform: none
}
}