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

Вернуться

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


.card_headerRole {
.card_headerRole {
     background-color: #3b427a;  
     background-color: #2b305c;
     border-radius: 6px;  
     border-radius: 6px;
     text-align: center;
     text-align: center;
     padding: 6px 4px;  
     padding: 6px 4px;
}
}


Строка 28: Строка 27:


.card_header_titleRole p {
.card_header_titleRole p {
     margin: 0;  
     margin: 0;
     font-size: 14px;
     font-size: 14px;
     font-weight: 600;
     font-weight: 600;
Строка 34: Строка 33:


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


Строка 57: Строка 56:
     max-height: 80px;  
     max-height: 80px;  
     max-width: 100%;  
     max-width: 100%;  
     image-rendering: pixelated;  
     image-rendering: pixelated;
     transition: transform 0.2s ease-in-out;  
     transition: transform 0.2s ease-in-out;  
}
}


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