1
0

move CSS to subdir

This commit is contained in:
Deven Blake 2021-04-05 14:17:38 -04:00
parent 6567edb0ea
commit f35bc435b9
17 changed files with 14 additions and 50 deletions

View File

@ -1,18 +0,0 @@
<!DOCTYPE html>
<HTML LANG="en">
<HEAD>
<LINK HREF="http://www.trinity.moe/amialive" REL="canonical" />
<LINK HREF="https://raw.githubusercontent.com/devenblake/homepage/main/favicon.ico" REL="shortcut icon" TYPE="image/x-icon" />
<LINK HREF="" ID="styling" REL="stylesheet" />
<META CHARSET="US-ASCII" />
<META NAME="viewport" CONTENT="width=device-width, initial-scale=1" />
<TITLE>is deven alive?</TITLE>
</HEAD>
<BODY>
<P><A HREF="/">~ Return to the rest of the site</A></P>
<SCRIPT SRC="/cookies.js" TYPE="application/javascript"></SCRIPT>
<SCRIPT SRC="/sheets.js" TYPE="application/javascript"></SCRIPT>
<SCRIPT TYPE="application/javascript">window.onload = window.initializesheets;</SCRIPT>
<H1>yes</H1>
</BODY>
</HTML>

View File

@ -4,7 +4,7 @@
<LINK HREF="http://www.trinity.moe/bookmarks" REL="canonical" />
<LINK HREF="https://raw.githubusercontent.com/devenblake/homepage/main/bookmarks.ico" REL="shortcut icon" TYPE="image/x-icon" />
<LINK HREF="" ID="styling" REL="stylesheet" />
<LINK HREF="/lists.css" REL="stylesheet" />
<LINK HREF="/css/lists.css" REL="stylesheet" />
<META CHARSET="UTF-8" />
<META CONTENT="width=device-width, initial-scale=1" NAME="viewport" />
<TITLE>bookmarks</TITLE>
@ -323,6 +323,7 @@ Oh well.
<LI><A HREF="https://bumper-io.com/">Bumper.io</A></LI>
<LI><A HREF="https://www.gotoquiz.com/classical_alignment_test_2">Classical Alignment Test</A></LI>
<LI><A HREF="https://www.cleverbot.com/">Cleverbot</A></LI>
<LI><A HREF="http://c64clicker.com/">Commodore Clicker</A></LI>
<LI><A HREF="https://www.coolmathgames.com/">Cool Math Games</A></LI>
<LI><A HREF="http://diep.io/">Diep.io</A></LI>
<LI><A HREF="http://continuation-labs.com/d3wasm/">Doom 3 WASM</A></LI>
@ -933,6 +934,7 @@ Oh well.
<LI><A HREF="https://github.com/parrotgeek1/LauncherHijack-OLD">LauncherHijack</A></LI>
</UL>
<LI><A HREF="http://auroraoss.com/">AuroraOSS</A></LI>
<LI><A HREF="https://k9mail.app/">K-9 Mail</A></LI>
<LI><A HREF="https://signal.org/android/apk/">Signal Android APK</A></LI>
</UL>
<LI>Coding</LI><UL>

View File

@ -4,7 +4,7 @@
<LINK rel="canonical" href="http://www.trinity.moe/now" />
<LINK rel="shortcut icon" type="image/x-icon" href="https://raw.githubusercontent.com/devenblake/homepage/main/favicon.ico" />
<LINK HREF="" ID="styling" REL="stylesheet" />
<LINK HREF="./lists.css" REL="stylesheet">
<LINK HREF="./css/lists.css" REL="stylesheet">
<H1>trinity's recommended browser extensions</H1>
<META charset="US-ASCII" />
<META name="viewport" content="width=device-width, initial-scale=1" />

View File

@ -1,6 +1,7 @@
/*
these code snippets stolen from
these code snippets copied from
https://www.w3schools.com/js/js_cookies.asp
used under fair use; for copyright see https://www.w3schools.com/about/about_copyright.asp
window.setCookie() sets a cookie, window.getCookie() gets a cookie.
*/

View File

@ -116,11 +116,11 @@ I would much rather talk to you via Signal instead of using something like Disco
<H4>Control panel</H4>
<P><SMALL>The following inputs use JavaScript to change this page's stylesheet.</SMALL></P>
<INPUT ONCLICK="document.getElementById('styling').setAttribute('href', ''); sheet='';" TYPE="button" VALUE="notheme" />
<INPUT ONCLICK="sheet = window.setStyling('/givemerights.css');" TYPE="button" VALUE="givemerights" />
<INPUT ONCLICK="sheet = window.setStyling('/windowsclassic.css');" TYPE="button" VALUE="windowsclassic" />
<INPUT ONCLICK="sheet = window.setStyling('/css/givemerights.css');" TYPE="button" VALUE="givemerights" />
<INPUT ONCLICK="sheet = window.setStyling('/css/windowsclassic.css');" TYPE="button" VALUE="windowsclassic" />
<P><SMALL>
Thise input lets you summon an external stylesheet.
For instance, you can enter in "/windowsclassic.css" to manually use that theme rather than pushing a button.
For instance, you can enter in "/css/windowsclassic.css" to manually use that theme rather than pushing a button. (<I>update as of 2021-04-05: CSS has been moved to /css/</I>).
Any stylesheet from any on-line source will work.
<B>Be careful because there's surely someone out there that will inject a virus into a stylesheet and get some poor sap to plug that in here.</B>
</SMALL></P>

View File

@ -114,7 +114,9 @@ window.initializequotes = function() {
[ "I am a Bangor!",
"Erwin Kreuz" ],
[ "It's not enough that I should succeed - others should fail.",
"Unknown" ]
"Unknown" ],
[ "Secundus says hello to his Prima, wherever she is. I ask, my mistress, that you love me.", // House and Office of Volusius Iuvencus
"Unknown ]
];
window.quote = 0;
}

View File

@ -1,13 +0,0 @@
<!DOCTYPE html>
<HTML lang="en">
<HEAD>
<LINK rel="canonical" href="http://www.trinity.moe/rants/" />
<LINK rel="shortcut icon" type="image/x-icon" href="https://raw.githubusercontent.com/devenblake/homepage/main/favicon.ico" />
<META charset="US-ASCII" />
<META name="viewport" content="width=device-width, initial-scale=1" />
<TITLE>rants/</TITLE>
</HEAD>
<BODY>
<P>My website is <A href="/">here</A> and that is where you will find an index of my rantings.</P>
</BODY>
</HTML>

View File

@ -1,4 +1,4 @@
// Depends on cookies.js
/* Depends on cookies.js (non-free) */
/*
SHEETS.JS
@ -14,16 +14,6 @@
You can use setStyling("") to reset it.
*/
/*
www.trinity.moe
has the following (useful) stylesheets:
/calebmode.css - dark mode (#FFF on #000)
/givemerights.css - 2019 site theme
/windowsclassic.css - 2020 site theme;
based on "Windows Classic" Microsoft Windows theme
*/
window.setStyling = function(sheet) {
document.getElementById('styling').setAttribute('href', sheet);
return sheet;

View File

@ -4,7 +4,7 @@
<LINK rel="canonical" href="http://www.trinity.moe/shitlist" />
<LINK rel="shortcut icon" type="image/x-icon" href="https://raw.githubusercontent.com/devenblake/homepage/main/favicon.ico" />
<LINK HREF="" ID="styling" REL="stylesheet" />
<LINK REL="stylesheet" href="/lists.css">
<LINK REL="stylesheet" href="/css/lists.css">
<META charset="UTF-8" />
<META name="viewport" content="width=device-width, initial-scale=1" />
<STYLE>