User:Catrone3/lab/style.css: Difference between revisions
From Shadowrun Wiki
More actions
< User:Catrone3 | lab
No edit summary |
No edit summary |
||
| Line 4: | Line 4: | ||
justify-content: center; | justify-content: center; | ||
align-items: center; | align-items: center; | ||
padding: 0 1rem; | |||
background: transparent; | background: transparent; | ||
color: #fff; | color: #fff; | ||
font-weight: 500; | |||
} | } | ||
| Line 27: | Line 27: | ||
.home-card { | .home-card { | ||
position: relative; | position: relative; | ||
padding: 1rem; | |||
border: 1px solid | border: 1px solid rgba(255, 255, 255, 0.08); | ||
background: #000000; | background: #000000; | ||
border-radius: 8px; | |||
font-size: | font-size: 0.75rem | ||
} | } | ||
Revision as of 21:57, 9 July 2025
.home-card--button a {
display: flex;
height: 100%;
justify-content: center;
align-items: center;
padding: 0 1rem;
background: transparent;
color: #fff;
font-weight: 500;
}
.home-card--col2 {
grid-column: span 2;
}
.home-grid {
display: grid;
grid: auto-flow dense/repeat( auto-fit, minmax( 9.375rem, 1fr ) );
grid-auto-rows: minmax( 3rem, auto );
grid-gap: 0.5rem;
}
#home-content {
margin-top: 1.25rem;
}
.home-card {
position: relative;
padding: 1rem;
border: 1px solid rgba(255, 255, 255, 0.08);
background: #000000;
border-radius: 8px;
font-size: 0.75rem
}
.home-card--button .home-card__background a {
padding: 0;
}
.home-card--button img {
transition: transform 250ms ease;
}
.home-card--button:hover img {
transform: scale( 1.1 );
}
#card-discord {
background: #5865f2;
}
#card-patreon {
background: #ff424d;
}
#card-kofi {
background: #ff5e5b;
}
#card-reddit {
background: #ff4500;
}