You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

69 lines
1.3 KiB

6 months ago
body, html {
height: 100%;
margin: 10px;
display: flex;
justify-content: center;
align-items: flex-start;
background-color: #c1d2df;
}
.container {
display: flex;
flex-direction: column;
align-items: center;
}
h1 {
margin-bottom: 10px;
color: #a9d3aa;
}
.department-grid {
width: 500px;
height: auto;
background-color: #66b4e4;
padding: 40px;
border-radius: 5px;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
margin-bottom: 10rem;
display: grid;
grid-template-columns: repeat(2, minmax(120px, 1fr));
grid-gap: 1rem;
max-width: 600px;
}
.department-box {
position: relative;
overflow: hidden;
background-color: #f1f1f1;
border-radius: 4px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
width: 90px;
margin-bottom: 10px;
}
.department-button {
width: 100%;
height: 90%;
border: none;
color: #333;
padding: 0.75rem 1rem;
text-align: center;
text-decoration: none;
display: block;
cursor: pointer;
transition: all 0.2s ease-in-out;
margin-bottom: 0.5rem;
background-color: #4bd6c3;
}
.department-button:hover {
background-color: #ddd;
}
.department-button:active {
background-color: #bbb;
transform: translateY(2px);
}