Создана страница OtherProfile, создан CSS к странице OtherProfile

This commit is contained in:
Dozzy7528
2026-02-03 13:29:51 +03:00
parent 2bdf65964b
commit ccd97c2fc7
3 changed files with 91 additions and 12 deletions

47
src/css/OtherProfile.css Normal file
View File

@@ -0,0 +1,47 @@
.profile-info {
margin: 0 0 0.5rem 0;
}
.name-with-avatar {
display: flex;
align-items: center;
justify-content: space-between;
flex-wrap: wrap;
}
.user-name {
margin: 0;
font-size: 5rem;
font-weight: 600;
color: #CAD1D8;
flex: 1 1 auto;
word-break: break-word;
overflow-wrap: break-word;
}
.profile-avatar {
width: 120px;
height: 120px;
border-radius: 50%;
object-fit: cover;
border: 4px solid #CAD1D8;
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
margin-left: 1rem;
}
.user-description {
padding: 1rem 1.5rem;
border: 3px solid #4A5568;
border-radius: 12px;
background-color: #2D3748;
font-size: 1.2rem;
font-weight: 450;
color: #CAD1D8;
text-align: start;
word-break: break-word;
word-wrap: break-word;
overflow-wrap: break-word;
max-width: 100%;
hyphens: auto;
margin-top: 1rem;
}