generated from nhcarrigan/template
0b5b4eadb9
### Explanation _No response_ ### Issue _No response_ ### Attestations - [ ] I have read and agree to the [Code of Conduct](https://docs.nhcarrigan.com/community/coc/) - [ ] I have read and agree to the [Community Guidelines](https://docs.nhcarrigan.com/community/guide/). - [ ] My contribution complies with the [Contributor Covenant](https://docs.nhcarrigan.com/dev/covenant/). ### Dependencies - [ ] I have pinned the dependencies to a specific patch version. ### Style - [ ] I have run the linter and resolved any errors. - [ ] My pull request uses an appropriate title, matching the conventional commit standards. - [ ] My scope of feat/fix/chore/etc. correctly matches the nature of changes in my pull request. ### Tests - [ ] My contribution adds new code, and I have added tests to cover it. - [ ] My contribution modifies existing code, and I have updated the tests to reflect these changes. - [ ] All new and existing tests pass locally with my changes. - [ ] Code coverage remains at or above the configured threshold. ### Documentation _No response_ ### Versioning _No response_ Reviewed-on: #1 Co-authored-by: Naomi Carrigan <commits@nhcarrigan.com> Co-committed-by: Naomi Carrigan <commits@nhcarrigan.com>
61 lines
870 B
CSS
61 lines
870 B
CSS
pre {
|
|
background-color: var(--color-secondary);
|
|
color: var(--color-accent);
|
|
border: 2px dashed var(--color-accent);
|
|
}
|
|
|
|
.typing-container {
|
|
display: block;
|
|
}
|
|
|
|
.typing-line {
|
|
display: block;
|
|
overflow: hidden;
|
|
white-space: pre;
|
|
width: 0;
|
|
animation: typing-line 0.8s steps(30, end) forwards;
|
|
}
|
|
|
|
.line-1 {
|
|
animation-delay: 0s;
|
|
}
|
|
|
|
.line-2 {
|
|
animation-delay: 0.8s;
|
|
}
|
|
|
|
.line-3 {
|
|
animation-delay: 1.6s;
|
|
}
|
|
|
|
.line-4 {
|
|
animation-delay: 2.4s;
|
|
}
|
|
|
|
.line-5 {
|
|
animation-delay: 3.2s;
|
|
}
|
|
|
|
.typing-cursor {
|
|
display: inline-block;
|
|
margin-left: 2px;
|
|
animation: blink 1s infinite;
|
|
animation-delay: 4s;
|
|
opacity: 0;
|
|
animation-fill-mode: forwards;
|
|
}
|
|
|
|
@keyframes typing-line {
|
|
to {
|
|
width: 100%;
|
|
}
|
|
}
|
|
|
|
@keyframes blink {
|
|
0%, 50% {
|
|
opacity: 1;
|
|
}
|
|
51%, 100% {
|
|
opacity: 0;
|
|
}
|
|
} |