:3 website komo.is-a.dev
at main 120 lines 1.9 kB view raw
1@import url("https://www.nerdfonts.com/assets/css/webfont.css"); 2@import url("https://fonts.googleapis.com/css2?family=Ubuntu+Mono:ital,wght@0,400;0,700;1,400;1,700&display=swap"); 3 4@font-face { 5 font-family: "Departure Mono"; 6 src: url("/assets/departure-mono.woff2"); 7} 8 9.ubuntu-mono-regular { 10 font-family: "Ubuntu Mono", monospace; 11 font-weight: 400; 12 font-style: normal; 13} 14 15.departure-mono { 16 font-family: "Departure Mono", monospace; 17 font-weight: 400; 18 font-style: normal; 19} 20 21.nixos-nf { 22 color: #7ab1db; 23} 24 25.android-nf { 26 color: #6ba473; 27} 28 29.nf-icon { 30 font-size: 1.25em; 31} 32 33:root { 34 --bg-color: #10171f; 35 --primary-fg: #b4d2f0; 36 --border-color: #292e33; 37 --text-fg: #e5f0ff; 38 39 font-synthesis: none; 40 text-rendering: optimizeLegibility; 41 -webkit-font-smoothing: antialiased; 42 -moz-osx-font-smoothing: grayscale; 43} 44 45body { 46 background-color: var(--bg-color); 47} 48 49@media (min-width: 768px) { 50 body .page { 51 max-width: 80%; 52 margin-inline: auto; 53 } 54} 55 56h1, h2, h3, h4, h5, h6 { 57 color: var(--primary-fg); 58 font-family: "Departure Mono"; 59} 60 61sub, p, a, .text { 62 color: var(--text-fg); 63 font-family: "Ubuntu Mono", monospace; 64} 65 66.header { 67 margin-bottom: 0px; 68} 69 70@media all and (max-width: 480px) { 71 .header { 72 font-size: 1.5rem; 73 } 74} 75 76.subheader { 77 text-align: center; 78} 79 80.content { 81 display: grid; 82 grid-template-columns: repeat(4, 1fr); 83 justify-items: center; 84 row-gap: 1rex; 85 width: 100%; 86} 87 88@media all and (max-width: 480px) { 89 .content { 90 grid-template-columns: 1fr; 91 } 92} 93 94@media all and (width > 480px) { 95 .content > div { 96 grid-column: span 2; 97 } 98 .content > div:last-child:nth-child(2n + 1) { 99 grid-column: 2 / span 2; 100 } 101} 102 103.simple-a { 104 text-decoration: none; 105 color: inherit; 106} 107 108.link-a a, a.link-a { 109 text-decoration-line: underline; 110 font-weight: 550; 111} 112 113:is(#social, #posts) p { 114 text-align: center; 115 line-height: 175%; 116} 117 118#posts rss-feed { 119 color: var(--text-fg); 120}