Files

85 lines
1.3 KiB
CSS

.grid {
position: static;
display: grid;
gap: 0;
grid-template-columns: minmax(0, 60rem);
grid-template-rows: auto;
justify-self: center;
justify-content: center;
margin-top: 0;
padding: 4rem 1rem 0;
}
.grid-item {
background-color: #235573;
padding: 2rem 2.5rem;
border-radius: .4rem;
line-height: 1.6;
}
.grid-item h3 {
margin-top: 2rem;
}
.grid-item h3:first-child {
margin-top: 0;
}
.grid-item a {
color: #7FD4FF;
text-decoration: none;
transition: color 0.2s ease;
}
.grid-item a::after {
content: " \2192";
display: inline-block;
margin-left: 0.25rem;
transition: transform 0.2s ease;
}
.grid-item a[target="_blank"]::after {
content: " \2197";
}
.grid-item a:hover {
color: #FFFFFF;
}
.grid-item a:hover::after {
transform: translateX(0.2rem);
}
.grid-item a:visited {
color: #B89BFF;
}
body #div-content {
height: auto;
position: relative;
background-color: #1B4056;
z-index: 2;
padding-bottom: 6rem;
}
@media screen and (max-width: 1024px) {
.grid {
grid-template-columns: minmax(0, 90%);
padding-top: 2rem;
}
.grid-item {
padding: 1.5rem;
}
}
@media screen and (max-width: 480px) {
.grid {
padding: 1rem;
}
.grid-item {
padding: 1rem;
}
}