246 lines
4.1 KiB
SCSS
246 lines
4.1 KiB
SCSS
|
|
.error {
|
|
color: #c92a60;
|
|
font-style: italic;
|
|
}
|
|
|
|
.top-bar__mobile {
|
|
display: none;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
background-color: #333;
|
|
padding: 8px 16px;
|
|
border-bottom: 3px solid #555;
|
|
box-shadow: 0 0 3px rgba(0, 0, 0, 0.3);
|
|
|
|
a {
|
|
color: #fff;
|
|
|
|
&:hover,
|
|
&:focus,
|
|
&:active {
|
|
color: #e5e5e5;
|
|
}
|
|
}
|
|
|
|
h1, h2, h3, h4, h5, h6 {
|
|
font-family: sans-serif;
|
|
margin: 0;
|
|
}
|
|
}
|
|
|
|
.top-bar {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
background-color: #222;
|
|
padding: 8px 16px;
|
|
border-bottom: 2px solid #999;
|
|
box-shadow: 0 0 3px rgba(0, 0, 0, 0.3);
|
|
|
|
h1, h2, h3, h4, h5, h6 {
|
|
font-family: sans-serif;
|
|
margin: 0;
|
|
}
|
|
}
|
|
|
|
.nav-body {
|
|
position: relative;
|
|
height: 100vh;
|
|
min-height: 100vh;
|
|
|
|
.nav-links {
|
|
position: absolute;
|
|
bottom: 0;
|
|
left: 0;
|
|
right: 0;
|
|
max-height: 100%;
|
|
overflow-y: auto;
|
|
}
|
|
}
|
|
|
|
.home-content {
|
|
padding: 32px 0;
|
|
}
|
|
|
|
.account-page {
|
|
margin-bottom: 32px;
|
|
}
|
|
|
|
.profile-view {
|
|
margin: -1px;
|
|
background-color: #444;
|
|
color: #f5f5f5;
|
|
overflow: hidden;
|
|
|
|
&.card-top {
|
|
border-radius: 3px 3px 0 0;
|
|
}
|
|
|
|
&.standalone {
|
|
margin: 0;
|
|
border-radius: 3px;
|
|
}
|
|
&.account-page {
|
|
margin-bottom: 32px;
|
|
}
|
|
|
|
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;
|
|
}
|
|
}
|
|
|
|
.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%;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 700px) {
|
|
.top-bar {
|
|
display: none;
|
|
}
|
|
.top-bar__mobile {
|
|
display: flex;
|
|
}
|
|
|
|
.columns {
|
|
flex-direction: column;
|
|
|
|
.columns--column + .columns--column {
|
|
margin-left: 0;
|
|
padding-top: 16px;
|
|
}
|
|
}
|
|
|
|
.profile-view {
|
|
margin: -1px 0;
|
|
|
|
&.standalone {
|
|
margin: 0;
|
|
margin-bottom: 32px;
|
|
border-radius: 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;
|
|
}
|
|
}
|
|
}
|