hyaenidae/server/scss/layout.scss

115 lines
2 KiB
SCSS

.account-page {
margin-bottom: 32px;
}
.profile-view {
margin: -1px;
background-color: #444;
color: #f5f5f5;
border-radius: 0 0 3px 3px;
overflow: hidden;
img {
width: 100%;
}
.profile-view--banner {
height: 233px;
width: 100%;
}
.profile-view--banner--placeholder {
height: 100%;
min-height: 100%;
background-color: #555;
}
.profile-view--content {
padding-bottom: 16px;
}
.profile-view--content--top {
margin-top: -86px;
display: flex;
justify-content: flex-start;
align-items: flex-start;
flex-wrap: wrap;
padding: 0 16px;
}
.profile-view--icon {
position: relative;
height: 128px;
width: 128px;
border-radius: 64px;
border: 3px solid #444;
background-color: #555;
overflow: hidden;
margin-right: 16px;
}
.profile-view--meta {
padding-top: 20px;
text-shadow: 1px 1px 1px #222;
span {
display: block;
}
}
.profile-view--meta--display {
font-weight: 600;
font-size: 20px;
}
.profile-view--meta--handle {
font-weight: 500;
}
.profile-view--description {
padding: 16px;
}
}
@media (max-width: 700px) {
.profile-view {
border-radius: 0;
margin: -1px 0;
.profile-view--banner {
height: 33vw;
}
}
}
@media (max-width: 350px) {
.profile-view {
.profile-view--content--top {
margin-top: -56px;
display: block;
}
.profile-view--icon {
width: 96px;
height: 96px;
}
.profile-view--meta {
padding-bottom: 0;
}
}
}
@media (max-width: 250px) {
.profile-view {
.profile-view--content--top {
margin-top: -38px
}
.profile-view--icon {
width: 64px;
height: 64px;
}
}
}