mirror of
https://github.com/pepaskopec-blip/skopec.dev.git
synced 2026-10-27 15:14:33 +00:00
Add self-hosted services as project cards.
The homelab apps that stand on their own now show up on the Projects page, with a Services filter. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
12e472d750
commit
e2daab03e9
3 changed files with 550 additions and 10 deletions
274
style.css
274
style.css
|
|
@ -1722,6 +1722,280 @@ a:hover {
|
|||
font-weight: 650;
|
||||
}
|
||||
|
||||
/* Self-hosted service previews */
|
||||
.mock-svc {
|
||||
width: 100%;
|
||||
max-width: 24rem;
|
||||
padding: 0.9rem 1rem;
|
||||
background: var(--surface-solid);
|
||||
border: 1px solid var(--line-strong);
|
||||
border-radius: 4px;
|
||||
box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
|
||||
}
|
||||
|
||||
.mock-svc-top {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.45rem;
|
||||
margin-bottom: 0.75rem;
|
||||
font-size: 0.72rem;
|
||||
font-weight: 650;
|
||||
letter-spacing: 0.04em;
|
||||
color: var(--ink);
|
||||
}
|
||||
|
||||
.mock-svc-host {
|
||||
margin-left: auto;
|
||||
color: var(--muted);
|
||||
font-weight: 600;
|
||||
letter-spacing: 0;
|
||||
font-variant-numeric: tabular-nums;
|
||||
}
|
||||
|
||||
.mock-posters {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(4, 1fr);
|
||||
gap: 0.4rem;
|
||||
}
|
||||
|
||||
.mock-posters i {
|
||||
display: block;
|
||||
aspect-ratio: 2 / 3;
|
||||
border-radius: 2px;
|
||||
background: linear-gradient(165deg, var(--accent) 0%, #24140f 78%);
|
||||
}
|
||||
|
||||
.mock-posters i:nth-child(2) {
|
||||
background: linear-gradient(200deg, #3d5a80 0%, #121820 80%);
|
||||
}
|
||||
|
||||
.mock-posters i:nth-child(3) {
|
||||
background: linear-gradient(150deg, #c45c26 0%, #1a120e 78%);
|
||||
}
|
||||
|
||||
.mock-posters i:nth-child(4) {
|
||||
background: linear-gradient(185deg, #6b4c7a 0%, #141820 80%);
|
||||
}
|
||||
|
||||
.mock-now {
|
||||
margin-top: 0.65rem;
|
||||
font-size: 0.72rem;
|
||||
color: var(--muted);
|
||||
}
|
||||
|
||||
.mock-now strong {
|
||||
color: var(--ink);
|
||||
font-weight: 650;
|
||||
}
|
||||
|
||||
.mock-track {
|
||||
display: grid;
|
||||
grid-template-columns: 3.1rem minmax(0, 1fr);
|
||||
gap: 0.7rem;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.mock-album {
|
||||
width: 3.1rem;
|
||||
height: 3.1rem;
|
||||
border-radius: 2px;
|
||||
background:
|
||||
linear-gradient(145deg, transparent 42%, rgba(0, 0, 0, 0.28) 43% 57%, transparent 58%),
|
||||
linear-gradient(145deg, var(--accent) 0%, #1c2430 72%);
|
||||
}
|
||||
|
||||
.mock-track-title {
|
||||
font-weight: 700;
|
||||
font-size: 0.86rem;
|
||||
color: var(--ink);
|
||||
line-height: 1.2;
|
||||
}
|
||||
|
||||
.mock-track-by {
|
||||
margin: 0.12rem 0 0.45rem;
|
||||
font-size: 0.72rem;
|
||||
color: var(--muted);
|
||||
}
|
||||
|
||||
.mock-chat {
|
||||
display: grid;
|
||||
gap: 0.4rem;
|
||||
}
|
||||
|
||||
.mock-bubble {
|
||||
max-width: 92%;
|
||||
padding: 0.42rem 0.6rem;
|
||||
font-size: 0.75rem;
|
||||
line-height: 1.4;
|
||||
color: var(--muted);
|
||||
background: var(--surface);
|
||||
border: 1px solid var(--line);
|
||||
}
|
||||
|
||||
.mock-bubble.ask {
|
||||
margin-left: auto;
|
||||
color: var(--ink);
|
||||
border-color: rgba(255, 74, 28, 0.35);
|
||||
background: rgba(255, 74, 28, 0.1);
|
||||
}
|
||||
|
||||
.mock-search {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
padding: 0.55rem 0.7rem;
|
||||
border: 1px solid var(--line-strong);
|
||||
background: var(--bg);
|
||||
color: var(--ink-soft);
|
||||
font-size: 0.82rem;
|
||||
}
|
||||
|
||||
.mock-search-icon {
|
||||
color: var(--accent);
|
||||
font-weight: 700;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
.mock-search-meta {
|
||||
display: flex;
|
||||
gap: 0.75rem;
|
||||
margin-top: 0.65rem;
|
||||
font-size: 0.7rem;
|
||||
color: var(--muted);
|
||||
}
|
||||
|
||||
.mock-search-meta span:first-child {
|
||||
color: var(--accent-ink);
|
||||
font-weight: 650;
|
||||
}
|
||||
|
||||
.mock-jobs {
|
||||
display: grid;
|
||||
gap: 0.45rem;
|
||||
font-size: 0.76rem;
|
||||
}
|
||||
|
||||
.mock-jobs div {
|
||||
display: grid;
|
||||
grid-template-columns: 5.2rem auto auto 1fr;
|
||||
gap: 0.45rem;
|
||||
align-items: center;
|
||||
color: var(--ink-soft);
|
||||
}
|
||||
|
||||
.mock-jobs em {
|
||||
font-style: normal;
|
||||
color: var(--accent);
|
||||
}
|
||||
|
||||
.mock-jobs b {
|
||||
justify-self: end;
|
||||
font-weight: 650;
|
||||
font-size: 0.68rem;
|
||||
letter-spacing: 0.04em;
|
||||
text-transform: uppercase;
|
||||
color: var(--muted);
|
||||
}
|
||||
|
||||
.mock-stat {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: baseline;
|
||||
gap: 0.75rem;
|
||||
margin-bottom: 0.5rem;
|
||||
}
|
||||
|
||||
.mock-stat strong {
|
||||
font-family: var(--font-display);
|
||||
font-size: 1.35rem;
|
||||
font-weight: 750;
|
||||
letter-spacing: -0.03em;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
.mock-stat span {
|
||||
font-size: 0.72rem;
|
||||
color: var(--muted);
|
||||
}
|
||||
|
||||
.mock-stat-rows {
|
||||
display: grid;
|
||||
gap: 0.35rem;
|
||||
margin-top: 0.7rem;
|
||||
font-size: 0.72rem;
|
||||
color: var(--muted);
|
||||
}
|
||||
|
||||
.mock-stat-rows div {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
gap: 0.75rem;
|
||||
}
|
||||
|
||||
.mock-stat-rows div span:last-child {
|
||||
color: var(--ink-soft);
|
||||
font-weight: 650;
|
||||
}
|
||||
|
||||
.mock-notes {
|
||||
display: grid;
|
||||
}
|
||||
|
||||
.mock-notes div {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.55rem;
|
||||
padding: 0.42rem 0;
|
||||
border-bottom: 1px solid var(--line);
|
||||
font-size: 0.8rem;
|
||||
color: var(--ink-soft);
|
||||
}
|
||||
|
||||
.mock-notes div:first-child {
|
||||
color: var(--ink);
|
||||
font-weight: 650;
|
||||
}
|
||||
|
||||
.mock-notes div:last-child {
|
||||
border-bottom: 0;
|
||||
}
|
||||
|
||||
.mock-notes i {
|
||||
width: 0.4rem;
|
||||
height: 0.4rem;
|
||||
border-radius: 50%;
|
||||
background: var(--line-strong);
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.mock-notes div:first-child i {
|
||||
background: var(--accent);
|
||||
box-shadow: 0 0 8px var(--glow);
|
||||
}
|
||||
|
||||
.mock-photos {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, 1fr);
|
||||
gap: 0.35rem;
|
||||
}
|
||||
|
||||
.mock-photos i {
|
||||
display: block;
|
||||
aspect-ratio: 3 / 2;
|
||||
border-radius: 2px;
|
||||
background: linear-gradient(160deg, var(--line-strong), var(--glow-cool));
|
||||
}
|
||||
|
||||
.mock-photos i:nth-child(2),
|
||||
.mock-photos i:nth-child(6) {
|
||||
background: linear-gradient(200deg, rgba(255, 74, 28, 0.55), #1a140f);
|
||||
}
|
||||
|
||||
.mock-photos i:nth-child(3),
|
||||
.mock-photos i:nth-child(4) {
|
||||
background: linear-gradient(145deg, #3d5a80, #121820);
|
||||
}
|
||||
|
||||
.tag {
|
||||
display: inline-block;
|
||||
margin-bottom: 0.5rem;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue