dymokomi/luce-pkg-server
Source of release 0.6.0
0.6.0 / deploy / site-assets / packages.css
/* The only styles the package site adds to the shared Luce stylesheets. */
article .find { margin: 1.5rem 0 .5rem; }
article .find input { width: 100%; max-width: 34rem; padding: .6rem .8rem; font-size: 1.05rem; }
p.count { margin: 0 0 1.5rem; color: var(--ink-soft); }
.card[hidden] { display: none; }
/* README fragments are plain HTML without the site's wrappers. */
#readme ~ h1 { font-size: 1.5rem; margin-top: 2rem; }
#readme ~ pre {
margin: 1rem 0;
padding: .8rem 1rem;
overflow-x: auto;
background: var(--paper-raised);
border: 1px solid var(--line-strong);
}
#readme ~ pre code { padding: 0; background: none; }
#readme ~ table { display: block; overflow-x: auto; }
/* Releases and their notes. */
p.release { margin: .25rem 0; color: var(--ink-soft); }
pre.notes {
margin: .75rem 0 1.5rem;
padding: .7rem 1rem;
white-space: pre-wrap;
border-left: 3px solid var(--accent);
background: var(--paper-soft);
}
/* Source browser. */
p.crumbs { margin: 1rem 0; }
table.tree td:last-child, table.tree th:last-child { text-align: right; width: 7rem; }
pre.source {
margin: 1rem 0;
padding: .8rem 0;
overflow-x: auto;
counter-reset: line;
background: var(--paper-raised);
border: 1px solid var(--line-strong);
}
pre.source code { padding: 0; background: none; }
pre.source .d { color: var(--tok-decl); }
pre.source .l { display: inline-block; min-width: 100%; padding-right: 1rem; }
pre.source .l::before {
counter-increment: line;
content: counter(line);
display: inline-block;
width: 3.5rem;
margin-right: 1rem;
padding-right: .6rem;
text-align: right;
color: var(--ink-faint);
border-right: 1px solid var(--line-soft);
user-select: none;
}
pre.source .l:target { background: var(--accent-soft); }
/* Applications and libraries are separate sections of the front page. */
section.kind { margin-top: 2.5rem; }
section.kind + p, #no-results + p { margin-top: 2.5rem; }
section.kind[hidden] { display: none; }
p.kind-note { margin: .5rem 0 1rem; color: var(--ink-soft); }
#applications .card { border-left: 3px solid var(--accent); padding-left: .9rem; }
#tools .card { border-left: 3px solid var(--line-strong); padding-left: .9rem; }
#no-results { color: var(--ink-soft); }