this repo has no description
0
fork

Configure Feed

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

Add temp styles to tables to get a feel for it

+26 -4
+5 -2
posts/full-test.md
··· 53 53 54 54 <!-- style --> 55 55 56 - | this | is | 57 - | ---- | ----- | 56 + | this | is | 57 + | ---- | :---: | 58 + | a | table | 59 + | a | table | 60 + | a | table | 58 61 | a | table | 59 62 60 63 ### Blockquotes
+21 -2
src/pages/blog/[id].astro
··· 24 24 25 25 if (!post.filePath) throw new Error("Post does not have a filepath"); 26 26 return import(`../../content/posts/${parse(post.filePath).name}.mdx`).then( 27 - (x) => x.Content, 27 + (x) => x.Content 28 28 ); 29 29 })(); 30 30 --- ··· 51 51 const els = document.querySelectorAll("main[data-colour-scheme-nojs]"); 52 52 if (els.length !== 1) 53 53 throw new Error( 54 - "No `main[data-colour-scheme-nojs]`` found, or multiple found", 54 + "No `main[data-colour-scheme-nojs]`` found, or multiple found" 55 55 ); 56 56 const el = els[0]; 57 57 if (!(el instanceof HTMLElement)) throw new Error("Not HTML Element!"); ··· 218 218 219 219 &[data-img-flag--centre="true"] { 220 220 margin-inline: auto; 221 + } 222 + } 223 + 224 + table { 225 + border-collapse: collapse; 226 + border-spacing: 0; 227 + 228 + & th, 229 + & td { 230 + border: .1rem solid white; 231 + padding: .5rem; 232 + } 233 + 234 + & thead th { 235 + background-color: rgb(145, 53, 68); 236 + } 237 + 238 + & tbody tr:nth-child(2n) { 239 + background-color: #ffffff10; 221 240 } 222 241 } 223 242 </style>