Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Homepage/MainNav/Style.css

Template page
.main-grid {
display: grid;
grid: auto-flow/repeat(4, minmax(240px, 1fr));
grid-auto-rows: minmax(120px, auto);
grid-gap: 16px;	
overflow: auto;
}

.main-card {
position: relative;
min-width: 240px;
padding: 1em;
background: var(--color-surface-1);
border: 1px solid #ffffff1a;
border-radius: 8px;
}

.main-card-foreground {
position: absolute;
top: auto;
right: 0;
bottom: 0;
left: 0;
display: flex;
flex-direction: column;
justify-content: center;
padding: 20px;
gap: 4px;
color: var(--color-base--emphasized);
font-weight: bold;
font-size: 0.9em;
line-height: normal;
letter-spacing: 0.04em;
}

.main-card-foreground .main-card-header {
color: var(--color-base--emphasized);
}

.main-card-foreground .main-card-label {
color: var(--color-base--subtle);
}

.main-card-foreground a {
color: var(--color-base--emphasized);
text-decoration: none;
}

.main-card-background {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
border-radius: 8px;
}

.main-card-background picture,
.main-card-background img {
width: 100%;
height: 100%;
border-radius: 8px;
}

.main-card-background img {
object-fit: cover;
object-position: center top;
}

.main-card-background:after {
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
display: block;
background: linear-gradient(10deg, #000000ee, transparent);
content: "";
border-radius: 8px;
}

.main-card-background a {
display: flex;
height: 100%;
justify-content: center;
align-items: center;
padding: 0;
background: transparent;
}
Cookies help us deliver our services. By using our services, you agree to our use of cookies.