Создана страница OtherProfile, создан CSS к странице OtherProfile
This commit is contained in:
47
src/css/OtherProfile.css
Normal file
47
src/css/OtherProfile.css
Normal 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;
|
||||
}
|
||||
Reference in New Issue
Block a user