hugo-PaperMod/assets/css/profileMode.css

61 lines
927 B
CSS
Raw Normal View History

.main {
text-align: center;
display: table;
}
.main>.profile {
display: table-cell;
vertical-align: middle;
}
.main>.profile>.profile_inner {
transform: translate(0, -10%);
}
.profile_inner h1 {
2020-09-06 15:37:57 +01:00
padding: 12px 0;
}
img {
2020-08-29 10:43:14 +01:00
display: inline-table;
width: 180px;
border-radius: 50%;
pointer-events: none;
}
@media screen and (max-width: 600px) {
img {
2020-09-06 15:37:57 +01:00
width: 150px;
}
.main>.profile>.profile_inner {
transform: translate(0, 0);
}
}
.social-icons {
2020-09-06 15:37:57 +01:00
padding: 12px 0;
}
.buttons {
display: flex;
flex-wrap: wrap;
justify-content: center;
2020-09-06 15:37:57 +01:00
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;
}
2020-09-06 15:37:57 +01:00
.button:active, .social-icons>a>svg:hover{
transform: scale(0.96);
}