Skip to content

Commit

Permalink
updated bookmarks
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabriel-Kahen committed Nov 1, 2024
1 parent eade0ba commit 1843cb2
Show file tree
Hide file tree
Showing 7 changed files with 24 additions and 14 deletions.
Binary file added .DS_Store
Binary file not shown.
Binary file added icons/chromakopia.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added icons/easyvga.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed icons/wiki.png
Binary file not shown.
12 changes: 8 additions & 4 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -64,14 +64,18 @@
<img src = "icons/twitter.png" class = "bookmarkImg" id = "twitterImg" alt = "Gabe Kahen">
&nbsp&nbspTwitter
</button>
<button class = "bookmark" id = "chromakopia" onclick = "openChromakopia()">
<img src = "icons/chromakopia.png" class = "bookmarkImg" id = "chromakopiaImg" alt = "Gabe Kahen">
&nbsp&nbspChromakopiafont
</button>
<button class = "bookmark" id = "easyvga" onclick = "openEasyVGA()">
<img src = "icons/easyvga.png" class = "bookmarkImg" id = "easyvgaImg" alt = "Gabe Kahen">
&nbsp&nbspEasyVGA
</button>
<button class = "bookmark" id = "monkeyarchive" onclick = "openMonkeyarchive()">
<img src = "icons/monkeyarchive.png" class = "bookmarkImg" id = "monkeyarchiveImg" alt = "Gabriel Kahen">
&nbsp&nbspmonkeyarchive
</button>
<button class = "bookmark" id = "wikirace" onclick = "openWikirace()">
<img src = "icons/wiki.png" class = "bookmarkImg" id = "wikiraceImg" alt = "Gabe Kahen">
&nbsp&nbspwikirace
</button>
</div>
<hr>
<div id = "body">
Expand Down
18 changes: 12 additions & 6 deletions script.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,10 @@ document.querySelectorAll('.bookmark').forEach(element => {
element.style.bottom = screenHeight * .005 + "px";

twitter.style.left = imgWidth * .003 * (8/3) + "px";
wikirace.style.left = imgWidth * .033 * (8/3) + "px";
monkeyarchive.style.left = imgWidth * .067 * (8/3) + "px";
chromakopia.style.left = imgWidth * .033 * (8/3) + "px";
easyvga.style.left = imgWidth * .0875 * (8/3) + "px";
monkeyarchive.style.left = imgWidth * .1245 * (8/3) + "px";


});

Expand Down Expand Up @@ -209,14 +211,18 @@ function openTwitter(){
window.open("https://twitter.com/gabekahen_");
}

function openWikirace(){
window.open("https://gabriel-kahen.github.io/wikirace-prompt-generator/");
}

function openMonkeyarchive(){
window.open("http://monkeyarchive.com");
}

function openChromakopia(){
window.open("https://chromakopiafont.com");
}

function openEasyVGA(){
window.open("https://github.com/Gabriel-Kahen/EasyVGA");
}

/* tooltips */

const tooltipButtons = document.querySelectorAll('.hasTooltip');
Expand Down
8 changes: 4 additions & 4 deletions styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -179,12 +179,12 @@ input {
width: 80px;
}

#monkeyarchive {
width: 131px;
#chromakopia {
width: 140px;
}

#wikirace {
width: 87px;
#monkeyarchive {
width: 131px;
}

hr {
Expand Down

0 comments on commit 1843cb2

Please sign in to comment.