forge
Clone
https://git.tahinli.com/Tahinli/forge.git
0 watching0 forksRustAGPL-3.07.1 MiB490f099Tahinli7 hours ago322 commits
| 1 | |
| 2 | |
| 3 | .wiki-page .markdown-body > :first-child { |
| 4 | margin-top: 0; |
| 5 | } |
| 6 | |
| 7 | .wiki-pages .item a { |
| 8 | font-weight: 500; |
| 9 | } |
| 10 | |
| 11 | .wiki-form textarea { |
| 12 | font-family: var(--mono); |
| 13 | min-height: 24rem; |
| 14 | } |
| 15 | |
| 16 | // A list that fills a card: the card's own padding frames it, so the first and last rows add none. |
| 17 | .card > .item-list > .item:first-child { |
| 18 | padding-top: 0; |
| 19 | } |
| 20 | |
| 21 | .card > .item-list > .item:last-child { |
| 22 | padding-bottom: 0; |
| 23 | } |
| 24 | |
| 25 | // Phones: a history row is too wide for one line, so it stacks (subject first, then hash, author |
| 26 | // and time) instead of scrolling sideways. |
| 27 | @media (max-width: 639px) { |
| 28 | .wiki-history tr { |
| 29 | display: flex; |
| 30 | flex-wrap: wrap; |
| 31 | align-items: baseline; |
| 32 | gap: 2px 12px; |
| 33 | padding: 12px 0; |
| 34 | border-bottom: 1px solid var(--border); |
| 35 | } |
| 36 | |
| 37 | .wiki-history tr:first-child { |
| 38 | padding-top: 0; |
| 39 | } |
| 40 | |
| 41 | .wiki-history tr:last-child { |
| 42 | padding-bottom: 0; |
| 43 | border-bottom: 0; |
| 44 | } |
| 45 | |
| 46 | .wiki-history td { |
| 47 | padding: 0; |
| 48 | border: 0; |
| 49 | } |
| 50 | |
| 51 | .wiki-history td:nth-child(2) { |
| 52 | order: -1; |
| 53 | flex: 1 1 100%; |
| 54 | } |
| 55 | } |
| 56 | |
| 57 | // The 404 page: a centred message inside the regular shell. |
| 58 | .not-found { |
| 59 | display: flex; |
| 60 | flex-direction: column; |
| 61 | align-items: center; |
| 62 | gap: 8px; |
| 63 | padding: 64px 0; |
| 64 | text-align: center; |
| 65 | |
| 66 | h1, |
| 67 | p { |
| 68 | margin: 0; |
| 69 | } |
| 70 | |
| 71 | .not-found-code { |
| 72 | font-size: 3rem; |
| 73 | font-weight: 700; |
| 74 | line-height: 1; |
| 75 | color: var(--muted); |
| 76 | } |
| 77 | |
| 78 | .button { |
| 79 | align-self: center; |
| 80 | margin-top: 12px; |
| 81 | } |
| 82 | } |