Add ─ legal-right.css with grid layout, link styling and responsive rules

This commit is contained in:
nocode committed 2026-05-07 15:33:55 +02:00
1 parent 53db95c051
commit d5f56c6595
1 file changed
+84
+84
View File
@@ -0,0 +1,84 @@
.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;
}
}