buttons and rat images

This commit is contained in:
Penelope Gwen 2025-05-08 22:16:47 -07:00
parent bce43b6275
commit 1c74d778cc
81 changed files with 46 additions and 12 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 980 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 973 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 560 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 504 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 998 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 349 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 402 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 904 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 487 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1,000 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 780 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1,012 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

BIN
assets/img/rattos/11.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 728 KiB

BIN
assets/img/rattos/12.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 627 KiB

BIN
assets/img/rattos/13.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 MiB

BIN
assets/img/rattos/14.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 433 KiB

BIN
assets/img/rattos/15.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 483 KiB

BIN
assets/img/rattos/16.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 703 KiB

BIN
assets/img/rattos/17.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 622 KiB

BIN
assets/img/rattos/18.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 572 KiB

BIN
assets/img/rattos/19.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 616 KiB

BIN
assets/img/rattos/2.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 840 KiB

BIN
assets/img/rattos/20.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 597 KiB

BIN
assets/img/rattos/21.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 680 KiB

BIN
assets/img/rattos/22.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 779 KiB

BIN
assets/img/rattos/23.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 702 KiB

BIN
assets/img/rattos/24.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 MiB

BIN
assets/img/rattos/25.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 545 KiB

BIN
assets/img/rattos/26.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 492 KiB

BIN
assets/img/rattos/27.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 514 KiB

BIN
assets/img/rattos/28.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 653 KiB

View file

Before

Width:  |  Height:  |  Size: 855 KiB

After

Width:  |  Height:  |  Size: 855 KiB

BIN
assets/img/rattos/31.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 495 KiB

BIN
assets/img/rattos/37.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 788 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 809 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 725 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 446 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 855 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 459 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 527 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 560 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 544 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 522 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 531 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 621 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 751 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 428 KiB

View file

@ -14,14 +14,14 @@
<div class="pagelayout">
<div class="pinkborder sidebar">
<div>
<img class="sidebar-image" alt="seven rats on two foot by two foot section of leather couch, walled in together by cardboard barricades on the left and right. Five rats are cuddling in back-right corner. One rat is laying toward the front-left corner, staring outward away from couch. One Rat is standing upright at front-right corner, feet facing the back of couch with torso turned to look outward from couch." src="/assets/img/rattos/test.webp"></img>
<img id="rattos-image" class="sidebar-image" alt="seven rats on two foot by two foot section of leather couch, walled in together by cardboard barricades on the left and right. Five rats are cuddling in back-right corner. One rat is laying toward the front-left corner, staring outward away from couch. One Rat is standing upright at front-right corner, feet facing the back of couch with torso turned to look outward from couch." src="/assets/img/rattos/mischief_of_rats_hanging_out_on_couch.webp"></img>
<script src="/style/js/rattos.js"></script>
<p class="sidebar-caption">Please enjoy a picture of my sons :)</p>
<a href="https://git.pogmom.me/pogmommy/pogmomme/src/branch/main/assets/img/webring/pogmommy/">
<img title="Want to link back here? Feel free to use one of my buttons! (click to view folder)" class="sidebar-webring" alt="Pogmommy website icon" src="/assets/img/webring/pogmommy/1056x372.webp"></img>
</a>
<!-- <div id='random-button'>
<img class="sidebar-webring" alt="Pogmommy website icon" src="/assets/img/webring/pogmommy/1056x372.webp"></img>
</div>-->
<div id='random-buttons'>
</div>
</div>
<div id="nowplaying-placeholder"></div>
<hr>
@ -32,14 +32,6 @@
<hr>
<h3 class="sidebar-caption">Webrings</h3>
<div class="webrings">
<div class="sidebar-webring">
<script src="https://transring.neocities.org/ring.js"></script>
</div>
<link rel="stylesheet" href="https://teethinvitro.neocities.org/webring/linuxring/script/onionring.css">
<div class="sidebar-webring" id='linuxring'>
<script type="text/javascript" src="https://teethinvitro.neocities.org/webring/linuxring/script/onionring-variables.js"></script>
<script type="text/javascript" src="https://teethinvitro.neocities.org/webring/linuxring/script/onionring-widget.js"></script>
</div>
<div class="sidebar-webring pinkborder">
<a href="https://baccyflap.com/noai" target="_blank">No AI webring</a><br>
<a href="https://baccyflap.com/noai/?prv&s=mom" target="_top" title="previous">«</a>
@ -62,6 +54,14 @@
<script src="https://jeith.com/assets/webring/wii-ring.js"></script>
<wii-ring site="https://pogmom.me" variant="family-edition-blue"></wii-ring>
</div>
<div class="sidebar-webring">
<script src="https://transring.neocities.org/ring.js"></script>
</div>
<link rel="stylesheet" href="https://teethinvitro.neocities.org/webring/linuxring/script/onionring.css">
<div class="sidebar-webring" id='linuxring'>
<script type="text/javascript" src="https://teethinvitro.neocities.org/webring/linuxring/script/onionring-variables.js"></script>
<script type="text/javascript" src="https://teethinvitro.neocities.org/webring/linuxring/script/onionring-widget.js"></script>
</div>
</div>
<hr>
<a class="mastodon-feed" href="https://masto.pogmom.me/@pogmommy" data-toot-limit="3" data-toot-account-id="110533482420174821" data-exclude-replies="true" data-exclude-reblogs="true"><p id="emfed-placeholder" class="sidebar-caption">Enable javascript to load mastodon posts</p></a>
@ -110,5 +110,6 @@
</div>
<!-- <div id="footer"><p>Click <a href="https://pogmom.me/links.html">here</a> or enable javascript to view my social links</p></div>
<script src="/style/js/views.js"></script>-->
<script src="/style/js/buttons.js"></script>
</body>
</html>

View file

@ -44,6 +44,13 @@ body {
.sidebar-caption {
text-align: center;
}
#random-buttons > img {
width: 25%;
margin: 1vmax auto;
display: block;
border-radius: 4px;
text-align: center;
}
p.sidebar-caption,h3.sidebar-caption {
margin: 1vmax auto;
}

15
style/js/buttons.js Normal file
View file

@ -0,0 +1,15 @@
var imgArray = ['anarchy_now','gender_crime','linux_now','maintained_by_a_queer_folk','pastel_goth','powered_by_debian','sex_no','this_machine_kills_fascists','trans','trans_gender','trans_rights_now','trans_your_gender','web_interoperability_pledge'];
var basePath="/assets/img/buttons/";
var fileFormat=".webp";
function imgRandom() {
for (var i = 0; i < 3; i++) {
var rand = imgArray[Math.floor(Math.random() * imgArray.length)];
var image = new Image();
image.src = basePath+rand+fileFormat;
image.alt = rand.replaceAll('_',' ');
document.getElementById('random-buttons').appendChild(image);
}
}
imgRandom();

11
style/js/rattos.js Normal file
View file

@ -0,0 +1,11 @@
var imgArray = ['four_rats_piled_in_hammock', 'sleeping_rat_wrapped_in_blanket', 'black_and_white_rat_curled_up_in_blue_hammock', 'rat_in_cat_tree_looking_at_camera', 'three_rats_in_a_tube_hammock', 'black_and_white_rat_curled_up_in_blue_hammock_2', 'rat_in_plush_cave', 'three_sleeping_rats_cuddling_on_couch', 'black_and_white_rat_curled_up_in_blue_hammock_3', 'rat_sitting_on_bed_eating_tiny_pancake', 'two_rats_in_hammock_one_yawning', 'black_and_white_rat_in_blue_hammock', 'rat_standing_at_foot_of_bed', 'two_rats_in_hollowed_out_pillow_cuddling', 'mischief_of_rats_hanging_out_on_couch', 'rat_standing_poking_head_through_steps_of_cat_tree', 'two_rats_inside_cat_tree_dramatically_wrestling', 'fat_rat_walking_around', 'rats_in_hammock_grabbing_cage_bars'];
var basePath="/assets/img/rattos/";
var fileFormat=".webp";
function imgRandom() {
var rand = imgArray[Math.floor(Math.random() * imgArray.length)];
document.getElementById('rattos-image').src = basePath+rand+fileFormat;
document.getElementById('rattos-image').alt = rand.replaceAll('_',' ');
}
imgRandom();