small fixes

This commit is contained in:
root 2024-10-12 11:28:40 +03:00
parent 26f6f2bc3a
commit 212d72b583
5 changed files with 19 additions and 9 deletions

View File

@ -29,6 +29,16 @@
<div class="blog" id="blog"> <div class="blog" id="blog">
<!-- hey it works so who's to blame --> <!-- hey it works so who's to blame -->
<b class= "blog-post-spacer"> <b class= "blog-post-spacer">
<a href="https://en.wikipedia.org/wiki/Neko_(software)">
<article class="blog-post">
<h4>oneko.js and neko</h4>
<p>
the cute little cat spread across computers and the internet since 1989
</p>
</article>
</a>
</b>
<b class= "blog-post-spacer">
<a href="https://www.esquireme.com/style/52348-the-10-best-fits-of-recently-single-style-icon-bill-gates"> <a href="https://www.esquireme.com/style/52348-the-10-best-fits-of-recently-single-style-icon-bill-gates">
<article class="blog-post"> <article class="blog-post">
<h4>Did you know Bill Gates was hot!!! And single???</h4> <h4>Did you know Bill Gates was hot!!! And single???</h4>

BIN
gems/oneko.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

View File

@ -49,7 +49,6 @@
<div class="blog" id="blog"> <div class="blog" id="blog">
<h2>Latest Blog Posts</h2> <h2>Latest Blog Posts</h2>
<!-- hey it works so who's to blame --> <!-- hey it works so who's to blame -->
<b class= "blog-post-spacer">
<a href="gems/kakoune"> <a href="gems/kakoune">
<article class="blog-post"> <article class="blog-post">
<h3>Kakoune is the Best</h3> <h3>Kakoune is the Best</h3>
@ -57,11 +56,14 @@
a simple text editor</p> a simple text editor</p>
</article> </article>
</a> </a>
</b> <a href="/gems">
<a>
<article class="blog-post"> <article class="blog-post">
<h3>Summer 2024 reading list</h3> <h3>gems from the internet</h3>
<p>Upcoming post...</p> <p>
these is a whole world of beauty underneath the
advertisment fueled capitalist machine, here are
some i have found and would like to share.
</p>
</article> </article>
</a> </a>
</div> </div>

View File

@ -96,7 +96,7 @@
nekoEl.style.top = `${nekoPosY - 16}px`; nekoEl.style.top = `${nekoPosY - 16}px`;
nekoEl.style.zIndex = 2147483647; nekoEl.style.zIndex = 2147483647;
let nekoFile = "./oneko.gif" let nekoFile = "/oneko.gif"
const curScript = document.currentScript const curScript = document.currentScript
if (curScript && curScript.dataset.cat) { if (curScript && curScript.dataset.cat) {
nekoFile = curScript.dataset.cat nekoFile = curScript.dataset.cat

View File

@ -137,7 +137,6 @@ gap: 20px;
padding-bottom: 5px; padding-bottom: 5px;
padding-top: 5px; padding-top: 5px;
} }
.blog-post-spacer { padding: 3px; }
.blog-post p, .gallery p { .blog-post p, .gallery p {
color: #FFF; color: #FFF;
padding: 3px; padding: 3px;
@ -145,8 +144,7 @@ gap: 20px;
.blog a { .blog a {
text-decoration: none; text-decoration: none;
margin-top: 10px; margin-top: 25px;
margin-bottom: 10px;
background-color: rgba(34, 34, 34, 0.85); background-color: rgba(34, 34, 34, 0.85);
color: inherit; /* Inherit the text color from the parent */ color: inherit; /* Inherit the text color from the parent */
display: block; /* Make the anchor tag take up the full space */ display: block; /* Make the anchor tag take up the full space */