comty/packages/app/src/pages/@/index.less
2021-11-16 17:53:34 +01:00

111 lines
1.6 KiB
Plaintext

.UserLayout_wrapper{
display: flex;
height: 100%;
width: 100%;
flex-direction: column;
align-items: center;
margin: auto;
overflow: overlay !important;
}
.UserLayout_header{
font-family: "Poppins", sans-serif;
color: #242424;
vertical-align: top;
display: flex;
padding: 20px;
height: auto;
width: 100%;
max-width: 600px;
max-height: 200px;
background-color: #ffffff;
border-radius: 0 0 20px 20px;
transform: translate(0, -5px);
}
.UserLayout_cover{
display: flex;
align-content: center;
max-height: 400px;
max-width: 600px;
overflow: hidden;
border-radius: 15px 15px 0 0;
border-radius: 8px;
img {
width: 100%;
margin: auto;
}
}
.UserLayout_title{
color: #2d2d2d;
font-weight: 500;
font-size: 20px;
line-height: 28px;
width: 100%;
height: 100%;
word-break: break-all;
h1 {
margin: 0;
width: fit-content;
}
span{
word-break: break-all;
}
}
.UserLayout_avatar {
transform: translate(-35px, -45px);
&>span {
width: 100%;
height: 100%;
}
&.mobile{
transform: translate(0,-90px);
margin: auto;
}
:global {
.ant-avatar {
box-shadow: 13px 13px 17px 4px rgba(69, 69, 69, 0.151);
border-radius: 7px;
height: 120px;
width: 120px;
img {
height: 100%;
width: 100%;
}
}
}
}
.UserLayout_options{
display: flex;
flex-direction: column;
text-align: left;
> div {
text-align: left;
margin-bottom: 15px;
}
}
.UserLayout_content{
}