This commit is contained in:
2026-05-23 17:17:56 -07:00
commit 448f2e33ef
135 changed files with 11817 additions and 0 deletions
@@ -0,0 +1,74 @@
div.view-animation {
display: grid;
gap: 16px;
}
div.view-animation div.preview {
cursor: zoom-in;
box-sizing: border-box;
border: var(--border-thickness) solid var(--background-primary);
background-color: var(--background-tertiary);
aspect-ratio: 16 / 9;
width: 100%;
height: 100%;
object-fit: contain;
}
div.view-animation div.preview div.media-canvas {
width: 100%;
height: 100%;
}
div.view-animation div.metadata p.header {
margin-bottom: 8px;
font-size: large;
}
div.view-animation div.metadata p.subheader {
color: var(--font-color-secondary);
font-size: small;
}
div.view-animation div.tags {
display: flex;
flex-wrap: wrap;
gap: 8px;
}
div.view-animation div.tags a.item {
display: flex;
gap: 8px;
background-color: var(--background-tertiary);
padding: 8px;
width: fit-content;
text-decoration: none;
}
div.view-animation div.tags a.item:hover,
div.view-animation div.tags a.item:focus-visible {
cursor: pointer;
text-decoration: underline;
}
div.view-animation div.tags a.item span.usage {
color: var(--font-color-secondary);
text-decoration: none;
}
/* Fullscreen Preview */
div.view-lightbox {
display: flex;
position: fixed;
justify-content: center;
align-items: center;
z-index: 999;
cursor: zoom-out;
inset: 0;
background: rgba(0, 0, 0, 0.5);
}
div.view-lightbox div.media-canvas {
max-width: 90vw;
max-height: 90vh;
overflow: hidden;
}
@@ -0,0 +1,4 @@
div.view-settings {
display: grid;
gap: 8px;
}
@@ -0,0 +1,103 @@
/* View Layout */
article.view-document a {
display: inline-block;
}
/* Document Layout */
div.document-section {
display: grid;
gap: 16px;
box-sizing: border-box;
padding: 8px 0;
}
/* removes the ugly looking padding between the header and first element */
div.document-section:first-child {
padding-top: 0;
}
div.document-section:last-child {
padding-bottom: 0;
}
div.document-spacer {
margin: 8px 0;
border-bottom: var(--border-thickness) dashed var(--background-secondary);
}
div.document-divider {
position: relative;
margin: 16px 0;
background-color: var(--background-primary);
width: 100%;
height: 2px;
}
div.document-divider::before {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
clip-path: polygon(
100% 25%,
62.5% 25%,
50% 0%,
37.5% 25%,
0% 25%,
25% 50%,
0% 100%,
50% 75%,
100% 100%,
75% 50%,
100% 25%
);
background-color: var(--background-highlight);
width: 16px;
height: 16px;
content: '';
}
/* Document Elements */
div.document-section p,
div.document-section pre {
line-height: 1.5em;
}
p.document-item::before {
margin-right: 16px;
margin-left: 8px;
content: '◆';
}
p.document-header {
font-size: x-large;
}
p.document-subheader {
font-size: large;
}
p.document-paragraph code {
display: inline-block;
box-sizing: border-box;
background-color: var(--background-translucent);
padding: 4px;
color: var(--font-color-accent);
font-size: small;
}
pre.document-codeblock {
box-sizing: border-box;
background-color: var(--background-translucent);
/* weird chin on the pre elements this padding here negates it */
padding: 12px;
padding-bottom: 0;
overflow-x: scroll;
overflow-y: scroll;
color: var(--font-color-accent);
font-size: small;
}
@@ -0,0 +1,4 @@
div.view-upload {
display: grid;
gap: 8px;
}