hyaenidae/server/scss/layout.scss

175 lines
2.9 KiB
SCSS
Raw Normal View History

.error {
color: #c92a60;
font-style: italic;
}
2020-12-16 02:40:41 +00:00
.account-page {
margin-bottom: 32px;
}
2021-01-06 08:21:37 +00:00
.profile-view {
margin: -1px;
2021-01-06 16:45:43 +00:00
background-color: #444;
2021-01-06 08:21:37 +00:00
color: #f5f5f5;
overflow: hidden;
&.standalone {
margin: 0;
border-radius: 3px;
}
&.account-page {
margin-bottom: 32px;
}
2021-01-06 08:21:37 +00:00
img {
width: 100%;
}
2021-01-06 16:45:43 +00:00
.profile-view--banner {
height: 233px;
2021-01-06 08:21:37 +00:00
width: 100%;
}
2021-01-06 16:45:43 +00:00
.profile-view--banner--placeholder {
height: 100%;
min-height: 100%;
background-color: #555;
2021-01-06 08:21:37 +00:00
}
.profile-view--content {
padding-bottom: 16px;
}
.profile-view--content--top {
margin-top: -86px;
display: flex;
justify-content: flex-start;
2021-01-06 16:45:43 +00:00
align-items: flex-start;
2021-01-06 08:21:37 +00:00
flex-wrap: wrap;
padding: 0 16px;
}
.profile-view--icon {
position: relative;
height: 128px;
width: 128px;
border-radius: 64px;
2021-01-06 16:45:43 +00:00
border: 3px solid #444;
background-color: #555;
2021-01-06 08:21:37 +00:00
overflow: hidden;
2021-01-06 16:45:43 +00:00
margin-right: 16px;
2021-01-06 08:21:37 +00:00
}
.profile-view--meta {
2021-01-06 16:45:43 +00:00
padding-top: 20px;
text-shadow: 1px 1px 1px #222;
2021-01-06 08:21:37 +00:00
2021-01-06 16:45:43 +00:00
span {
display: block;
2021-01-06 08:21:37 +00:00
}
}
.profile-view--meta--display {
2021-01-06 16:45:43 +00:00
font-weight: 600;
2021-01-06 08:21:37 +00:00
font-size: 20px;
}
.profile-view--meta--handle {
2021-01-06 16:45:43 +00:00
font-weight: 500;
2021-01-06 08:21:37 +00:00
}
.profile-view--description {
padding: 16px;
}
}
.text-section,
.button-section {
padding: 8px 0;
}
.columns {
display: flex;
flex-direction: row-reverse;
justify-content: space-between;
.columns--column {
flex: 1;
width: 100%;
}
.columns--column + .columns--column {
margin-right: 16px;
}
}
.image-box {
max-width: 100%;
background-color: #f5f5f5;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
border-radius: 3px;
overflow: hidden;
img {
display: block;
width: 100%;
}
}
2021-01-06 08:21:37 +00:00
@media (max-width: 700px) {
.columns {
flex-direction: column;
.columns--column + .columns--column {
margin-left: 0;
padding-top: 16px;
}
}
2021-01-06 08:21:37 +00:00
.profile-view {
margin: -1px 0;
&.standalone {
margin: 0;
margin-bottom: 32px;
border-radius: 0;
}
2021-01-06 16:45:43 +00:00
.profile-view--banner {
height: 33vw;
2021-01-06 08:21:37 +00:00
}
}
}
2021-01-06 16:45:43 +00:00
@media (max-width: 350px) {
2021-01-06 08:21:37 +00:00
.profile-view {
.profile-view--content--top {
2021-01-06 16:45:43 +00:00
margin-top: -56px;
display: block;
2021-01-06 08:21:37 +00:00
}
.profile-view--icon {
2021-01-06 16:45:43 +00:00
width: 96px;
height: 96px;
2021-01-06 08:21:37 +00:00
}
.profile-view--meta {
padding-bottom: 0;
}
}
}
2021-01-06 16:45:43 +00:00
@media (max-width: 250px) {
.profile-view {
.profile-view--content--top {
margin-top: -38px
}
.profile-view--icon {
width: 64px;
height: 64px;
}
}
}