123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111 |
- @font-face {
- font-family: "Roboto Mono";
- src: url("../fonts/roboto-mono-medium.ttf");
- }
- :root {
- --font: "Roboto Mono";
- --background: #0f0e17;
- --foreground: #fffffe;
- --pink: #e53170;
- --red: #f25f4c;
- --orange: #ff8906;
- --branch: 1px solid #a7a9be;
- }
- html {
- font-size: 18px;
- }
- body {
- background: var(--background);
- }
- .container {
- position: absolute;
- top: 50%;
- left: 45%;
- transform: translate(-50%, -50%);
- }
- .prompt {
- font-family: var(--font);
- color: var(--foreground);
- }
- .prompt~.prompt {
- padding: 1.5rem 0 0.3125rem;
- }
- span {
- color: var(--pink);
- }
- h1 {
- display: inline;
- font-family: var(--font);
- font-size: 1rem;
- font-weight: normal;
- color: var(--red);
- }
- .tree > ul {
- margin: 0;
- padding-left: 1rem;
- }
- ul {
- list-style: none;
- padding-left: 2.5rem;
- }
- li {
- position: relative;
- }
- li::before, li::after {
- content: "";
- position: absolute;
- left: -0.75rem;
- }
- li::before {
- border-top: var(--branch);
- top: 0.75rem;
- width: 0.5rem;
- }
- li::after {
- border-left: var(--branch);
- height: 100%;
- top: 0.25rem;
- }
- li:last-child::after {
- height: 0.5rem;
- }
- a {
- font-family: var(--font);
- font-size: 1rem;
- color: var(--foreground);
- text-decoration: none;
- outline: none;
- }
- a:hover {
- color: var(--background);
- background: var(--orange);
- }
- form h1 {
- padding-left: 0.125rem;
- }
- input {
- font-family: var(--font);
- font-size: 1rem;
- color: var(--foreground);
- background-color: var(--background);
- border: none;
- }
|