hugo-WonderMod/assets/css/profileMode.css
Aditya Telange df457f7514
profile-mode : add buttons
ex.
params:
  profileMode:
    buttons:
      - name: Archive
        url: "/archive"
      - name: Github
        url: "https://github.com/"
2020-08-28 18:47:00 +05:30

53 lines
689 B
CSS

.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 {
padding: 8px;
}
img {
display: inline-block;
width: 200px;
border-radius: 50%;
pointer-events: none;
margin: 5px;
}
@media screen and (max-width: 600px) {
img {
width: 150px;
}
}
.social-icons {
padding: 16px;
}
.buttons {
max-width: 300px;
line-height: 2.8;
}
.button {
background: var(--tertiary);
border-radius: var(--radius);
margin: 8px;
padding: 8px;
}
.button-inner {
padding: 10px;
}