Dantes (обсуждение | вклад) Нет описания правки Метка: ручная отмена |
Dantes (обсуждение | вклад) Нет описания правки |
||
Строка 1: | Строка 1: | ||
. | .department-card { | ||
margin: 20px auto; | |||
max-width: 800px; | |||
background: #2b2b2b; | |||
color: #f5f5f5; | |||
border-radius: 10px; | |||
overflow: hidden; | |||
font-family: Arial, sans-serif; | |||
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); | |||
transition: transform 0.3s ease, box-shadow 0.3s ease; | |||
} | } | ||
. | .department-card:hover { | ||
transform: translateY(-5px); | |||
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.5); | |||
} | } | ||
. | .department-header { | ||
display: flex; | |||
align-items: center; | |||
justify-content: center; | |||
background: #3b3b3b; | |||
padding: 20px; | |||
text-shadow: 1px 1px #000; | |||
} | } | ||
. | .department-header img { | ||
margin-right: 10px; | |||
width: 64px; | |||
height: 64px; | |||
} | } | ||
. | .department-header .title { | ||
font-size: 30px; | |||
font-weight: bold; | |||
color: #f0a500; | |||
} | |||
.section-header { | |||
background: #3b3b3b; | |||
text-align: center; | |||
padding: 10px; | |||
font-size: 20px; | |||
font-weight: bold; | |||
border-radius: 5px; | |||
margin: 15px 10px; | |||
color: #f0a500; | |||
} | |||
.employee-list { | |||
display: flex; | |||
justify-content: space-around; | |||
flex-wrap: wrap; | |||
padding: 15px; | |||
gap: 15px; | |||
} | |||
.employee { | |||
text-align: center; | |||
flex: 1; | |||
max-width: 150px; | |||
transition: transform 0.3s ease, box-shadow 0.3s ease; | |||
background: #3b3b3b; | |||
border-radius: 10px; | |||
padding: 10px; | |||
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); | |||
} | |||
.employee:hover { | |||
transform: scale(1.1); | |||
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.5); | |||
} | |||
.employee img { | |||
width: 120px; | |||
height: 120px; | |||
border-radius: 50%; | |||
border: 3px solid #f5f5f5; | |||
margin-bottom: 10px; | |||
} | |||
.guides { | |||
text-align: center; | |||
padding: 15px; | |||
font-size: 18px; | |||
color: #f0a500; | |||
} | } |
Версия от 20:48, 24 января 2025
.department-card { margin: 20px auto; max-width: 800px; background: #2b2b2b; color: #f5f5f5; border-radius: 10px; overflow: hidden; font-family: Arial, sans-serif; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); transition: transform 0.3s ease, box-shadow 0.3s ease; } .department-card:hover { transform: translateY(-5px); box-shadow: 0 6px 12px rgba(0, 0, 0, 0.5); } .department-header { display: flex; align-items: center; justify-content: center; background: #3b3b3b; padding: 20px; text-shadow: 1px 1px #000; } .department-header img { margin-right: 10px; width: 64px; height: 64px; } .department-header .title { font-size: 30px; font-weight: bold; color: #f0a500; } .section-header { background: #3b3b3b; text-align: center; padding: 10px; font-size: 20px; font-weight: bold; border-radius: 5px; margin: 15px 10px; color: #f0a500; } .employee-list { display: flex; justify-content: space-around; flex-wrap: wrap; padding: 15px; gap: 15px; } .employee { text-align: center; flex: 1; max-width: 150px; transition: transform 0.3s ease, box-shadow 0.3s ease; background: #3b3b3b; border-radius: 10px; padding: 10px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); } .employee:hover { transform: scale(1.1); box-shadow: 0 6px 12px rgba(0, 0, 0, 0.5); } .employee img { width: 120px; height: 120px; border-radius: 50%; border: 3px solid #f5f5f5; margin-bottom: 10px; } .guides { text-align: center; padding: 15px; font-size: 18px; color: #f0a500; }