--- --- :root { color-scheme: light dark; } body { text-align: center; font-family: -apple-system, ui-sans-serif, system-ui, Arial, Helvetica, sans-serif; color: #333; margin: 40px 0; } a { text-decoration: none; color: hsl(210, 90%, 45%); &:hover { text-decoration: underline; } } header { margin-top: 70px; margin-bottom: 40px; h1 { font-size: 28pt; font-weight: 500; margin-bottom: 15px; a { color: #333; } } h2 { font-size: 12pt; font-weight: 500; } } nav { margin-bottom: 40px; a { margin-left: 2px; margin-right: 2px; } } .nav-separator { width: 80px; border-top: 1px solid #aaa; margin: 0px auto 30px; } .tags { line-height: 200%; margin: 10px auto 40px; max-width: 720px; span { font-size: 10pt; background-color: #d9efff; border: 1px solid #bde2fe; border-radius: 5px; padding: 1px 5px; margin-right: 8px; } } #tag_cloud { span { cursor: pointer; user-select: none; -webkit-user-select: none; &:hover { background-color: hsl(205, 75%, 82%); }; &.selected { background-color: hsl(210, 90%, 55%); border-color: hsl(210, 90%, 50%); color: white; border-width: 2px; margin-right: 7px; margin-left: -1px; } } } .language { margin-bottom: 60px; h2 { display: inline-block; border: 1px solid #aaa; padding: 8px 15px; border-radius: 8px; min-width: 100px; font-size: 16pt; font-weight: 500; box-shadow: 0 0 2px rgba(0,0,0,0.2); } } .projects { list-style-type: none; padding-left: 0; width: 525px; margin: 10px auto; li { border: 1px solid #ccc; border-radius: 8px; margin: 20px 0px; padding: 2px 16px; line-height: 125%; text-align: left; &.official { border-color: hsl(210, 90%, 45%); box-shadow: 0 0 2px hsla(210, 90%, 45%, 40%); background-color: hsla(210, 90%, 45%, 3%); } .title { position: relative; padding-right: 35px; } .project-name { font-size: 14pt; font-weight: 500; margin-right: 2px; } .author { font-size: 11pt; vertical-align: bottom; } .author a { color: #333; } .author .dot { margin-right: 2px; } .butterfly { margin-left: 4px; } .stars { position: absolute; right: 0px; font-size: 10pt; color: #666; } .stars .count { font-size: 11pt; } .description { line-height: 145%; font-size: 11pt; } .tags { margin: -3px 0; line-height: 160%; span { margin-right: 3px; } } .stats { margin-top: 18px; font-size: 11pt; border-top: 1px solid #ddd; padding-top: 15px; } .stats img { position: relative; top: 2px; margin-right: 2px; } .stats .separator { margin: 0px 5px; font-size: 13pt; } .license { border: 1px solid #bbb; border-radius: 5px; padding: 1px 5px; font-size: 10pt; white-space: nowrap; } .license.unknown { border-color: #fa4; } } } footer { font-size: 10pt; margin: 70px 0 40px; } #tangled { position: fixed; top: 15px; right: 15px; z-index: 10; img { width: 24px; opacity: 0.5; } a:hover img { opacity: 0.8; } } @media (prefers-color-scheme: dark) { body { background-color: #0d1117; color: #ccc; } header { h1 a { color: #ddd; } } .language { h2 { border-color: #666; background-color: rgba(255, 255, 255, 0.05); } } .tags span { background-color: #073659; border-color: #1c5179; color: #77aad1; } #tag_cloud span:hover { background-color: hsl(205, 75%, 32%); border-color: hsl(205, 63%, 44%); color: hsl(205, 50%, 80%); } #tag_cloud span.selected { background-color: hsl(210, 95%, 60%); border-color: hsl(210, 80%, 50%); color: hsl(210, 95%, 5%); } .projects li { border-color: #666; background-color: rgba(255, 255, 255, 0.02); &.official { border-color: hsl(210, 80%, 40%); background-color: hsla(210, 90%, 45%, 10%); } .author a { color: #888; } .stars { color: #888; } .stats { border-top-color: #444; } .separator { color: #666; } .license { border-color: #666; } .license.unknown { border-color: #a62; } .stats img { filter: invert(1); opacity: 0.5; } } #tangled { img { filter: invert(1); opacity: 0.5; } a:hover img { opacity: 0.75; } } }