159 lines
2.5 KiB
CSS
159 lines
2.5 KiB
CSS
.container {
|
|
width: 100%;
|
|
padding: 12px;
|
|
box-sizing: border-box;
|
|
}
|
|
.profileboard {
|
|
width: 100%;
|
|
padding: 16px;
|
|
border-radius: 20px;
|
|
box-sizing: border-box;
|
|
}
|
|
.settingImage{
|
|
width:100%;
|
|
display: flex;
|
|
justify-content: center;
|
|
}
|
|
.contentWrapper {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
width: 100%;
|
|
}
|
|
|
|
.profilePictureContainer {
|
|
width: 120px;
|
|
height: 120px;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.profilePicture {
|
|
width: 100%;
|
|
height: 100%;
|
|
border-radius: 50%;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.description {
|
|
width: 100%;
|
|
text-align: left;
|
|
}
|
|
|
|
.headerProfile {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.description h2 {
|
|
font-size: 1.6rem;
|
|
margin-bottom: 10px;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.description button {
|
|
width: 44px;
|
|
height: 44px;
|
|
min-width: 44px;
|
|
min-height: 44px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 0;
|
|
background: transparent;
|
|
border: none;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.modifyIcon {
|
|
width: 22px;
|
|
height: 22px;
|
|
display: block;
|
|
margin: 0;
|
|
}
|
|
|
|
.topDescription {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 12px;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.infoBlock {
|
|
width: 100%;
|
|
padding: 12px;
|
|
}
|
|
|
|
.eventTasks {
|
|
max-height: 0;
|
|
overflow: hidden;
|
|
transition: max-height 0.3s ease, opacity 0.2s ease;
|
|
opacity: 0;
|
|
padding-left: 16px;
|
|
}
|
|
|
|
.eventTasks.expanded {
|
|
max-height: 500px;
|
|
opacity: 1;
|
|
margin-top: 10px;
|
|
}
|
|
|
|
@media (min-width: 768px) {
|
|
.contentWrapper {
|
|
flex-direction: row;
|
|
align-items: flex-start;
|
|
}
|
|
|
|
.profilePictureContainer {
|
|
width: 150px;
|
|
height: 150px;
|
|
margin-right: 24px;
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.description {
|
|
width: calc(100% - 180px);
|
|
}
|
|
|
|
.topDescription {
|
|
flex-direction: row;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.infoBlock {
|
|
width: 48%;
|
|
}
|
|
|
|
.description h2 {
|
|
font-size: 1.8rem;
|
|
}
|
|
}
|
|
|
|
@media (min-width: 1024px) {
|
|
.container {
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
padding: 24px;
|
|
}
|
|
|
|
.profileboard {
|
|
padding: 28px;
|
|
}
|
|
|
|
.profilePictureContainer {
|
|
width: 180px;
|
|
height: 180px;
|
|
}
|
|
|
|
.description {
|
|
width: calc(100% - 220px);
|
|
}
|
|
|
|
.description h2 {
|
|
font-size: 2rem;
|
|
}
|
|
}
|