fix(cv): set fixed 245x245px centered photo in sidebar

Made-with: Cursor
master
sii42400 2026-04-17 14:17:17 +02:00
parent d302eac519
commit fd61bb3601
1 changed files with 13 additions and 11 deletions

View File

@ -127,17 +127,15 @@ body {
position: static;
display: flex;
flex-direction: column;
align-items: center;
.segment_image {
float: none;
width: 100%;
height: auto;
background-color: transparent;
}
.cover {
object-fit: contain;
width: 245px;
height: 245px;
object-fit: cover;
object-position: top;
background-color: transparent;
}
.segment_header_middle {
@ -150,10 +148,11 @@ body {
.segment_title_image {
float: none;
margin-left: 0;
width: 100%;
margin-right: auto;
margin-left: auto;
width: 245px;
padding-top: 12px;
height: 45px;
height: 55px;
color: var(--on-accent-color);
font-family: $title_font_family;
font-size: $title_font_size;
@ -203,8 +202,11 @@ body {
.segment_content_image {
float: none;
width: 100%;
width: 245px;
height: auto;
margin-top: 15px;
margin-left: 0 auto;
margin-right: 0 auto;
padding: 12px 10px;
box-sizing: border-box;
font-size: $regular_image_font_size;