Шаблон:таблицаролей/роль/styles.css

Вернуться

Строка 5: Строка 5:
     max-width: 400px;
     max-width: 400px;
     min-width: 190px;
     min-width: 190px;
     padding: 16px;
     padding: 8px;  
     border-radius: 12px;
     border-radius: 8px;  
    min-height: 36px;
     box-sizing: border-box;
     box-sizing: border-box;
     height: 100%;
     height: 100%;
     background-color: #ffffff;  
     background-color: #ffffff;  
     box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid #2d3748;
     transition: transform 0.3s ease, box-shadow 0.3s ease;
     box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);  
     transition: transform 0.2s ease, box-shadow 0.2s ease;
}
}


/* Заголовок карточки */
 
.card_headerRole {
.card_headerRole {
     border-radius: 8px;
    background-color: #3b427a;
     border-radius: 6px;  
     text-align: center;
     text-align: center;
    background-color: #4f46e5;
     padding: 6px 4px;  
     padding: 8px;
}
}


.card_header_titleRole {
.card_header_titleRole {
     padding: 0 8px;
     padding: 0 4px;
}
}


.card_header_titleRole p {
.card_header_titleRole p {
     margin: 0;  
     margin: 0;  
     font-size: 16px;
     font-size: 14px;
     font-weight: 600;
     font-weight: 600;
    letter-spacing: 0.5px;
}
}


.title_textRole {
.title_textRole {
     color: #ffffff;
     color: #ffffff;  
}
}


Строка 44: Строка 43:
     justify-content: center;
     justify-content: center;
     background-color: transparent;
     background-color: transparent;
     padding: 20px 0;
     padding: 16px 0;
    overflow: hidden;  
}
}


Строка 59: Строка 57:
     max-height: 80px;  
     max-height: 80px;  
     max-width: 100%;  
     max-width: 100%;  
     transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);  
    image-rendering: pixelated;
     transition: transform 0.2s ease-in-out;  
}
}


.cardRole:hover {
.cardRole:hover {
     transform: translateY(-4px);
     transform: translateY(-2px);
     box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);  
     box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    border-color: #4c51bf;  
}
}


.cardRole:hover .card_imageRole img {
.cardRole:hover .card_imageRole img {
     transform: scale(1.12);  
     transform: scale(1.15);
}
}