initial commit
This commit is contained in:
@@ -0,0 +1,96 @@
|
||||
.link-grid {
|
||||
display: grid;
|
||||
gap: 12px;
|
||||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||||
margin-top: 18px;
|
||||
}
|
||||
|
||||
.link-card {
|
||||
display: grid;
|
||||
grid-template-columns: auto auto minmax(0, 1fr) auto;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
min-height: 76px;
|
||||
padding: 14px;
|
||||
border: 1px solid color-mix(in srgb, var(--card-accent) 30%, var(--border));
|
||||
border-radius: 8px;
|
||||
background-color: rgba(42, 42, 55, 0.72);
|
||||
color: var(--text);
|
||||
text-decoration: none;
|
||||
transition:
|
||||
background-color 160ms ease,
|
||||
border-color 160ms ease,
|
||||
transform 160ms ease;
|
||||
}
|
||||
|
||||
.link-card:hover {
|
||||
border-color: var(--card-accent);
|
||||
background-color: color-mix(in srgb, var(--card-glow) 36%, var(--surface));
|
||||
color: var(--text);
|
||||
transform: translateY(-2px);
|
||||
}
|
||||
|
||||
.link-card__index {
|
||||
color: var(--text-soft);
|
||||
font-family: monospace;
|
||||
font-size: 0.75rem;
|
||||
}
|
||||
|
||||
.link-card__badge {
|
||||
display: grid;
|
||||
place-items: center;
|
||||
width: 42px;
|
||||
height: 42px;
|
||||
border: 1px solid color-mix(in srgb, var(--card-accent) 58%, var(--border));
|
||||
border-radius: 8px;
|
||||
color: var(--card-accent);
|
||||
font-family: "Barlow Condensed", sans-serif;
|
||||
font-size: 1rem;
|
||||
font-weight: 800;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.link-card__badge svg {
|
||||
width: 22px;
|
||||
height: 22px;
|
||||
fill: currentColor;
|
||||
}
|
||||
|
||||
.link-card__body {
|
||||
display: grid;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.link-card__name {
|
||||
color: var(--text);
|
||||
font-family: "Barlow Condensed", sans-serif;
|
||||
font-size: 1.25rem;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.link-card__label {
|
||||
overflow: hidden;
|
||||
color: var(--text-soft);
|
||||
font-size: 0.92rem;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.link-card__arrow {
|
||||
color: var(--card-accent);
|
||||
font-size: 0.82rem;
|
||||
font-weight: 700;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
@media (max-width: 780px) {
|
||||
.link-grid {
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 560px) {
|
||||
.link-grid {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user