my website
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

add button stuff that i partially committed last time oops

chfour 2b3096b6 e6961963

+73 -9
+2
Caddyfile
··· 6 6 7 7 root * ./src/ 8 8 9 + header /button Content-Type "image/svg+xml" 10 + 9 11 encode zstd gzip 10 12 file_server
+1
src/button
··· 1 + button2_opt.svg
+1
src/button2_opt.svg
··· 1 + <svg version="1.1" viewBox="0 0 88 31" xmlns="http://www.w3.org/2000/svg"><use stroke="#ccc" href="#a" stroke-width="1"/><path id="a" d="m32.6 7.1c5.2 3 3 30.1-11.2 24.1-8.2-3.5-22.5-13.7-20.7-16.5 1.8-3 26.8-10.8 32-7.8z" fill="#333"/><path d="m30.4 11.2c3.9 0.8 4.4 10.1 3.3 14-0.9 3.8-5.4 3.5-13.7-0.2-3.8-1.5-12.6-7.2-12.3-8.8 0.3-1.2 18.7-6.1 22.7-5z" fill="#666"/><path d="m82.1 31c1.6-5 0.8-10.5-1.7-15.6 0.4-4.2 4.4-7.2 10.7-9.4-1.3-1.9-4.1-3.2-5.1-3.8 1-0.9 2.7-2.1 5.7-3.2-13.6-1.8-46.7-9.7-56.7 1-4.3 4.6-6.4 8.2-7.1 11.2-1.7 5.5-1.6 12.3 0.2 19.7z" fill="#ccc"/><path d="m48.5-0c1.4 3.3 3.6 6.1 6.5 8.7 3 3 9 5.5 13.6-0.9 1.1-2.4 4.6-5.5 8.4-7.7zm-20.5 30.9c-1.7-7.4-1.9-14.2-0.1-19.7 0.3-1.6 1.1-3.3 2-4.9 7.3 0.3 13.4 3 18.8 8.7 3 3 5.5 9-0.9 13.6-1.1 0.5-2 1.4-3.2 2.5z" fill="#999"/><path d="m53.2 30.9c-2.4-1.1-4.3-2.4-5.5-2.4-0.9 0.6-2 1.4-3.2 2.5m33.7 0c2.3-4.7 2.3-10.4-1.2-15.7 0.8-6.5 6.2-9.6 12.5-10.9-1.7-1.7-6.9-3.5-6.9-3.5s1.7-1.7 6.9-3.5c-6.3-2.5-18.3 5.4-20.8 10.4 1.3 5 5.8 9.9 5 15.8-0.3 2.8-1.9 5.7-4.1 7.6" fill="#f2f2f2"/><path d="m40.2 22.2s-2.4-2.4 0-4.7c2.4-2.4 4.7 0 4.7 0l2.4 2.4s2.4 2.4 0 4.7c-2.4 2.4-4.7 0-4.7 0zm17.3-17.3s-2.4-2.4 0-4.7c2.4-2.4 4.7 0 4.7 0l2.4 2.4s2.4 2.4 0 4.7c-2.4 2.4-4.7 0-4.7 0zm5.8 28.2c-1.3 1.9 9.5 3.2 11.2 1.4 1.6-1.6 0.5-12.5-1.4-11.2s-8.4 7.7-9.6 9.6z" fill="#272b2b"/></svg>
+69 -9
src/index.html
··· 41 41 gap: 1em; 42 42 max-width: 30rem; 43 43 } 44 - #links > li > :first-child { 44 + #links > li > a, details > summary { 45 45 display: inline-flex; 46 46 flex-direction: column; 47 47 text-decoration: none; 48 48 color: inherit; 49 49 } 50 - #links > li > :first-child > * { width: max-content; } 51 - #links > li > :first-child > :first-child { 50 + #links > li > a > * { width: max-content; } 51 + :is(#links > li > a, details > summary) > :first-child { 52 52 font-weight: bold; 53 53 color: var(--color-link); 54 54 } 55 - #links > li > :first-child > :nth-child(2) { 55 + :is(#links > li > a, details > summary) > :nth-child(2) { 56 56 font-size: 0.8em; 57 57 } 58 + details { 59 + margin-block: 1rem; 60 + } 61 + details > summary { 62 + cursor: pointer; 63 + } 64 + details > summary > :first-child { 65 + display: list-item; 66 + list-style-type: disclosure-closed; 67 + } 68 + details[open] > summary > :first-child { 69 + list-style-type: disclosure-open; 70 + } 71 + details > :nth-child(2) { 72 + margin-top: 1rem; 73 + } 74 + .button > img { 75 + image-rendering: pixelated; 76 + } 77 + .button { 78 + transition: 0.1s cubic-bezier(0,1,0,1) transform; 79 + } 80 + .button:active { 81 + transform: translateY(0.2rem); 82 + } 83 + .buttons { 84 + display: flex; 85 + flex-wrap: wrap; 86 + gap: 0.2rem; 87 + max-width: 30rem; 88 + margin-block: 1rem; 89 + } 90 + .button.placeholder { 91 + width: 88px; height: 31px; 92 + display: block; 93 + border: 2px dashed #aaa; 94 + box-sizing: border-box; 95 + } 58 96 </style> 59 97 60 98 <link rel="me" href="https://wetdry.world/@chfour"> <!-- old fedi acc --> ··· 72 110 <li>very amateur photography</li> 73 111 </ul> 74 112 75 - <p>high ambitions, low energy, hoarder of junk</p> 76 113 <p>exceptionally uncreative</p> 77 114 <p>gender outage, (she|it)&gt;they, some flavor(s) of queer. taken &lt;3</p> 78 115 <p>&Theta;&Delta; [platinum]&nbsp;fox, furry</p> ··· 110 147 <span>"blog"</span> 111 148 <span>& rants & projects</span> 112 149 </a></li> 113 - <li><details> 114 - <summary>buttons</summary> 115 - <img src="button" width="88" height="31" alt="chfour"> 116 - </details></li> 117 150 </ul> 151 + <details> 152 + <summary> 153 + <span>buttons</span> 154 + <span>little link rectangles</span> 155 + </summary> 156 + 157 + <span class="buttons" style="gap: 1rem; align-items: center;"> 158 + <a href="#" class="button" id="mybutton"><img src="button" width="88" height="31" alt="chfour"></a> 159 + <span>&larr;</span> 160 + <span> 161 + me! click to copy<noscript><strong> (requires javascript lol)</strong></noscript> 162 + <br><span style="font-size: 0.8em;">hotlinking ok, or do whatever really lol</span> 163 + </span> 164 + </span> 165 + <span class="buttons"> 166 + <span class="button placeholder"></span> 167 + <span class="button placeholder"></span> 168 + <span class="button placeholder"></span> 169 + <span class="button placeholder"></span> 170 + <span class="button placeholder"></span> 171 + <span class="button placeholder"></span> 172 + </span> 173 + </details> 118 174 </main> 119 175 <footer> 120 176 <a id="src" href="https://tangled.org/eeep.ee/website3" aria-label="website source" title="website source"> ··· 122 178 </a> 123 179 </footer> 124 180 <script> 181 + document.querySelector('#mybutton').addEventListener('click', (ev) => { 182 + navigator.clipboard.writeText('<img src="https:/eeep.ee/button" width="88" height="31">'); 183 + ev.preventDefault(); 184 + }); 125 185 const timenow = document.getElementById("timenow"); 126 186 const formatter = new Intl.DateTimeFormat("pl-PL", {timeZone: "Europe/Warsaw", timeStyle: "short"}); 127 187 // won't be *totally perfectly exact*