Update website for the unified document graph release

Closes #1394
This commit is contained in:
Keavon Chambers
2023-12-14 05:01:54 -08:00
parent d5b161e7d1
commit 4d9e76063d
17 changed files with 296 additions and 263 deletions
+31 -8
View File
@@ -1,3 +1,14 @@
.section h2 .status-flag {
white-space: nowrap;
background: var(--color-flamingo);
color: white;
font-size: 0.4em;
padding: 0.2em 0.4em;
padding-top: 0.1em;
position: relative;
top: -0.2em;
}
#roadmap {
width: 100%;
text-align: center;
@@ -42,28 +53,36 @@
left: calc((24px - 4px) / -2);
width: 24px;
height: 24px;
border-radius: 50%;
border-radius: 24px;
}
&:not(.complete, .ongoing)::after {
background: white;
border: 4px solid #ddd;
width: 16px;
height: 16px;
&[data-year]::after {
content: attr(data-year);
width: auto;
line-height: 1.4;
text-indent: 28px;
padding-right: 12px;
}
&.complete::after {
background: var(--color-seaside);
background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16" fill="%2316323f"><polygon points="6.69 14.57 0 9 1.8 6.84 6.32 10.61 13.83 1.43 16 3.2 6.69 14.57" /></svg>');
background-repeat: no-repeat;
background-position: center;
background-position: 4px center;
}
&.ongoing::after {
background: var(--color-lemon);
background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16" fill="%2316323f"><path d="m8,2c3.31,0,6,2.69,6,6s-2.69,6-6,6-6-2.69-6-6,2.69-6,6-6m0-2C3.58,0,0,3.58,0,8s3.58,8,8,8,8-3.58,8-8S12.42,0,8,0h0Zm2.83,9.41l-1.83-1.83v-2.59c0-.55-.45-1-1-1s-1,.45-1,1v3c0,.13.03.26.08.38.05.12.12.23.22.33l2.12,2.12c.2.2.45.29.71.29s.51-.1.71-.29c.39-.39.39-1.02,0-1.41Z" /></svg>');
background-repeat: no-repeat;
background-position: center;
background-position: 4px center;
}
&:not(.complete, .ongoing)::after {
background: #ddd;
background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16" fill="%23fff"><circle cx="8" cy="8" r="8" /></svg>');
background-repeat: no-repeat;
background-position: 4px center;
}
&.heading {
@@ -73,6 +92,10 @@
width: 100%;
text-align: center;
}
&[data-year] h3 {
margin-left: 2em;
}
}
}
}